3214 Commits

Author SHA1 Message Date
Jian Li
5b66ce0da3 Fix: resolve failure of E-W communication at ARP broadcast mode
Change-Id: I96b03a75f11a6904acd677fdf223f69e8a12b901
2018-07-10 00:22:17 +09:00
Jian Li
311a9c968a Do not add match field, if the src/dst IP Prefix is 0.0.0.0/0
Change-Id: I22345c24111178d07f19a05946b30013ed81ab49
2018-07-09 08:45:52 +00:00
psneha
3adf365a87 REST API support added for t3-troubleshoot-simple
Change-Id: I1f31b48fb866e0a61e66b61ad2e6a30b5eddb04c
2018-07-09 08:01:13 +00:00
Daniel Park
0e1c7b5ff4 Added forced acl command in OpenstackNetworking app
Change-Id: Id460a9d54b6dc4b624093411e50d73943c46868f
2018-07-09 03:06:17 +00:00
Jian Li
7f024de8b2 Add REST interface for configuring ARP mode
Change-Id: Ib2b6edb133879054d235dbd4762ba95e1e03793c
2018-07-09 03:06:07 +00:00
Jian Li
a494768d94 Support to publish port TX and RX stats in openstacktelemetry
Change-Id: I368fb676e4817cd01e5782a3b37170e2b9a5c6bd
2018-07-09 02:26:45 +00:00
Jian Li
7f70bb700d Add CLI for reconfiguring ARP mode on openstacknetworking app
Change-Id: I4211681ccf6eaea9c76ec27adc45e0f1cc71d0d7
2018-07-09 02:26:29 +00:00
Jian Li
e6110b7b34 Fix: resolve the service not found exception caused by openstack4j
Change-Id: I33a5c7e6b91758a61662a77a1b347fd0239219eb
2018-07-08 09:20:19 +00:00
Ray Milkey
41aa815610 Sonar suggestion for a break in a switch
Change-Id: I4a8a0c49d6ffcf6ca0e6cced46af0e6dab2dbae3
2018-07-06 13:15:46 -07:00
Charles Chan
eded688740 Set R-bit in neighbor advertisement if replying as a router
Change-Id: Ic51140cf7ab88064df0bc87fb4d1fbc976ce7bc7
2018-07-06 11:19:50 -07:00
hiroki
b8ddc3fd4a Add device driver for ODTN Phase1.0
Change-Id: Ie1b224f3bc5896d0b4d547b5f90257fc589347da
2018-07-06 17:43:19 +00:00
Ray Milkey
0354b45579 Fix guaranteed NPE in CLI error report
Change-Id: I1340656d09abedf6fb474be62d356eaa04a07ffc
2018-07-06 17:37:22 +00:00
Daniel Park
6041f10e89 Fixes default arp mode to proxy in OpenstackNetworking app.
Change-Id: I785f409c57985ff28389251b075df3cca027be0b
2018-07-06 10:07:27 +00:00
Carmelo Cascone
158b8c4f6b More improvements and bugfixes in P4Runtime subsystem
Most notably, we fix a bug in which some nodes were not able to find
pipeconf-specific behaviors for a given device. The problem is not
completelly solved but it's mitigated.

There's a race condition caused by the fact that the GDP updates the cfg
with the merged driver name before advertising the device to the core.
Some nodes might receive the cfg update after the device has been
advertised. We mitigate the problem by performing the pipeline deploy
(slow operation) after the cfg update, giving more time for nodes
to catch up. Perhaps we should listen for cfg update events before
advertising the device to the core?

Also:
- NPE when getting P4Runtime client
- Detect if a base driver is already merged in pipeconf manager
- Longer timeouts in P4Runtime driver and protocol (for slow networks)
- Configurable timeout in P4Runtime driver and GDP
- NPE when adding/removing device agent listeners in P4Rtunime handshaker
- Various exceptions due to race conditions in GDP when disconnecting
devices (by serializing disconnect tasks per device)
- NPE when cancelling polling tasks in GDP
- Refactored PipeconfService to distinguish between driver merge,
pipeconf map update, and cfg update (now performed in the GDP)
- Fixed PipeconfManagerTest, not testing driver behaviours
- Use Guava striped locks when possible (more memory-efficient than maps,
and with strict atomicity guarantees w.r.t. to caches).

