2711 Commits

Author SHA1 Message Date
Kalhee Kim
495c9b2fa9 [CORD-2318] Allow v6 alternative dhcp server for default and indirect dhcp server
Change-Id: Ief4027a7528db7b4e3058fce369b3e1ddc214e92
2018-01-19 13:20:13 -08:00
Kalhee Kim
ea4b6c2649 [CORD-2226] Dhcp6 Relay uses to store dhcp record for LeaseQuery
Change-Id: Ib3baadb38e3f5f6ebe6efc884660fe0c77cfe689
2018-01-19 13:12:04 -08:00
Saurav Das
45f4815be0 Take down edge ports on a leaf switch when all uplinks are gone
- Bug fix for case when all uplinks are gone, but dual-homed host continues to send packets to switch;
  We now administratively take down the host port to force the host to use the other leaf in the pair.
- Restructured SR manager by creating a LinkHandler
- fixed/added some log messages

Change-Id: I3722cd364dc8798b16891519bec165627e92bd87
2018-01-19 18:30:10 +00:00
Ray Milkey
fe0e085ed2 SONAR suggestions - boolean expressions that are known to be 'true' or 'false'
Change-Id: I4e089cb606ecf43444b4d567ad63d622f37506ce
2018-01-19 08:59:46 -08:00
Ray Milkey
74e5913ec3 Sonar suggestions - fixes to potential null pointer dereferences
Change-Id: I4e350a9d72a9322971d5d4f831f1bdf167986b87
2018-01-18 19:01:54 +00:00
Andrea Campanella
37d1062be9 T3: Handling null or offline device
Change-Id: Ic93f2844263fea1874b8ff1d2c5f0bc835adcb64
(cherry picked from commit 63a0ac99fedb017a6450c4484620ac29b0462dee)
2018-01-18 17:30:21 +00:00
Andrea Campanella
2bc55dd335 Fix for T3 test paths
Change-Id: I1ab45904f360349abaa5489c9ca89a5d1a69c82e
(cherry picked from commit d5aa3416e53c2ffd1e11faad23d9b2567f2a21fd)
2018-01-18 17:15:36 +00:00
Andrea Campanella
01e886eb36 [CORD-2432][CORD-2431] Initial t3 implementation
Change-Id: I1ed421f82c234bb006ed2cefefea53d773f1efc9
2018-01-17 10:37:40 -08:00
Andreas Pantelopoulos
161ce33e40 Fixed VLAN used for l2 intf groups of pseudowires
Change-Id: Ic1af6dfc2b581fb3194f7778e6c7b69d6b85d8a4
2018-01-17 18:25:14 +00:00
Andreas Pantelopoulos
c41ceb9276 Minor update in PW configuration to handle updates better
Change-Id: I055592f8586b3b49539e87572d94f6af445003aa
2018-01-17 18:24:58 +00:00
Pier Luigi
63edd93b14 [CORD-2532] IllegalArgumentException in OFDPA pipeliner
Rationale: PW transit groups need to be filtered out
when retry hash and bucket correction happen (if mpls
ecmp is not supported)

Change-Id: I162ddb3d4d8760777b0cbd5bf250d6fcef8302df
2018-01-17 13:47:58 +01:00
Ray Milkey
9c9cde4d4d SONAR Suggestion - protected members in final classes are pointless
Change-Id: Ie34d86aecf181e73867a14864d75e0db8a8f48f3
2018-01-17 00:18:50 +00:00
Ray Milkey
57add21277 Sonar suggestion - null pointer check had the wrong boolean operator
Change-Id: I7db12414f4c04694067c69d7a949d10ae740efbd
2018-01-17 00:18:00 +00:00
Thomas Vachuska
4a76f37855 Fixed app category for live-compile YANG models.
Change-Id: I599f252253d54b0d2a871c5485da347419c6e0a0
2018-01-16 23:31:17 +00:00
Ray Milkey
d4439e67ea Sonar suggestion - don't lock on a potentially shared Object
Long values can be pooled and result in unwanted locking dependencies.
Created a specific unshared lock object.

