Henry Yu
c10f7fc403
[ONOS-6760][ONOS-6761] RESTCONF changes and fixes
...
* bug fixes for POST and PUT
* added support for PATCH
* added support for RPC
Change-Id: Ib03dd1e92d4e7231851340063eb23e4b3ad582cf
2017-07-31 18:51:31 +00:00
Viswanath KSP
d25440b45d
[onos-6337] Adding first set of changes ( server side with client side stub )
...
[onos-6337] Patchset-2 with changes addressing review comments
[onos-6337] Patchset-3 with changes addressing review comments
Change-Id: I37011ad7b8d2fbb01082736b1d787331aaad0a42
2017-07-31 17:23:22 +00:00
Carmelo Cascone
4e59382ecd
Workaround to p4c/BMv2 parser bug
...
Start parser is configured to switch on ingress_port value 0xff, while
BMv2 uses byte-aligned ingress_port value (9 bit -> 16 bits), i.e.
0x00ff.
Change-Id: I8c9ab36675e7048ca3182582a97a90cc366d2743
2017-07-31 12:53:51 +00:00
Carmelo Cascone
c8d3486a1a
Added copyright header to demo P4 programs
...
Change-Id: Ifa5c80db6cffae56e3666a60f3c0f40d456f443c
2017-07-31 12:36:55 +00:00
Carmelo Cascone
3304fd54e5
Removed unused metadata from demo P4 programs
...
Change-Id: Ie50dd70ee6172fe6c77f8ce6e6be136db282219e
2017-07-31 12:27:39 +00:00
Carmelo Cascone
aaf6d9821e
Build BMv2 with debugger in onos-setup-p4-dev
...
Tested on Ubuntu 14.04, not 16.04.
Also, bumped version of PI and BMv2.
Change-Id: I00319f12f077608a66c7e07fd59a7f1ca835c391
2017-07-31 09:08:03 +00:00
Frank Wang
0e80508bde
Draft implementation BMv2 FlowRuleProgrammable
...
Change-Id: I927564010204a2c59604a30e593fd1a8568f04db
2017-07-31 05:26:44 +00:00
Sean Condon
57c4ff7c09
Bug fix for unit test with yang-tools-2.2b2
...
Change-Id: If52e3e3460665a1bfc4b26ec641b07592077735b
2017-07-29 17:38:56 +01:00
Jordan Halterman
29718e6904
[ONOS-6841] Sustained primitive throughput tests
...
Change-Id: Ibdd05bd868a5d481b8967e57797d6106026ba1ac
2017-07-28 16:54:48 -07:00
Jordan Halterman
9fa43031d9
[ONOS-6859] Cache Raft sessions for transactions
...
Change-Id: I96ec3dc4dee237483a56694e3f1c3075bb1161f7
2017-07-28 21:58:08 +00:00
Yuta HIGUCHI
4b1709fcbf
Bumping ONOS to point to ONOS YANG Tools 2.2.0-b2
...
Change-Id: I5b13811572a68dd0e61b3085b0be425a14d830d6
2017-07-28 21:15:10 +00:00
Ray Milkey
dfc4ca6d55
build all of yang tools for buck plugin build
...
Change-Id: I9d82adb933ded9b7da5afb01a3a382b74e4625f9
2017-07-28 13:54:17 -07:00
Ray Milkey
09e8b8d776
Fix error when checking for dry run flag
...
Change-Id: Ic8367197da753ff2316204ec76423481d447ec82
2017-07-28 20:31:47 +00:00
Thomas Vachuska
8953445c86
Bumping ONOS to point to ONOS YANG Tools 2.2.0-b2
...
Change-Id: I23b2ed67ed0fb5ef4ec0731a37dcd8b058102298
2017-07-28 19:49:29 +00:00
Andrea Campanella
288b273cf3
Implement support for packetIn through p4Runtime
...
Change-Id: I92cc1a2bd7edde8916aad61c20d7411f93368612
2017-07-28 19:21:08 +02:00
Carmelo Cascone
b2e3dbaef0
Pi classes to support P4Runtime action profiles
...
+ modified default.p4 with ECMP capabilities (via action profiles)
+ sketched translation logic of ONOS groups (in Bmv2GroupProgrammable)
+ replaced existing instances of default.json/p4info with symlinks to
p4src build directory (to avoid inconsistencies)
Change-Id: If82f0b8ce296c9b616415d99864d216b77645a87
2017-07-28 16:01:31 +00:00
Carmelo Cascone
f3a1a3897e
Removed pipeconf dependency from PiPipelineInterpreter
...
If needed, an interpreter implementation should know which pipeconf it
supports. Instead, mapping of treatments now depends on a table ID,
since table in P4 can potentially support different actions with similar
semantics.
Change-Id: Iffbc84457f08e5dba84a8e949931849006f82535
2017-07-28 15:49:56 +00:00
Ray Milkey
482562353a
Add a meta-script to build a new buck release
...
Change-Id: I68673f9afc52fdf033ba2c71ebacfd071404693a
2017-07-27 18:49:11 +00:00
mskala
32000d35b7
[ONOS-6806] Add getAvailableDeviceCount method to DeviceService
...
Change-Id: Ieda7e66c1a1d25aa92b55542ecfe59652dac3bc5
2017-07-27 18:48:14 +00:00
Sbhat35
d975bdf090
dist store testing
...
Change-Id: Id22992cbd26bdc7ad60cd50b0c2132d4f28c6592
2017-07-27 18:47:00 +00:00
Sbhat35
7c90e4ba8e
DefaultAsyncAtomicValue testing
...
Change-Id: Ie9ee38ca21e54d6a2ae3c6a6dc16cb37e03740b0
2017-07-27 18:46:31 +00:00
Jonathan Hart
3e86419fdf
Configure ONOS in docker image to log to stdout
...
Change-Id: Ia7f900663298750de7c1d67b9bf0f181b5f6f452
2017-07-27 17:32:33 +00:00
Carmelo Cascone
c8e8498893
P4runtime test utility app
...
Used for quick testing of P4Runtime with real devices.
To be removed before release.
Change-Id: Ieca17493e4b012ef748709014b62ebe54ba76dce
2017-07-27 14:09:00 +00:00
Carmelo Cascone
2f2d976c7e
P4Runtime provider base app
...
Change-Id: I94ad06772387dd5d15350ee6aeb8cb145ef11ac4
2017-07-27 08:46:25 +00:00
wu
0ef5b6fc60
A wrong word for gRPC
...
Change-Id: I989f6f503660b075d0d3b7ecbaa84c16d02e4532
2017-07-27 05:01:42 +00:00
Yuta HIGUCHI
ab9fa37985
Initial empty value should not force overwrite existing.
...
Change-Id: Icb474a4b7d56b78238672f3cbb2cded435df98f5
2017-07-27 01:11:40 +00:00
Saritha
781984f3a5
Null check added to avoid null pointer exception for lasttimestamp comparison
...
Change-Id: Iab21c100c9bc4697b50a2c7894e254c3648e165b
2017-07-27 01:10:05 +00:00
Jonathan Hart
15a71d8d6a
ONOS docker image is going on a diet.
...
Refactored the Dockerfile to use a multi-stage build which allows us to
separate build environment from runtime environment.
Also added labels.
Change-Id: I9bdf63d9224711c5b5ed342bbe233a26d51283a9
2017-07-26 23:39:14 +00:00
Charles Chan
b1e9924f26
Fix bugs in host subsystem
...
- Configured flag is not updated when a learnt host is overridden by a configured host
- NetworkConfigHostProvider should override IP addresses provided by HostLocationProvider
- Adding some unit tests
Change-Id: Id764af6acfeb5fa8f02b5a17aadf686bd6ac97fb
2017-07-26 15:01:33 -07:00
Carmelo Cascone
333568d1e1
Fixed failing buck project
...
Buck project was failing because of a non-existing rule in modules.def.
Change-Id: Ia9e9f1f0a51c9bf0d63bcf19df67a141453e3854
2017-07-26 20:09:41 +00:00
Jordan Halterman
5ecdb34b70
[ONOS-6832] Implement missing methods in CachingAsyncConsistentMap
...
Change-Id: Idd4cd6f8e4550c1fca1a887909d5d49103fa5c6d
2017-07-26 17:07:09 +00:00
wu
2883c7651b
ONOS-6562 Implement P4RuntimePacketProvider
...
Change-Id: Ib6398544b514db9c8ab6ba1d991930d624a6b438
2017-07-26 15:45:47 +00:00
Sean Condon
7347de9323
Bug fix for NETCONF controller - disconnect
...
Change-Id: I1f01f5b7e21e2e9c14358b4686077896ae4975e8
2017-07-26 12:15:52 +00:00
Simon Hunt
cfef6f9963
ONOS-6833: UiPreferencesService: augment to include getPreferences(username, prefsKey)
...
Change-Id: I583ba8cb4b49d32cc94313143ee9b152d87b1086
2017-07-25 16:58:53 -07:00
Yuta HIGUCHI
023b161f01
Bumping ONOS to depend on YANG Tools 2.2.0-b1 version.
...
Change-Id: Ib8a9c197eb9aa1104bba6499eb258fac592cf611
2017-07-25 16:27:04 -07:00
Gamze Abaka
8d03f1896f
ONOS controls the packet count field from flow statistics to check flow liveness, but some switches (such as Pica8) do not support packet count field of the flow statistics. Pica8 switch sends "-1" as the packet count. Even though packets match flow rules, when the idle-timeout time is up, ONOS deletes these rules based on the packet count field anyways. Therefore, just checking the packet count field is not enough for this situation. Pica8 sends byte count properly. If ONOS checks both packet and byte count, this problem will be solved. I would like to add byte count check to FlowRuleManager - checkRuleLiveness method.
...
Change-Id: I4ade01bcd17c4b0a7a59750bd1834b87e78f9972
2017-07-25 23:13:54 +00:00
Jordan Halterman
66d3e641ef
[ONOS-6843] Add atomic value primitive test commands
...
Change-Id: I998313ffd893a70ca55ab242098d867ab10979d7
2017-07-25 22:21:24 +00:00
Jordan Halterman
dbfff0663e
[WIP] Block ConfigFileBasedClusterMetadataProvider until valid configuration is found.
...
Change-Id: I32022b1280ccec84268c97b72a6a148a407b4c20
2017-07-25 19:54:59 +00:00
Charles Chan
4e55301dbc
Show host provider in CLI
...
Change-Id: I2094197c3a684c67daa3801ac31680406abcb4c8
2017-07-25 19:04:11 +00:00
Charles Chan
c760f38c2f
DHCP relay bug fixes
...
- DHCP relay doesn't set destination MAC properly when forwarding the reply
- SR doesn't properly turn off the arp handler in dhcp relay
Change-Id: I7f7660bfe70fee14abcfdd3abb750e4a88b6ec42
2017-07-25 19:04:03 +00:00
Sithara Punnassery
9d464a34a4
ONOS-6835
...
Dynamic Config: RPC dispatcher implementation
Change-Id: I46827b0037af42cab42ec8095a25a7ec44e2a8ca
2017-07-25 18:35:37 +00:00
zhiyong ke
5395e64a15
ONOS-6824 Unit tests for Translation of all criterion types in PiFlowRuleTranslationService
...
Change-Id: Id775d2d002c298930e9e754739917040f2dd7ccc
2017-07-25 06:20:48 +00:00
Yuta HIGUCHI
b465ed6731
Add missing dependencies
...
Change-Id: Iab59f7eff74ce9ef083a921c941ed36ff8599f03
2017-07-21 15:05:50 -07:00
Yuta HIGUCHI
35c5ed518e
Add missing dependencies
...
Change-Id: I66aa9fca8ef7cff13e1192c56f5145015c3e3ef0
2017-07-21 13:38:29 -07:00
Yuta HIGUCHI
35b83be42c
Align maven artifact name to buck artifact
...
Change-Id: I6cb49541614161d2f6a7d5fbaf2f68877af3379e
2017-07-21 19:50:40 +00:00
Brian O'Connor
73f8bd7884
Adapting p4c and bmv2 setup script for 14.04 and 16.04
...
At the time of commit on a 4 core VM running on VirtualBox on
a 2016 MacBook Pro takes the following amount of time:
Ubuntu 16.04 - 19m13.451s
Ubuntu 14.04 - 21m58.665s
Change-Id: I06960d8f27883dab518363678c8bcbf3fee94382
2017-07-21 18:44:32 +00:00
Simon Hunt
105bc4eb6a
UI: Augment table builder service to allow consumers to inject additional
...
parameters into the payload of the table data requests to the server.
Change-Id: I29b2345541b7d096368a3a0494510b60a3eeb528
2017-07-21 11:13:42 -07:00
Carmelo Cascone
dda88d02c8
Declaring P4Runtime and gRPC protocol subsystems as apps
...
The advantage is that we don't have to carry over the driver all
required gRPC and P4Runtime bundles. Each module is now responsible for
bringing in its own runtime dependencies.
Change-Id: Icb1365e68d486f12fb1e25dc5d3937f42e3e1c62
2017-07-21 15:44:45 +00:00
Yi Tseng
2e5d99e50c
[CORD-1018] CLI for DHCP relay
...
Change-Id: Ie2f817a46f4c85847624b6cf447e7359755c5a34
2017-07-21 03:06:06 +00:00
Yi Tseng
7a38f9a35b
[CORD-1434][CORD-1112] DHCP relay manager
...
Change-Id: I2e4d8fc8e85ed66b33ac517660ee72a1c0183597
2017-07-21 03:06:06 +00:00