14270 Commits

Author SHA1 Message Date
Ray Milkey
d1092d6583 properly reallocate thread pools after a restart
Change-Id: I08042acd75ebcb3ca16af189917c1fe6904f3afd
2019-04-02 09:12:00 -07: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
Ray Milkey
397caca173 Fix ONOS-7958 - problems that were causing failures when onos-core restarts
Change-Id: I186107a386827d66f017182a573377a6a7bb7b00
2019-04-02 00:07:14 +00:00
Boyuan Yan
1c27bc7f30 Changes to docker file and cluster creation, complete stc test on single instance, but not yet on multi-instances Alao, we add detailed checking for every step in ODTN testing.
Change-Id: Id074e2db89a8892ed263880cfa670c4861e011b9
2019-04-01 15:26:55 -07:00
Jordan Halterman
07093b024f Write to flow table bucket in calling thread to reduce latency
Change-Id: I0067aa6dba6c738d647585e8b063efa9e2fbe15c
2019-04-01 21:08:39 +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
pier
cd2a3ef178 Implements buckets editing for l2 hash groups
Change-Id: I7247d59fcf230ecea5746e530dd2fc6bfeec08e5
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
Charles Chan
367c1c1e89 Implement L2 load balancing group in OFDPA driver
Also fix confusing comments and variable names
Note: suppress line number checkstyle for Ofdpa2GroupHandler

Change-Id: I00e56b679da1247a7c0ffba838c9df329ab54f11
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
821618ffc9 Enhancing base bundle archetype to include component config property as an example.
Change-Id: Ia0dfeb989944029b67cdfe750d127e8a2bfa8dd4
2019-03-30 10:48:32 -07:00
Thomas Vachuska
11b66ed115 Bumping onos-maven-plugin to 2.2-SNAPSHOT.
Change-Id: I32dcc2ab8367989d36655fa9071aee3b0ff228d8
2019-03-30 10:40:58 -07:00
Thomas Vachuska
d6f88c6d6a Fixing Maven-based build to properly process the component configuration properties for ONOS 2.x
Change-Id: I29c063939073852862f3c0e2f47540afe66a34aa
2019-03-30 10:37:36 -07: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
Ray Milkey
69ca82acc5 Don't assume that there is a device id in the event message
Change-Id: Ibf77ea7c8fec1a7baff5fa6e0aca50bb7cb3425b
2019-03-28 10:06:15 -07: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
Ray Milkey
9713d154ef Build stratum as part of p4 scenario
Change-Id: Ia2dcb8a4577f402b9cf7aa9336b30349ee96de32
2019-03-28 02:47:02 +00:00
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
Ray Milkey
8358d769b0 Remove reference to deprecated FileType function
Change-Id: I7d67d5b2c5bfa003689bf9217c7fb9182e39cae5
2019-03-26 22:13:11 +00:00
oleksandr.yashchuk@plvision.eu
3dbcaafa0c Initial gNOI implementation added. Introduced system Time and Reboot RPC
Change-Id: I8accdcc6c1ff247408ce54490ceff3972fdf850f
2019-03-26 21:35:33 +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
Maciej Skala
ab87b9dc77 Remove GUI(2) features from BUILD as no longer exist
Change-Id: Idfbd62d5e593b7eed3c4c44161fbc0d162c72e05
2019-03-26 16:33:52 +00:00
Sean Condon
28884334ee GUI2 added in the layout topo overlay
Change-Id: I9960f95ae726a5af9950771ed67bcfc9d172e267
2019-03-26 14:36:47 +00:00
pier
5e3afe560d Fix NPE when pending operations are not present
(due to possible race condition)

