3733 Commits

Author SHA1 Message Date
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
Jian Li
3d1111e2a8 Add a kubernetes port and pod mapper with sync/purge rules CLIs
Change-Id: I89ed29e4357b84345f95fddf81ab7156715d7c82
2019-03-06 05:28:38 +00:00
Jian Li
b1cd0b028f Add CLIs for k8s endpoins, pods and services, sync & purge states
Change-Id: I931ad76077639e80045f106c0014f113c76354d6
2019-03-06 05:28:38 +00:00
Jian Li
853877327a Implement kubernetes pod, service and endpoints watcher
Change-Id: I0c364f370de9599b124f0e85f093099e8b4d97f3
2019-03-06 05:28:38 +00:00
Jian Li
747e136c95 [ONOS-7935] Add k8s pod store and manager with unit tests
Change-Id: If4104a2800556bf9777c159eb3b5bd175bc141ae
2019-03-06 05:28:38 +00:00
Jian Li
3e1b887797 [ONOS-7934] Add k8s endpoints store and manager with unit tests
Change-Id: I4e67f5fd7d9859339b92f1816f52a092063dc2e4
2019-03-06 05:28:38 +00:00
Jian Li
965de27fa0 [ONOS-7933] Add k8s service store and manager with unit tests
Change-Id: I18ffd491dc4cf979a350acd50d3c7b1599fc229a
2019-03-06 05:28:38 +00:00
Jian Li
d893a66459 Add a set of interfaces for k8s pod, service, endpoint
Change-Id: Ie67c5d1a0678bdd651dac24363ab3feab5098919
2019-03-06 05:28:38 +00:00
Jian Li
1cee988ec6 Manage k8s API config life cycle, bootstrap k8s node using k8s client
Change-Id: I9926c6d4903da514b66a3bcbe05358c605c9cc1a
2019-03-06 05:28:38 +00:00
Jian Li
3defa842eb Import k8s client deps, support inject k8s API server config
Change-Id: Iaf246a06462b8a878e93ef3f98da399c3600b129
2019-03-06 05:28:38 +00:00
Jian Li
ec0f7483c3 Support to check the existence of k8s network through REST API
Change-Id: I2da687f1abcc54a33b44b3e48fd2dd5487bcbe29
2019-03-06 05:28:38 +00:00
Jian Li
9b1991696b [ONOS-7926] Implement IPAM service to allocate IP for Kubernetes POD
Change-Id: I32fd1fffb41ec728d0be092ac5a8f555179e7a9e
2019-03-06 05:28:38 +00:00
Jian Li
d89db46e2f Add Kubernetes API server invocation proxy handler
Change-Id: Iadcbe4c2969e36e1f7bf10caff4926c5662d0df6
2019-03-06 05:28:38 +00:00
Jian Li
4aa1764d35 Implement east-west communication for k8s network
Change-Id: Ibac91b7a856e35a26cf0e0f23d6d01f65197625d
2019-03-06 05:28:38 +00:00