Change-Id: I30f3887541ba0fd44439a86885e9821ac565b64c
2018-07-06 08:13:44 +00:00
Jian Li
b1ca1a25a6 Init and purge rules/group table during vtap app start and stop
Change-Id: I1382cf5ba1f74ce2c4251a41a9cc956ddb0712f1
2018-07-06 14:31:42 +09:00
Jian Li
26ef130ed7 Add group table, flow rules by listening to openstack node events
Change-Id: Ifbb1ae9c812e9bc24260e960c17b5430dcf59a11
2018-07-06 11:28:14 +09:00
Jian Li
c253810489 [ONOS-7731] Add a set of CLI for openstack vtap app
Change-Id: I9e269cd549ba8c5e508c163b69f9e93a1b1074cf
2018-07-06 11:12:36 +09:00
Jian Li
614cb0921f [ONOS-7731] Add initial implementation of openstack vtap manager
Change-Id: I350953f461d8f396b5b8cdbc0cca70fcc9878264
2018-07-05 16:10:44 +00:00
Jian Li
d18f2b0a94 [ONOS-7731] Add unit tests for openstack vtap and vtapCriterion
Change-Id: I9ff749a5e179aef9fb86a96f651400d929a9f3c7
2018-07-05 16:09:41 +00:00
Jian Li
19f2526594 [ONOS-7731] Add implementation of openstack vtap store and criterion
Change-Id: I7f41652f127038af9d3f79b34d427d28ce162d50
2018-07-05 16:09:24 +00:00
Ray Milkey
8f61139394 Fix maven build problems with inband telemetry app
Change-Id: Ic1716a0a80e0d639c44864f2fb0e0bdce22fdf76
2018-07-05 16:03:37 +00:00
Jian Li
38e4d94786 [ONOS-7731] Add a set of interfaces for openstack vTap app
Change-Id: Ic44030a996bb6c3d5883acfdb3ac310a290682f6
2018-07-05 15:50:46 +00:00
Jian Li
e2e03a52a6 Fix: do not add fake gateway ARP rule for FLAT typed network
Change-Id: I2463ba0e523846acabdc2ed924432c65ded9964b
2018-07-05 15:12:53 +00:00
Jian Li
753280ebbf Support collecting outbound vFlow stats for FLAT typed network
Change-Id: I359e2a39867126d76e4b7daae84aecf85e0f8c11
2018-07-04 17:21:24 +00:00
Daniel Park
819f4e8063 Removes OVSDB devices on ONOS UI in case OpenstackNetworkingUI service is activated.
Change-Id: I73df8e322007be9c2fc2d84fbb1d18ce38ba6637
2018-07-04 05:10:57 +00:00
Jian Li
960ae51aa2 Fix: pipeline to stat flat outbound table rather than flat table
Change-Id: Id35964445c7dbcea640e9da160fffce2a7289442
2018-07-03 15:37:16 +00:00
Jonghwan Hyun
722275f68a [ONOS-7675] Initial implementation of IntProgrammable
Change-Id: I277ea7a56bb3a38debbb2959823df394a4103541
2018-07-03 15:14:01 +00:00
Jian Li
97482c1bd5 Make the openstacknode COMPLETED when OF device is reconnected
Change-Id: Ic5b0b3f1540ca784ca15fb42daffa40068f1e002
2018-07-03 05:28:55 +00:00
Jian Li
87ded8248d Augment SONA pipeline to support both vTap and vFlow stats features
Change-Id: If4adaf672f3b975bbe150b20b380a04183a837d0
2018-07-03 01:46:23 +00:00
Jian Li
5a38ab6667 Fix openstack telemetry, networking, vtap app maven build
Change-Id: If86f0439bd0a4330dc19a3a67c83db836925701f
2018-07-03 01:15:02 +00:00
Ray Milkey
dbd3821cf0 Checkstyle rule to prevent throwing the generic RuntimeException
This is a frequent cause of sonar breakage.

Change-Id: I54e0044447633a61bab560b020b57ed0a6875ebe
2018-07-02 18:03:00 +00:00
Ray Milkey
bcc53d3268 Sonar fixes
- Missing break statement
- integer arithmetic for a long expression