2019-02-15 11:18:45,407 | WARN  | -event-barrier-1 | LocalCache                       | 94 | Exception thrown by removal listener
java.lang.NullPointerException
	at org.onosproject.net.flow.impl.FlowRuleManager$InternalStoreDelegate.notify(FlowRuleManager.java:639)
	at org.onosproject.net.flow.impl.FlowRuleManager$InternalStoreDelegate.notify(FlowRuleManager.java:591)
	at org.onosproject.store.AbstractStore.notifyDelegate(AbstractStore.java:58)
	at org.onosproject.store.flow.impl.ECFlowRuleStore.batchOperationComplete(ECFlowRuleStore.java:638)
	at org.onosproject.net.flow.impl.FlowRuleManager$InternalFlowRuleProviderService.batchOperationCompleted(FlowRuleManager.java:577)
	at org.onosproject.provider.of.flow.impl.OpenFlowRuleProvider.lambda$createBatchCache$0(OpenFlowRuleProvider.java:231)
	at com.google.common.cache.LocalCache.processPendingNotifications(LocalCache.java:1967)[94:com.google.guava:22.0.0]
	at com.google.common.cache.LocalCache$Segment.runUnlockedCleanup(LocalCache.java:3642)[94:com.google.guava:22.0.0]
	at com.google.common.cache.LocalCache$Segment.postWriteCleanup(LocalCache.java:3618)[94:com.google.guava:22.0.0]
	at com.google.common.cache.LocalCache$Segment.remove(LocalCache.java:3246)[94:com.google.guava:22.0.0]
	at com.google.common.cache.LocalCache.remove(LocalCache.java:4413)[94:com.google.guava:22.0.0]
	at com.google.common.cache.LocalCache$LocalManualCache.invalidate(LocalCache.java:5081)[94:com.google.guava:22.0.0]
	at org.onosproject.provider.of.flow.impl.OpenFlowRuleProvider$InternalFlowProvider.handleMessage(OpenFlowRuleProvider.java:466)[170:org.onosproject.onos-providers-openflow-flow:1.12.2.SNAPSHOT]
	at org.onosproject.openflow.controller.impl.OpenFlowControllerImpl$OFMessageHandler.run(OpenFlowControllerImpl.java:773)[167:org.onosproject.onos-protocols-openflow-ctl:1.12.2.SNAPSHOT]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_192]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_192]
	at java.lang.Thread.run(Thread.java:748)[:1.8.0_192]

Change-Id: I6eb64524c5e209c4a6d6a6f147d7ab0c86137246
2019-03-26 01:03:34 +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
Carmelo Cascone
a7e60c65c8 Various fixes for P4Runtime group handling
- Workaround for PI bug that ignores max_group_size
- Use max_group_size and not buckets size when translating groups

Change-Id: Id12a12311b20ca8fb4e785e1c5a4f0f4215d1bbf
2019-03-23 01:04:10 +00:00
Carmelo Cascone
70e816b05a Support compiling fabric.p4 with arbitrary table sizes
By using preprocessor macros. Also, change expected location of tofino
compiler outputs when building the pipeconf.

Change-Id: I98ea95b61d57e725c88e52a3bfd95618f3c407cb
2019-03-22 17:19:50 +00:00
Ray Milkey
397d8d4679 Fix Sonar complaints about synchronization
Change-Id: I1febbe24b9c96083c661a9b1e88b3e0a3bf03752
2019-03-22 09:05:02 -07:00
Carmelo Cascone
975a3430c7 Fix NPE when processing host events in UI
Change-Id: I2fb56911b38d36dafc12ee22c8e6ae250c7e6b35
2019-03-22 15:24:00 +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
Carmelo Cascone
4f73fac78a Use max_group_size 1 for INDIRECT groups
Change-Id: I8db03a88af06b373d615e05c4b01e47579df2398
2019-03-22 05:00:52 +00:00
Carmelo Cascone
a3635abf1d Parse action profile max group size from P4Info annotations
This is a temporary workaround to the inability of p4c to
correctly interpret P4Runtime-defined @max_group_size annotations.

Change-Id: If2799786c135b2eb5b6a3b4c6d6022350d37237e
2019-03-22 05:00:35 +00:00
Ray Milkey
9bf3b2a877 Allocate a new Timer if component is restarted
Change-Id: I8f7487d636a95613a2e6aa311987a908de21df16
2019-03-22 00:02:24 +00:00
Thomas Vachuska
5d80e4579e Eliminated references to deprecated ONOS_NIC environment variable.
Change-Id: I9b709920c1aa2e7c1c4cb1f28f920dd2820b86ba
2019-03-21 23:48:22 +00:00