3771 Commits

Author SHA1 Message Date
Sean Condon
6eb2cb8712 GUI2 update Angular component versions to 2.1.0
Change-Id: I47d5ede8c5cfdf77e309b1883984a1220d8d9723
2019-04-17 14:18:28 +01:00
jaegonkim
44628d6c29 [ONOS-7732] Automating switch workflow - checking workflow definitition
Change-Id: I66b3bcd43377869b82be5bb7a446152857344355
2019-04-12 22:34:01 +00:00
Charles Chan
8b488de794 Allowed apps to specify whether the existing component config value should be overridden
Change-Id: Ic0992adb49cbcce17e17a71af954fbeeafde97d3
2019-04-12 22:28:23 +00:00
Jian Li
d30295e3a4 Fix: revise node init logic to handle all state other than COMPLETE
Change-Id: I6c74783b053551fe49fb6c667131da9f3dd16ba0
(cherry picked from commit 8097420224370d2fb4cc3ecbc9457054ba19a4e8)
2019-04-12 06:44:05 +00:00
Carmelo Cascone
c2be50a804 Allow sharing the same gRPC channel between clients
This change introduces a refactoring of the gRPC protocol subsystem that
allows the creation of a gRPC chanel independently of the client, while
allowing multiple clients to share the same channel (e.g. as in Stratum
where we use 3 clients).

Moreover, we refactor the P4RuntimeClient API to support multiple
P4Runtime-internal device ID using the same client. While before the
client was associated to one of such ID.

Finally, we provide an abstract implementation for gRPC-based driver
behaviors, reducing code duplication in P4Runtime, gNMI and gNOI drivers.

Change-Id: I1a46352bbbef1e0d24042f169ae8ba580202944f
2019-04-11 23:14:41 +00:00
pier
4c2715efb3 Fix npe when host does not have valid ipv6 address
Change-Id: I411ec372eb16a1a2b5071a79b81af173de25bdbd
(cherry picked from commit 13b2cc62251e15b391f76507a2afc1cb470b6d37)
2019-04-11 20:35:39 +02:00
Jian Li
4a7ce67f41 Fix: register a set of Affinity classes into distributed store
1. Purge group rules when issue k8s purge rules command.
2. Remove k8s port when remove OVS port.
3. Re-install group rules during sync rules.
4. Install: 1) install group rule; 2) install flow rule
   Uninstall: 1) uninstall flow rule; 2) uninstall group rule
5. Add/remove group buckets when receiving POD update/remove
   events.
6. Lower down the endpoint update logging level

Change-Id: Ib50e359a9b2c0cd9cb1490c6172864ad118b2247
2019-04-11 22:39:37 +09:00
Daniel Park
0ba22e4f63 Fixes two things in OpenstackNode App. - Add whether ovsdb connection is alive in OpenstackNodeCheckCommand - Support REST API that queries the state of the specific openstack node
Change-Id: I96e7d8ff2ef2a0e03aa62454c0346a3dfa1597d1
2019-04-11 18:26:02 +09:00
Ruchi Sahota
ef0761c211 Route reprogamming using group substitution during next hop movement
Change-Id: Idf8362dac522722ca67747e245bfd836e6ee6292
2019-04-10 14:53:49 -07:00
Charles Chan
73742fa55f Restore segment routing REST API
Change-Id: Ic013b6a49547a34f569cb1cc71d9937d17363c57
2019-04-08 13:54:53 -07:00
pier
ba2471aff7 Fix java doc
Change-Id: I7bab03fa968523a772e91f4cd3a098a6ec912e01
2019-04-08 15:45:21 +00:00
Jian Li
6d2bf645fc Fix: do not handle instance port on receiving router interface events
Change-Id: I820efc40a4190cbf5b5d1db3db56dd7c6e63f8e1
2019-04-08 23:37:33 +09:00
Jian Li
fdb8d87c90 Fix: process ICMP packets in controller
Change-Id: I03ccd687cc524fa442ad322c8d8c5ba202ffede4
2019-04-08 14:30:30 +00:00
Jian Li
dc5d5018ad Fix: Add inst port to store if host updated with no inst port found
1. Remove purge state CLI and REST API
2. Remove stateful SNAT rules when removing router and ext gateway

Change-Id: I133e9f280690d2da9f65e39cb83618db41b72502
2019-04-08 14:30:30 +00:00
Charles Chan
61eb99edda Only iterates configured subnets to determine if a packet is destined for the switch
We should not check subnets learnt from route service. It is not only expensive but also incorrect.
This patch should significantly reduce the CPU usage when controller needs to reply ping to the gateway IP.

