11722 Commits

Author SHA1 Message Date
Yi Tseng
91cf2d4416 [CORD-1107] Fix NPE when remove buckets
Change-Id: I4ed64bac50353c0e19c4213bbb2cacc1086e80bc
2017-04-11 19:45:58 +00:00
Steven Burrows
67713d4a2c Topo2: Cleaned the European map
- Updated the demo

Change-Id: Ifd70f9ebb796390fbea5b0ce42a1729e550965e0
2017-04-11 19:35:16 +00:00
Steven Burrows
f17f0ab2ab ONOS-5831 - retro fit icon and link scale from topo2
Change-Id: Iaa94929d324ba51e5a3056eb3a59d29be6d3d775
2017-04-11 11:59:48 -07:00
Ray Milkey
708d1ef3d4 Copy the onos and STC log files off of the proxy when a run completes
Change-Id: Id499ebdbd4ea4c07809aa4465aa2fad0b987b1b0
2017-04-11 10:17:01 -07:00
Palash Kala
a2625f7a2c [ONOS-6269] No need to check for null
Change-Id: Id7e0674a1197c6a192f4a938200d51fd66f0c31c
2017-04-11 15:34:16 +00:00
wu
76a3d675ed ONOS-6265 fixes the issue: intentManager.unregisterCompiler error
Change-Id: Ic75d1537a7330967a07fd602f9522e447b869ce9
2017-04-11 15:22:31 +00:00
nitinanand
ca2f369cb2 [ONOS-6246] Fix for Misplaced null check for YdtBuilder object
Change-Id: I27a226be91fc237e20636897338841684317d47b
2017-04-11 08:45:09 +00:00
Jonathan Hart
f702168f1e Enhance the RouteEvent to notify listeners of alternative viable routes.
Traditionally the route event only notified listeners of the best selected
route for a given prefix, but some listeners are interested in all resolved
routes for the prefix.

CORD-905

Change-Id: Ia3e1e3a8e3e825ba894e6835e0860c3ed698d29b
2017-04-11 00:03:29 +00:00
Jian Li
f97f2bc12a Further simplify if-else statement for OF default extensions
Change-Id: I0fd3f81ef8aa355f3bf6ff79b798ec5b8449a0f4
2017-04-10 23:50:14 +00:00
Jian Li
124ecf0b19 Add codec decode tests for mapping address, action and instruction
Change-Id: Iec336e86cb0dae60b6015e8b4853d3d266ac6111
2017-04-10 23:28:23 +00:00
Jian Li
f92a2eae49 Provides null checks for mapping action and address codecs
Change-Id: I210c3516fd335fe6c551e7ed933ad304516bd8dd
2017-04-10 23:13:17 +00:00
Jian Li
fa69be6fc2 Refactor to remove duplicated code snippet on mapping cxt class
Change-Id: Ic4e2aba07b7b69c63a838abc85addcec10d6eb30
2017-04-10 22:58:51 +00:00
Jian Li
2d3a1d1482 [ONOS-6170] Implement codec for MappingValue with unit test
Change-Id: Id343fb26245756283b23e315d85499fc08853929
2017-04-10 22:45:46 +00:00
Jian Li
5a577a3244 [ONOS-6170] Implement codec for MappingKey with unit test
Change-Id: Ib40651fbf320cbf3eb94d47ec2dc94636fb0449d
2017-04-10 22:35:19 +00:00
Jian Li
73c74446c1 [ONOS-6169] Implement codec for LispTeAddress with unit test
Change-Id: I47edf0d20e2a8abdfd38bde19afa51b5abfb7240
2017-04-10 22:22:31 +00:00
Jian Li
5baef5144a [ONOS-6169] Implement codec for segment and SrcDst ext addresses
Change-Id: Id928a3bb2dd914f8411cc6353bb41c5f05fb54a4
2017-04-10 22:21:25 +00:00
Harold Huang
b7d6b8e795 ONOS-6164 Fix the add and remove command to the virtual network store
We fix the add and remove command to be more semantic:
1. When remove a virtual network element, all the other elements
that depend on it should also be removed.
2. Virtual link and virtual host should not be created until the virtual
ports they depend on are created.
3. Some bugs about NullPointerException are fixed.

