14201 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
Sean Condon
a3ce00ba00 GUI2 Add links to GUI2 when created dynamically
Change-Id: Ibfa7ae0fa9b02fd6e1b40b9f201ff002c19591a9
2019-04-10 11:44:01 +01:00
Ray Milkey
8c57015a00 Be more forgiving about the number of expected flows
Change-Id: I4504126cdc60a75249af7c7dfec27e765c213e59
2019-04-09 21:41:18 +00:00
Boyuan Yan
36231d2a9e modify param parsing in createNetCfg.sh and checkNetInit.sh to enable flexible configuration for ODTN network
Change-Id: I8e3902870a1bd952c39051dfd299981af31c834e
2019-04-09 21:08:40 +00:00
Jordan Halterman
df4b08a297 Modify OpenFlow provider to avoid stats collection when switch is under high load
* Track load via sliding window
* Pause stats collection when load is significantly above average
* Resume stats collection when load returns to normal
* Pause stats collection when reply is in-flight

Change-Id: I3159b4f806a6405ca6be494534497348716cc921
2019-04-09 21:16:53 +02:00
Carmelo Cascone
1c8a4ede3d Give priority to instructions over meta when generating next_vlan rule
Change-Id: I3cfbf0bef788b8a6cffaf9e58f740a83d4b18020
2019-04-09 06:48:36 +00:00
Boyuan Yan
0cf3ef7441 fix bug about ODTN test in stc running environment
Change-Id: Iba6334ecbadecd42a663c9e85ce7490bf7135cc9
2019-04-09 06:29:35 +00:00
Carmelo Cascone
b8a2505d80 More robust deferring for P4Runtime MasterArbitrationUpdate messages
The P4RuntimeClient implements a deferring mechanism to avoid becoming
master when it shouldn't, i.e. when the requested election ID is bigger
than the master one on the device, but it was not asked to be master.
We rely on a distributed primitive to make sure all nodes are aware of
the latest master election ID on the device. In case we lose primitive
update events, this patch adds a maximum timeout after which the
MasterArbitrationUpdate message is always sent.

Change-Id: I98669dac3fc79173b9e98f41e11a4d08901c6cb1
2019-04-08 23:01:01 +00:00
Carmelo Cascone
c32976e7d5 Various fixes in preparation of Stratum demo at ONS 2019
- Do not read counters with table entries for Barefoot drivers
- If driver behavior setup fails, log which operation we are aborting
- Remove unnecessary setup steps in Stratum-related drivers
- Always get clients by their key in gRPC-based drivers
- Log when P4Runtime group operation fails because of missing group in
store
- Fix polling of table entry counters for P4Runtime driver

Change-Id: Ic9bf19b76d8cb5a191aec24852af4410fea8b998
2019-04-08 23:00:54 +00:00
Ray Milkey
b48533e3f7 Fix for ONOS-7960 - single to multi intent json codec can't decode egress point array
Change-Id: I55463701ff080be7ed857f72e29878c98c55dc13
2019-04-08 22:06:53 +00:00
Jordan Halterman
a08cc9e911 Enable G1GC by default in onos-service
Change-Id: I572007d7567c3b98855ce1310f0117d0dac40041
2019-04-08 21:34:09 +00: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
Sean Condon
9de21357a2 GUI2 Command to Unpin or Freeze selected or all nodes
Change-Id: I4f0494a3fadc04dd09afbd096ea1f0d4f73d5c4f
2019-04-08 08:06:34 +00:00
Andrea Campanella
e288e5b508 Fixing port discovery in REST provider
Change-Id: If6ecabc0c1d10cb855d702a2002a0b507bd63202
2019-04-08 07:19:28 +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
Sean Condon
d88f366afc GUI2 Topo Allow selection of multiple nodes at once
Change-Id: I0bb226d4697e3df49da0a049d440a70aed172263
2019-04-03 17:16:24 +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
Ray Milkey
7fd9ae2208 Synchronize access to static executors
Change-Id: Iad743cfd22b7017b432f8fd6bdb3e13096a31da5
2019-04-02 17:05:33 +00:00
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