Change-Id: Icd0035b5d27d564c9ac2f477eff9382b51d06edf
2018-01-16 21:10:19 +00:00
Charles Chan
09bf269562 Resume the use of ICMP type/code in OFDPA driver
Change-Id: Iecbeae69046deeec760cba5f12181ae84d86b1d0
2018-01-12 00:02:54 +00:00
Charles Chan
f237e1b964 Fix the path not found issue in pseudowire
- Use getPaths instead of getDisjointPaths
- Add more debug log that prints all paths obtained from topology service

Change-Id: Ic195633b99261baec39962f0e99bc7b7082755c4
2018-01-11 22:46:38 +00:00
Andreas Pantelopoulos
4a768c01f8 Deploy existing pseudowires when segment routing is activated
Change-Id: Id09deb8841a65ad6ee7840830e047123196fa26f
2018-01-11 19:08:20 +00:00
Saurav Das
bd071d8227 Bug fix in routing logic - should let routing process continue
if a particular route-path is ignored. Also added info logging for port-status
messages to clearly identify messages coming from the switch as opposed
to possibly fake updates generated by ONOS.

Change-Id: Ib03dfe0e2dcdcfb046d58657473fa4122ec15190
2018-01-10 17:38:52 +00:00
Charles Chan
132393a4a2 CORD-2470 Fix NPEs
Change-Id: Ic31725905d0410ed2abdd8b87991c8cc362457f8
2018-01-09 13:55:27 -08:00
ONOS Jenkins User
45d340c839 Starting snapshot 1.13.0-SNAPSHOT 2018-01-09 01:56:13 +00:00
ONOS Jenkins User
32ebb5add8 Tagging 1.13.0-b8 2018-01-09 01:54:28 +00:00
daniel park
6ed460a0c2 Fix to deal with exception cases in case of OpenstackNetworkEvent.
Change-Id: I3a1d3c5a6f8ac5822d6f0eb62d5164ecea3c51a3
2018-01-08 06:31:18 +00:00
Charles Chan
f7ce50997d Fix typo
Change-Id: I9587cf5f33be542a2bf147d686ad8a8b913a4991
2018-01-06 17:57:27 -08:00
Andreas Pantelopoulos
20474e05bd Pseudowire support for leaf-spine
- Added pw support for pseudowires containing leaf and spine switches as endpoints.
- Inject empty pw config if it is not found for the first time
- Minor refactoring such as more log messages and fixing missing javadoc

Change-Id: Ib57d39cfa36fcd48c01b5781c7445a3f1ffcfbda
2018-01-07 01:56:03 +00:00
Charles Chan
50443e8717 Ignore irrelevant events in SegmentRoutingManager and DhcpRelayManager
Change-Id: If2ec29d6eea07a187e42bd2fda32de17245a7520
2018-01-04 18:36:14 +00:00
Charles Chan
c550f2e335 Only remove TMAC flow when it is the last port within the same VLAN if TMAC doesn't support in_port matching
Change-Id: Iafb72153eddd126c5598960a46130c50ddfe3cbd
2017-12-20 11:26:11 -08:00
Saurav Das
41890dbf3c Adding a few checks in SR to ignore link events for links
that should not be allowed.

Change-Id: I3e4042e20de899f426f508d8307808c48325a18d
2017-12-20 18:38:40 +00:00
Charles Chan
479337514b Dual-homing probing improvements
(1) Active probing mechanism in the following two scenarios
    (1-1) Probe all ports on the pair device within the same vlan (excluding the pair port) when the 1st location of a host is learnt
    (1-2) Probe again when a device/port goes down and comes up again
    * Introduce HostLocationProvingService
        - DISCOVER mode: discover potential new locations
        - VERIFY mode: verify old locations
    * Can be enabled/disabled via component config
    * Improve HostHandlerTest to test the probing behavior

(2) Fix an issue that redirection flow doesn't get installed after device re-connects

(3) Temporarily fix a race condition in HostHandler by adding a little bit delay