Change-Id: I0346dfb54dbb9a388cd4a39637ee57601fecff02
2017-04-10 22:09:50 +00:00
Jian Li
f9ec0832bc [ONOS-6169] Implement codec for nat and nonce ext addresses
Change-Id: I81c8fecfcae9057e511ac49654cde0acdb3f6640
2017-04-10 21:51:16 +00:00
Andrei Mihaescu
ac542ca5c6 ONOS-5937
- created enum for target config and replaced all appropiate usages
 - added old methods and had them pointing to new implementation
 - added deprecated annotation to old methods

Change-Id: I2562588d32c7ab944eb44a13e9b25a342196edf2
2017-04-10 21:18:58 +00:00
Jian Li
d144501b21 [ONOS-6169] Implement codec for multicast and list ext addresses
Change-Id: I784a893552fdc4eb798f4ccac38512a5d081b5ea
2017-04-10 20:58:25 +00:00
Jian Li
ab05321f01 [ONOS-6169] Implement codec for LispGcAddress with unit test
Change-Id: I50f2bf62629c0dd4c020eacb67a8232fb4ef182f
2017-04-10 20:18:21 +00:00
Jian Li
944e3a9b7b [ONOS-6169] Implement codec for LispAsAddress with unit test
Change-Id: I4abda8bb48298a1af9a1bc314d5d090a2eca82d3
2017-04-10 20:15:43 +00:00
Steven Burrows
091a1b1f61 Topo2 - Prevent the map to reload when naviggating regions with the same mapId
Change-Id: Ib9c896aa28b95982f106fdb617418c39f98f54fb
2017-04-10 20:12:19 +00:00
Steven Burrows
8909c5c299 Topo2 - Fixed port label scale
Change-Id: I61e8c0b3661e313980cf815c54350c594c32736f
2017-04-10 20:11:16 +00:00
Steven Burrows
a85a5d31b1 Topo2: position peer regions with lat and long
Change-Id: I4634ad3fe567602e0d2087e24403c1e946b0f572
2017-04-10 11:09:29 -07:00
Simon Hunt
c4ca710a76 Europe Region Demo data script written.
- Added LayoutLocation class
- Added RegionAddPeerLocCommand class
Note: still need to plumb through peer locations to UI JSON.

Change-Id: Ic3513a3880f50b440fe318dce6896b66d7e79704
2017-04-10 10:34:57 -07:00
nitinanand
c33db44460 [ONOS-6247] Fix for Misplaced null check for YdtContext object
Change-Id: I052957b7db9c893d4db4691ebd933c23028b5dab
2017-04-10 10:45:00 +05:30
Simon Hunt
b3567288d6 WIP:: Initial stab at regions demo for Europe
- Added UK network
- Added France network
Also:
- Augmented "null-simulation start custom" to reset ID seeds.

Change-Id: I643ed7864da76a1077ca089c1c990e9d322bb527
2017-04-07 23:27:39 -07:00
Jian Li
f2acb661e1 [ONOS-6169] Implement codec for LispAppDataAddress with unit test
Change-Id: I1209bbb5f3e96010ef6df87fe8d0906564942ad4
2017-04-08 03:32:12 +00:00
Jian Li
cae2cf0dae Add unit test for LispExtensionMappingAddressInterpreter
Change-Id: I3b1612c1637f0ee2ed3f00941ca5c3d6ed255050
2017-04-08 03:31:38 +00:00
Jian Li
e5aa5dfc0f Improve MappingEntryBuilder to convert LCAF to extension address
Change-Id: I88e5c7d898f3fe2e55406a7af30979e95b90e654
2017-04-08 03:27:15 +00:00
Jian Li
fc90a08989 [ONOS-6235] Implement an interpreter of LispExtensionMappingAddress
Change-Id: I39f66d5e3bcee50b361a6ba33f3fa09e2599f7df
2017-04-08 03:13:56 +00:00
Saurav Das
36b3793fc7 NPE fix for groups command without the use of 'any'
Change-Id: I59dc93ac4e4bef98141b8abe377ae2fbfe5d7d1a
2017-04-08 02:14:45 +00:00
Simon Hunt
b3656d4ac8 WIP:: Initial stab at regions demo for Europe.
Change-Id: I80402aea2b3d57bf104db0c0fba68bebda0cae9e
2017-04-07 18:16:05 -07:00
Saurav Das
961beb2c1b Bug fix: Do not create groups as a side effect when revoking routes
Also changing pendingGroups to a cache that will automatically purge failed groups
Improving log messagesin several places