Change-Id: Ic245f5f136cf547cb50cabff4927da00e7f03666
2019-04-07 15:33:19 -07:00
psneha
1c0d5f81cf Route Simplification programming
Change-Id: If3d8aaa3fe2dad5538b10ddc54b97f504d0f1a35
2019-04-06 13:52:44 +00:00
jaegonkim
50370b5664 [ONOS-7732] Automating switch workflow - workflow event map cli completer
Change-Id: I2fbabf4b42ab99fcf439e6b5864b5c1a53c1530f
2019-04-06 16:27:09 +09:00
pier
024f44c902 Remove listeners before shutting down the executors
Change-Id: I1496ec06a839bb893e35a2e6d322d9eed33f45f2
2019-04-03 18:46:50 +00:00
Jian Li
820ec7bf51 Fix: do not add Stateful SNAT downstream rule in stateless case
Change-Id: I0fe8e75179baa291d864b1f1b0a64b92e6235389
2019-04-03 17:47:26 +00:00
Jian Li
ec85729a46 Fix: refer to SNAT mode using getStatefulSnatFlag method
Change-Id: Ic889c3b096f847808cbe6347cce8dcd62d41151b
2019-04-03 17:47:18 +00:00
Jian Li
4f3f75aafc Fix: listen correct openstack event to add/remove ext GW ICMP rule
Change-Id: I1082c9b33d3684ae52251de5395eeef735d20f88
2019-04-03 17:46:33 +00:00
nitinanand
0a15a16c5a [ONOS-7952] RemoveBridgeOfDevice worklet implementation for ovs workflow
Change-Id: I4539a2fb7711ab868a8fcaf8476fcfc0667efa4b
2019-04-03 08:06:34 +00:00
Jian Li
a299519c2a Fix: provide the ICMP connectivity to external gateway
Change-Id: I893037715c93dd228fc23eb1c706abba96cd4786
2019-04-02 23:12:27 +00:00
Charles Chan
f7b1b4b363 Rename L2 load balancer to port load balancer
CLI commands are also renamed to plbs, plb-add and plb-remove

Change-Id: I4c26b390acc5a961594a1dca92a76bee2148c090
2019-04-02 13:05:32 -07:00
Sean Condon
95fb5749b6 GUI2 Changed loading screen display to be a component
Change-Id: Id1592b498e6827ec4cd3544dec92e46f00e8d378
2019-04-02 20:07:01 +01:00
Jian Li
4910c4b676 Fix: specify the correct ARP THA and TPA for ARP reply packet
Change-Id: I3a2a100b50d1ea5875984fc31339df9ad75b53a1
2019-04-02 01:16:38 +00:00
Jian Li
5d795f2d4b Fix: resolve the critical issues reported by sonarcube
Change-Id: If94b1a50ba2ac3e4d4e18b524400fda768b2b072
2019-04-01 23:07:40 +09:00
Jian Li
2525721ea4 Fix: do not install unnecessary rules for stateful SNAT case
Change-Id: I4493db87193982e5d02f77711bca96ba4f7daa69
2019-04-01 06:23:07 +00:00
Jian Li
5a26ab32a7 [ONOS-7951] Use Stateful SNAT to handle N-S traffic in openstack
Change-Id: Ife7284d2ebd3ade7ce968005a69dff98857a65f3
2019-04-01 14:32:45 +09:00
Jian Li
33b4db50fc Refactor OpenStack SNAT from RoutingHandler to RoutingSnatHandler
Change-Id: Id2d8fabebc5b1d8b9f52f089dc2dbc9bc8dbce97
2019-04-01 02:54:23 +00:00
Charles Chan
16631de5bc Address comments in gerrit 20328
Create a new class XconnecEndpoint to cover both physical port and load balancer
Also change the CLI load balancer identifier to "LB:"

Change-Id: I0b4cd6e474d8b21468d87fcadd9280fdf7d6aafa
2019-03-31 17:08:26 -07:00
Charles Chan
7e6d51747d Address comments in gerrit 20327
Change-Id: Icadd58a401d32362a826b5ac33bdffec15ca8169
2019-03-31 17:08:26 -07:00
pier
0023ca98b3 Fixes npe during l2 flood creation
Includes an initial implementation of fobj context handling