Change-Id: I33d3fe94a6ca491a88b8e06f65bef11447ead0bf
2017-12-19 16:25:59 -08:00
Ray Milkey
780bb9bd26 Enable buck rabbit MQ app unit tests
Change-Id: I03aa0047c9543457d718f2f82bf316ba6f209e7f
2017-12-19 17:58:54 +00:00
Ray Milkey
b68bbbc5ac Sonar suggestion - use a secure random number generator
Change-Id: I28075845555bcbc384a49e07353b3192c413b8f7
2017-12-19 17:58:54 +00:00
Yi Tseng
68ef26bdd0
Remove unnecessary warning from DHCP6 relay handler
Change-Id: Id596dd86d405245100e37e5127728d79a57856fc
2017-12-18 17:10:00 -08:00
Ray Milkey
c4191edad7 Sonar suggestion - possible null pointer dereferences in equals() methods
Change-Id: I021c202df99098e5ecf05949954c4c9355d944db
2017-12-18 17:36:30 +00:00
Ray Milkey
85dab42e8b Sonar fix - bad equals method
- Sonar deteced that the equals() method was not detecting type mismatch
- Implemented hashCode(), equals(), and toString using guava

Change-Id: I8ffea83e70a9c214d943767c8c6e74e940255c43
2017-12-15 13:40:07 -08:00
Thomas Vachuska
0e11dcb66a Starting to include kafka-integration app as part of Buck build.
- refactored to follow the api & app structure
- added buck files
- builds and loads
- cleaned-up and fixed number of pom files to function as expected
      (meaning "mvn clean install" actually works)

Change-Id: Ib896269c4986f6ee5cd6bae7cf508f71b64f59f9
2017-12-15 01:03:21 +00:00
Saurav Das
b805f1af2b Bug fix for IgnoreDhcp rules after switch restart. Also fixed NPE in group handler,
and made recognizing ofdpa software more generic to handle premium versions on accton switches.

Change-Id: Ie1f40dd934c2a1adb75174c90c2d6f1b71f98d3a
2017-12-14 11:24:39 -08:00
Carmelo Cascone
b1936bd93f Bumped version of gRPC to 1.3.1
Change-Id: I7798476bd443a796e0e6a6e149ab8f66435ba4fa
2017-12-13 03:24:50 +00:00
Andrea Campanella
8bcd5863ff [ONOS-7311] and [ONOS-7197] Update ONOS to support most recent version of BMv2 and PI
Change-Id: Ie69cfe1946f3c9241dc7f59a64bd40005a063931
2017-12-12 14:03:36 -08:00
ONOS Jenkins User
61881df1ee Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 21:19:45 +00:00
ONOS Jenkins User
d22dccc27f Tagging 1.13.0-b7 2017-12-12 21:18:01 +00:00
ONOS Jenkins User
4bf9e3a520 Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 18:46:22 +00:00
ONOS Jenkins User
168ac92b8d Tagging 1.13.0-b6 2017-12-12 18:44:15 +00:00
ONOS Jenkins User
0e78e27f0c Starting snapshot 1.13.0-SNAPSHOT 2017-12-12 03:27:00 +00:00
ONOS Jenkins User
2a7d833cab Tagging 1.13.0-b5 2017-12-12 03:25:23 +00:00
Charles Chan
78ec505332 Prevent packets with link-local destination IP from being routed
Change-Id: Ifaf4bb35efcdd930195e341eba3e0444a1fbbfab
2017-12-11 15:08:02 -08:00
ONOS Jenkins User
c53a15f933 Starting snapshot 1.13.0-SNAPSHOT 2017-12-11 20:43:30 +00:00
ONOS Jenkins User
d06da9e33c Tagging 1.13.0-b3 2017-12-11 20:41:44 +00:00
ONOS Jenkins User
716484c58c Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 03:41:19 +00:00
ONOS Jenkins User
6a6ac1d5a0 Tagging 1.13.0-b1 2017-12-09 03:39:39 +00:00
ONOS Jenkins User
a57a814230 Starting snapshot 1.13.0-SNAPSHOT 2017-12-09 00:57:30 +00:00