Change-Id: If3d8ef43590cd81073029643057e21ff51b6a1e9
2018-07-02 10:22:57 -07:00
Jian Li
4f368e8634 [ONOS-7731] Add openstack vtap skeleton code
Change-Id: Ib3d3c757cb90a8525af3932619c3877f7f4c1b4f
2018-07-02 07:08:13 +00:00
Daniel Park
3a14059b1b Fixes to avoid NPE of OpenstackSecurityGroupHandler in case OpenstackNetworking app is modified
Change-Id: I52e8e944732e0099743f9bf3d1d097fe40da1d9f
2018-07-02 05:30:29 +00:00
Jian Li
998ec7b483 Allow to collect vStats from unmanaged host
Change-Id: I940767c5e833b4c2fc799d5023bb9e81c6bbb032
2018-07-02 02:26:47 +00:00
Jordan Halterman
0a2bd45ad2 Add atomic mastership/term/backups method to MastershipService
Change-Id: I18c3aeaa5101c9ce08ff38fffd70eaec903a0f3e
2018-06-29 19:45:22 +00:00
Ray Milkey
0250a0811e Fix dependencies of some bazel tests
Change-Id: If864b37c08db73620c07a17174130024571a8d38
2018-06-28 15:33:02 +00:00
Daniel Park
d9d4c291c5 Supports classless static route option in SONA
Change-Id: I8e45176c13218c0aa81d934832f8c9d2dc5839ca
2018-06-28 09:32:35 +00:00
Daniel Park
613ac375d3 Fixes setFakeGatewayArpRule called with in case of openstack node event.
Change-Id: I5b3177b8d41342e1adef4b700f02fc8555039fb1
2018-06-28 09:01:07 +00:00
Jian Li
85573f4dec Fix: resolve NPE caused by non-existence of IP protocol
Change-Id: I8f2233637986089b9347da03221db2852faa7fe7
2018-06-28 05:14:47 +00:00
Ray Milkey
5c9e2838e4 Build drivers with bazel
Change-Id: I033ac32b3ef8119fc65e046c821ff17f12709261
2018-06-27 23:34:20 +00:00
Ray Milkey
d1c34da3b6 Refactor PCE and PCEP test adapters to remove redundant classes
Change-Id: I407c3dcd42588c03ba7f5c438d0bf61409d64d69
2018-06-27 22:04:04 +00:00
Ray Milkey
18fb081fa6 Build providers using bazel
Change-Id: I7d4ebcfb1d593e10aa93f0a4f7111680ed66a7e7
2018-06-27 22:03:35 +00:00
Charles Chan
eb42a73346 Fix NPE introduced by gerrit 18883
Change-Id: I1ba7956d114114a6084c252621c42cea55dfe731
2018-06-27 11:58:02 -07:00
rsahot036
2c2c6cc3e0 Adding get flow by table REST api, fixing exceptions in dhcp
Change-Id: Idc07992a91c79f594c998b2d78b980036077c0ad
2018-06-27 17:56:22 +00:00
Daniel Park
04f9ffe7bd Adds host routes to OpenstackNetworkListCommanAdds.
Change-Id: Ida0d3c697ddda9b0948e0d040155589a1923471a
2018-06-27 11:03:03 +00:00
Jian Li
de4ef40fe4 Fix: Add timestamp information for openstack telemetry
Change-Id: I4ea0df183b0e11fc67a3d03c835e2863770c7795
2018-06-27 10:59:32 +00:00
Daniel Park
6ed9cf0658 Fixes OpenStackRoutingHandler deal with OPENSTACK_NODE_UPDATED event
Change-Id: I7af1c5a6a646313e506750dece8ad1480eff064b
2018-06-27 10:26:38 +00:00
Jian Li
e7b1bd2276 Fix: correctly generate kafka message from openstack telemetry
Change-Id: Id608ef0a3dd7f18e35fc59473ee6b7ef8077ac39
2018-06-27 15:15:28 +09:00
Andrea Campanella
4b931a988e [OS] Make ACL react to HOST UPDATED event
Change-Id: I3fece2b5ed9b4feeb9b9ee6c6c3c4893677dcd22
2018-06-26 16:03:28 +00:00