3232 Commits

Author SHA1 Message Date
Ray Milkey
f17191b4ce Bazel build for southbound netconf app
Change-Id: Ida1adfb07c79bfdcd1a02806ff2920816f1e7019
2018-07-16 16:45:23 +00:00
Ray Milkey
6d94e9f260 Reformat some BUILD files according to the buildifier guidelines
Change-Id: I8aa599f89fc14296275193475e50eb8f27b4bf0a
2018-07-15 18:04:26 -07:00
Thomas Vachuska
57a9af9df8 Making sure RSDOCS are available for YANG REST API.
Change-Id: I2d4a1e76a4ee387c13837b1f8eb035b1c276a573
2018-07-13 18:51:01 +00:00
Charles Chan
e440498f32 IP change may be involved in HOST_MOVED event. Should resolve the route again.
Change-Id: I18035f4d9fc690633df71395d7c72a81af050ff4
2018-07-13 18:32:17 +00:00
Thomas Vachuska
9c0464387f Adding Bazel BUILD files for yang subsystem.
Change-Id: I957cc95d56eb2ddf6906fa4a396ce2556b9b5e86
2018-07-12 17:46:35 +00:00
Ray Milkey
a4f8d9d914 Fix some test dependencies and pretty format all BUILD files
Change-Id: I300e236c15491f8724f1e493e2414388217f2174
2018-07-11 10:41:31 -07:00
Thomas Vachuska
970b964b41 Adding more Bazel BUILD files
- added defs for CLI and REST

Change-Id: I6ce2c5aac5fcdd265561d6aa2abba66f5556ff3a
2018-07-11 15:01:42 +00:00
Thomas Vachuska
7d649b581e Adding Bazel BUILD files for faultmanagement and evpn-service app.
Change-Id: Ib8061911ed07d9573d1fe74cbcd606f8b6df5293
2018-07-10 23:17:24 +00:00
Thomas Vachuska
8e022a99a7 Fixing Bazel build & packaging.
Change-Id: I96ba75c395b9a780e4c8233a088f8d8a8abeb874
2018-07-10 23:17:15 +00:00
Ray Milkey
f6911bde9b Fix Sonar warnings about NPEs after an exception
Change-Id: Ic6ddfe4cef6a1e1df32b896a2dfdbc6053d0a4eb
2018-07-10 16:13:03 +00:00
Jian Li
f7934d5359 Fix: guarantee to referring to the correct openstack node state
Change-Id: I73265ba744ea5ec8e5e0e3e8f36735ae1d1ac952
2018-07-10 20:30:27 +09:00
Jian Li
789fadba2b Support to inject custom controller info through openstacknode
Change-Id: I3a545477b99f515b9e35ee0e7d5aaa03d979eaf7
2018-07-10 15:34:13 +09:00
Jian Li
88ae51ed29 Avoid parallelizing node initialization due to state contention
Change-Id: Iadf3bf85d614c1b6b111f107e3d3d55a1f55a53c
2018-07-10 02:12:15 +00:00
Ray Milkey
a7160da1d9 Fix SNAPSHOT version in test/proxy app
Change-Id: I8b66ef4ed9f89341558513fa773f7223d30bfc53
2018-07-10 00:57:27 +00:00
Daniel Park
cd91a07cd0 Added src port and dst ip address option to forced acl functionality.
Change-Id: I9a4fcea70461c7770b6937538d7732d97daa2cd6
2018-07-10 00:08:56 +00:00
Jordan Halterman
95feda08f5 Add test application for node/mastership based remote Java proxies
Change-Id: I90a7d03016d331f07c7f05ba355514c46a5e4b4f
2018-07-09 21:15:24 +00:00
Ray Milkey
333e30b170 Fix maven build
Change-Id: I0d6a233260c9e59cc573077965f456815fe8f6b7
2018-07-09 20:58:58 +00:00
Ray Milkey
dd50eacfec Fix problems detected by ErrorProne
Change-Id: I2fc9e3c45bb537fc12aa672fd3ae27423a538b2a
2018-07-09 20:10:34 +00:00
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