3763 Commits

Author SHA1 Message Date
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
jaegonkim
13b25cbd95 [ONOS-7732] Automating switch workflow: data model schema checking bug fix
Change-Id: Ia724c1c660969ab9fcf6ae5c18e8e81abc45ccbe
2019-03-22 11:58:49 +00:00
Ray Milkey
bd508ede5c cfgdef tool modifications to catch variable names that don't match properties
- catch errors in the cfgdef tool and abort compilation if a mismatch
  is seen
- Fix mismatches in the code discovered by the tool

Change-Id: Icd9a15eb9312bba6c2208b0b2a684062fcdc19c3
2019-03-21 19:07:31 +00:00
jaegonkim
2d0bd6e66a [ONOS-7732] Automating switch workflow: workflow test cli command completeter
Change-Id: I26346c37c3e120b5c22cccc1aa1ca129b6608720
2019-03-20 22:25:17 +09:00
nitinanand
2a5c8fdb40 sample worklet with multiEvent usage
Change-Id: I03f4609714fc1df564cca87223890663788a2acc
2019-03-20 12:51:24 +00:00
mohamedrahilr
63a921cb33 workflow app fixes
Change-Id: Ia3b06b7947671e4e38ca37eb832e6a969ed1e6af
2019-03-20 08:19:47 +00:00
Jian Li
65cb23d676 Add openstack node initialization REST APIs
Change-Id: I82f3bcb4d16577a452fbbafbc70c352d1a495241
2019-03-20 02:17:44 +00:00
Andrea Campanella
9da8e72fae Removing OCH singal from intent created from TAPI.
This enables ONOS to compute lambda according to LambdaQuery

Change-Id: I360e2c008eadc5c597374e0d3d49e49b3770ff2e
2019-03-18 12:13:51 -07:00
Jian Li
e519982f27 Fix: do not publish vStats info to Prometheus if it is not activated
Change-Id: I843f1bdd7e737fe642034c54a67bdb528177728c
2019-03-16 17:42:41 +09:00