Change-Id: I6843a66d58e623259c7fd20ffe64d56a46d963f0
2017-04-07 21:39:59 +00:00
Ray Milkey
36cbc71fa0 Fix problem with cluter not forming
Change-Id: Iea3ad0b5dd3367ed88663cf5ade3f81aacc2bfce
2017-04-07 13:33:59 -07:00
Jian Li
cb42c31219 [ONOS-6170] Implement codec for MappingTreatment with unit test
Change-Id: Icd0e17863dac54f677f8e72d1007ea0d4dfbccaf
2017-04-07 10:03:35 +09:00
Jian Li
ee65a236a5 [ONOS-6170] Implement codec for MappingAction primitives
Change-Id: I8f92b05c814158285e97616bdaa8f24de7064833
2017-04-07 00:49:25 +00:00
Yuta HIGUCHI
0184a7b478 Cosmetic fixes and logging around Juniper driver
Change-Id: Ief0dba3a1c4cc567cf9fe6fa16b4aeae9488c51e
2017-04-06 16:16:37 +00:00
Jian Li
af72941251 Bugfix: Only reads the replyRecord when map data present bit is set
Change-Id: Id4bd28c1bd4f8ad7a6e92f8812cff0f1e66a2048
2017-04-06 15:58:06 +00:00
Jon Hall
b471f2c7b6 Add Unit tests for ClusterEvent
- override ClusterEvent's hashCode, equals, and toString

Change-Id: I85e3ff7d60b2c76559d71a4093cff73eee064cf9
2017-04-06 13:56:36 +00:00
Andrea Campanella
5953a4f3db Removing useless dependecy on driver utils from default drivers
Change-Id: I649230d630bd0bcb40f4267934ea7e5ae2efdd70
2017-04-06 12:54:07 +02:00
Ray Milkey
e4afdb5f17 Fix Sonar errors: public data members in classes
Change-Id: I7aca37d5553436167ac6e7b2206392f88bddc118
2017-04-06 00:13:24 +00:00
Jon Hall
3557db5bd7 Add unit tests for ClusterMetadataEvent
- add toString, equals, and hashCode to ClusterMetadataEvent

Change-Id: Idb1031c01cc6333be76851bb1b2ee196a8732d76
2017-04-06 00:11:48 +00:00
Jon Hall
672a3ed843 Add unit tests for MastershipEvent
- Add hashCode and equals for MastershipEvent

Change-Id: I7897b9efc139db014ebee0b00025b257ca00a4b6
2017-04-06 00:10:28 +00:00
Jon Hall
d543513b78 Add unit tests for ClusterMetadata
- fix a typo
Change-Id: I13f615857b82ef5bf69b437ffb8b9f82d3d7c48e
2017-04-06 00:06:21 +00:00
Jon Hall
a3fcf6754a Fix Sonar issue:
Strings literals should be placed on the left side when checking for
equality

Change-Id: I4537e08936731ace55aeecb3ad941269ec1eb191
2017-04-05 22:54:30 +00:00
Ray Milkey
634eb17ac5 refactor flow entry mocks to use adapter
Change-Id: I948468aba42a1da70162dc77ab86e6ff79fb3ace
2017-04-05 22:44:02 +00:00
Ray Milkey
278e75b90d Add unit tests for FlowEntryWithLoad class
Change-Id: I9663ef207555a6b7371fbf59f2bbe2c0b169c83d
2017-04-05 22:43:15 +00:00
Jon Hall
f074af907b Add unit tests for PartitionEvent
- add hashCode and equals for PartitionEvent

Change-Id: I9f0b2ed7dbadae56ed2045360f56f9be24399183
2017-04-05 22:42:42 +00:00