14270 Commits

Author SHA1 Message Date
Sean Condon
19e8367af9 GUI2 Added intents to Traffic2 Monitor
Change-Id: I92744f214b96b6abcb09fac3afa9c497780065e5
2019-04-13 19:27:19 +01:00
jaegonkim
44628d6c29 [ONOS-7732] Automating switch workflow - checking workflow definitition
Change-Id: I66b3bcd43377869b82be5bb7a446152857344355
2019-04-12 22:34:01 +00:00
Charles Chan
8b488de794 Allowed apps to specify whether the existing component config value should be overridden
Change-Id: Ic0992adb49cbcce17e17a71af954fbeeafde97d3
2019-04-12 22:28:23 +00:00
ONOS Jenkins User
961dbde9bb Starting snapshot 2.1.0-SNAPSHOT 2019-04-12 21:52:16 +00:00
ONOS Jenkins User
2fca16ba88 Tagging 2.1.0-rc1 2.1.0-rc1 2019-04-12 21:52:06 +00:00
Sean Condon
64ea7d25e2 GUI2 Bug fixes to Topo view
Change-Id: Ib40279fec94ffecb1d6c771aa376ad1cded03c02
2019-04-12 20:54:54 +00:00
Carmelo Cascone
229471bcc1 Do not read default table entries in bmv2
Change-Id: I90d90ff8bc9d2b885330e1b7ec7303e3ababe465
2019-04-12 20:47:39 +00:00
Carmelo Cascone
97d36a284e Use specific kernel version in p4vm
There is a known issue with some kernel versions that affects PTF tests:
https://github.com/jafingerhut/p4-guide/tree/master/linux-veth-bug

Change-Id: I207cd7b6c2de72c1a9fd353c931584551889a0d3
2019-04-12 18:59:41 +00:00
pier
15743ea55b Fix duplicate ip issue
Change-Id: Id5c71266968e49cce84af58360473067d08bb4ae
2019-04-12 18:56:23 +00:00
Carmelo Cascone
a1ae427895 Bump P4 tools and scapy version used in p4vm
Change-Id: Ief0b6a49fed9cdb945a92bb7b5a1bdfd2a283636
2019-04-12 17:57:42 +00:00
Carmelo Cascone
5cc45bcb63 Publish P4Runtime-related protocol artifacts
Needed to build third-party apps using maven

Change-Id: I3893848320dcd2f17981aff4354612cfc2508a46
2019-04-12 17:56:14 +00:00
Jian Li
d30295e3a4 Fix: revise node init logic to handle all state other than COMPLETE
Change-Id: I6c74783b053551fe49fb6c667131da9f3dd16ba0
(cherry picked from commit 8097420224370d2fb4cc3ecbc9457054ba19a4e8)
2019-04-12 06:44:05 +00:00
Jordan Halterman
631e770789 Ensure SlidingWindowCounter is advanced in correct order prior to building the complete window
Change-Id: Ie58cb48cf4af5e29fdc48e02ec53e37b326b0340
(cherry picked from commit 322a624e60cc4367f0a041129d6721aee007a127)
2019-04-12 04:50:14 +00:00
Carmelo Cascone
c2be50a804 Allow sharing the same gRPC channel between clients
This change introduces a refactoring of the gRPC protocol subsystem that
allows the creation of a gRPC chanel independently of the client, while
allowing multiple clients to share the same channel (e.g. as in Stratum
where we use 3 clients).

Moreover, we refactor the P4RuntimeClient API to support multiple
P4Runtime-internal device ID using the same client. While before the
client was associated to one of such ID.

Finally, we provide an abstract implementation for gRPC-based driver
behaviors, reducing code duplication in P4Runtime, gNMI and gNOI drivers.

Change-Id: I1a46352bbbef1e0d24042f169ae8ba580202944f
2019-04-11 23:14:41 +00:00
Ray Milkey
8a06403af8 Fix typo - componenService -> componentService
Change-Id: Ibcabc473c00ea8081ab0fe6cce29cb0d83441a29
2019-04-11 22:41:33 +00:00
Ray Milkey
2b299d2232 Fix incorect string comparison
Change-Id: Idf7f90e37d1cf17af3552ebe23c05ddde64960b1
2019-04-11 14:19:06 -07:00
pier
4c2715efb3 Fix npe when host does not have valid ipv6 address
Change-Id: I411ec372eb16a1a2b5071a79b81af173de25bdbd
(cherry picked from commit 13b2cc62251e15b391f76507a2afc1cb470b6d37)
2019-04-11 20:35:39 +02:00
Jian Li
4a7ce67f41 Fix: register a set of Affinity classes into distributed store
1. Purge group rules when issue k8s purge rules command.
2. Remove k8s port when remove OVS port.
3. Re-install group rules during sync rules.
4. Install: 1) install group rule; 2) install flow rule
   Uninstall: 1) uninstall flow rule; 2) uninstall group rule
5. Add/remove group buckets when receiving POD update/remove
   events.
6. Lower down the endpoint update logging level

Change-Id: Ib50e359a9b2c0cd9cb1490c6172864ad118b2247
2019-04-11 22:39:37 +09:00
Daniel Park
0ba22e4f63 Fixes two things in OpenstackNode App. - Add whether ovsdb connection is alive in OpenstackNodeCheckCommand - Support REST API that queries the state of the specific openstack node
Change-Id: I96e7d8ff2ef2a0e03aa62454c0346a3dfa1597d1
2019-04-11 18:26:02 +09:00
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