3746 Commits

Author SHA1 Message Date
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
jaegonkim
fbf6143335 [ONOS-7732] Automating switch workflow: workflow cli command completeter
Change-Id: I226fd243279159af58e2803ff70113168a6b9cf4
2019-03-16 09:38:43 +09:00
Charles Chan
0f7897f917 Route is not populated correctly when next hop moves
When the next hop moves from [1A,1B] to [1A],
there should be a route on 1B pointing to 1A via spines

Change-Id: I817414fb4e9edf29357fdb5e55675537ff5f0cac
(cherry picked from commit 53eae194a8b66287855483359309597e8df2efa9)
2019-03-15 22:28:09 +00:00
Jian Li
2dc37594f2 Fix: lower down the security group logging level
Change-Id: Iffeab7e632b62fb74fa29f85d04b6383bf8712ca
2019-03-14 10:03:26 +00:00
Jian Li
19c51749a1 Fix: do not uninstall group table rules if flag is unset
Change-Id: I1e04cedd97271fdfdc8b0533421c7a5b1e109bc3
2019-03-13 16:10:42 +09:00
Harshada Chaundkar
14b62381e7 Added REST API call to fetch routes count and routes count by type for Route Service
Change-Id: Ia9a5b269df17805d2f9aab2ca926bf7656168aee
2019-03-12 19:12:29 +00:00
Charles Chan
64a1c8e76e Offload packet processing to another thread
Also update unit tests

Change-Id: Ib94c796083e2d75912f77667d3cfe4ed794694e9
2019-03-12 08:15:22 +00:00
Charles Chan
b87495c31c Disable DHCP relay counters
The use of strong consistent counter creates a huge performance overhead.
The semaphore also prevent parallel processing of DHCP packets.
Moving forward, we should replace this with local counter, CRDT, or other less expensive counters.

Change-Id: I4023ae2b6867a3f3ab3675717ce6e9c396580b19
2019-03-12 08:15:22 +00:00
Harshada Chaundkar
754701c956 Fixed potential NPE in packet-stats for ipv4 tcp packets
Change-Id: I6b649a689a4e9d7ed1519e7d8f6dd2a4846758ee
2019-03-11 23:22:41 +00:00
jaegonkim
fe1bc06622 [ONOS-7732] Automating switch workflow: workplace cli command completeter
Change-Id: Ibcabd8e861b2506d21929ab0c0625eab132dc3d1
2019-03-09 20:47:18 +09:00
Ruchi Sahota
e4934e16fd Moving the device event handling to separate thread
Change-Id: Idfffee1ef46fda4248839854fa2d87f3db6008bb
2019-03-07 04:14:26 +00:00
Jian Li
e8a89b89c3 Fix: resolve the critical issues reported by sonarcube
Change-Id: I4b9d6bd1d4b947609575a82eea445aa6922a6fe4
2019-03-07 00:58:05 +09:00
nitinanand
f3f94c6468 multi event support for a worklet in workflow app
Change-Id: I3178110da75b26f96f8889acc0dd2c715fc567ec
2019-03-06 14:51:44 +00:00
Jian Li
5e8a22a987 Enforce to use unique group Id for k8s svc IP, port, proto combination
Change-Id: I6cad3b9ffac86ee0818e6317443c80f5791a9e74
2019-03-06 05:28:38 +00:00
Jian Li
1cf5188e7f [ONOS-7942] Implement k8s ingress service and watcher with unit tests
Change-Id: I8089336916e882bd31b40facf73c46c5ee541718
2019-03-06 05:28:38 +00:00
Jian Li
ca34c673c6 Support to print out k8s pod, service and endpoints in JSON format
Change-Id: I7f66fae528165e0570e416f6bdb75715cf0d38ab
2019-03-06 05:28:38 +00:00
Jian Li
004526d223 Implement k8s service IP to pod IP translation using Nicira load ext
Change-Id: I147a9adb68b2bf597c1876a64bf77dedca9698b3
2019-03-06 05:28:38 +00:00
Jian Li
2cc2b631f3 Initial implementation of svc IP to pod IP translation using DNAT
Change-Id: I6e2f6936636e929ad60150cc67aa6316eef32911
2019-03-06 05:28:38 +00:00