Change-Id: Ic6e17ba2dc8a6ac97b4b0fda91470355d2216ef3
2019-03-31 17:08:26 -07:00
pier
cc6ca77d9d Extends XConnectManager
- Listens for L2LbEvent
- Leverages a cache to wait l2lb nextid

Includes a small change in the L2LbService interface

Change-Id: Id545e2228dde013620b4b415d1d2619027ef15d2
2019-03-31 17:08:26 -07:00
pier
ddc59d9dac Extends L2LbManager
- reacts to device events
- updates/removes l2lb
- implements bookeeping of the l2lb
- extends L2LbEvent to proper notify other components

Change-Id: I944fe6415324d71c361bafc4146dd176493f2dc7
2019-03-31 17:08:26 -07:00
Charles Chan
5f48a74b63 Implement L2 load balancer support in XConnectManager
Change-Id: Ib310a1dde72db38abb60273ce66b5f72768bf4ca
2019-03-31 17:08:26 -07:00
Charles Chan
7f987c5304 Implement L2 load balancing service
Including event/listener, CLI support

Change-Id: I26f1da578a72f5b3ead413aa5155233fbf9ab2b6
2019-03-31 17:08:26 -07:00
Jian Li
68efab4bf5 Fix: correct typos in neutron L2/L3 REST API classes
Change-Id: I010db3c3b9c87aba77e015662b882261cba02b4c
2019-03-31 12:53:15 +00:00
Thomas Vachuska
c6e98c88f8 Added traffic (flow & port stats; not intents) to the ONLP demo overlay.
Change-Id: I2407c62598f4b621c33c8da927960935b88d13a4
2019-03-28 21:11:56 -07:00
Harshada Chaundkar
dcd1b14987 Packet throttle support
Change-Id: I6f2da5ed25f794561349013bfcbf9afa85d5e190
2019-03-28 18:36:17 +00:00
debmaiti
9553ed76ef Port Annotation bug fix
1. Handled the case when InternalNetworkConfigListener in DeviceManager recieves an event associated with PortAnotationConfig class.
2. Added CONFIG_REMOVED event type in InternalNetworkConfigListener in DeviceManager.
3. Changed comine function in PortAnnotationOperator to take care of removing old annotations from PortDescription which are not in current
PortAnnotationConfig.

Tested using 'annotate-ports' command and 'ports' command

Change-Id: Ie4d2b529c2f559a40a296d916193318e0ccc7b93
2019-03-28 16:44:21 +05:30
Daniel Park
d45f004e6a Fixes to check the status of physnet interfaces in OpenstNodeCheckCommand.
Change-Id: I9186ec97e4b75687a28fdac7a4c3286afba3b83d
2019-03-27 14:51:21 +09:00
Thomas Vachuska
ee79ad38bf Adding skeletal structure for the ONLP gNMI GUI demo.
Change-Id: I6796ebf200e20a51bdc098fcc3696b78d7c1132e
2019-03-26 23:07:14 +00:00
Andrea Campanella
566edf3b5d Only one node should be master of initializing the DCS store
Change-Id: I4862eb1401203d5ab65034bd0cccd3a4bd3f8de9
2019-03-26 17:33:42 +00:00
Jian Li
afe17e1fd0 Bumpup OpenStack4j dependencies from 3.1.0 to 3.2.0
Change-Id: I5919d0a05a4b8f1a0141b3949211b925fc05c06b
2019-03-26 00:34:03 +00:00
Carmelo Cascone
b08c7c413f Re-enable route-service REST APIs
Why they were disabled it's a mystery...

Change-Id: I245147e0cd0acd004bc97d34ecc1dd318290c2d4
2019-03-25 21:33:03 +00:00
Jian Li
293b04aacb Fix: segment TCP packet when the payload is larger than MTU size
Change-Id: I241fceac51e6511b394e16ab2aefdf69fa97eb8c
2019-03-26 02:12:34 +09:00
Jian Li
9f278e941c Fix: print out debug message for metadata response
Change-Id: I0922dc58a193bec3bc6bbd2719b055b65d8ebfe6
2019-03-24 14:23:16 +09:00
jaegonkim
a929a2ebc7 [ONOS-7732] Automating switch workflow: workflow store cli command completeter
Change-Id: Ieb2a4d60f4d567f4a7117b734691178c79ef1d26
2019-03-23 12:29:24 +09:00
Ray Milkey
5504bd2524 Implement static component properties - passed through without modification
Change-Id: I49a2c733648f53468a398be35d1fee4518bb2a8c
2019-03-23 01:21:05 +00:00