Saurav Das
c568c34e0c
Implemented CORD-1843 to avoid race condition when updating ECMPspgs.
...
In this commit:
- a new mechanism in DefaultRoutingHandler to update route-path maps in all instances,
for the entire topology, after every route event has been processesed.
- fixed a race condition in LinkHandler
- avoids retrying flows in the ofdpa3 driver as this issue has been fixed in the switch
- a new CLI command to check internal link state
Change-Id: I307d0a96cc46569294d15d042b3bcb1fde735f1b
2018-02-08 20:50:12 +00:00
Charles Chan
035ed1f756
CORD-2581 Push FPM routes to route store again when an instance rejoin the cluster
...
Also introduce a new CLI command 'fpm-push-routes'
- Allow user to manually push local FPM routes to route store again just in case
Change-Id: If8fff2e1e56cc4465a4b0979c576c060ef9ca94f
2018-02-08 20:50:12 +00:00
Andrea Campanella
58b3b52cc0
T3 Vlan handling when output to controller
...
Change-Id: I82f7f94ee99800bac57b68f79984f2b4a2f7b714
(cherry picked from commit e9b45cc494bea453de9536ae559cfab0c1509061)
2018-02-08 16:25:52 +00:00
Andrea Campanella
d5bb2ef1d4
[CORD-2635][CORD-2632] Handle Clear Deferred actions. Support for DHCP packets trace. Output optimization to handle also gateways
...
Change-Id: Ief37895b8b80ecb10274deac506c3d0c8c127e6d
(cherry picked from commit 603a50f706beda9c720c801b66c1a14a200945af)
2018-02-08 09:36:27 +00:00
daniel park
b18424c03d
[ONOS-7444] Optimize SONA gw doesn't use vrouter app and quagga anymore
...
Change-Id: I70fd7a9dbe219a9ea6081d0f19bf051a1bee090a
2018-02-08 01:43:38 +00:00
Charles Chan
08d91328e2
Bugfix in route handler in occasion of route update event
...
Change-Id: Ia0a0cc7d5522d41cad5f3d992c589c9f5cbad244
2018-02-08 00:37:48 +00:00
Charles Chan
5f7577ed16
Checking mastership when revoking a route
...
Also imrpove the log message
Change-Id: I835179ad1e2373cfb5d7e0af34ea66b12e2f3d8c
2018-02-08 00:37:48 +00:00
Charles Chan
0cc4450331
Introduce DistributedLock to guarantee that minority nodes won't try to remove
...
routes that originated from majority nodes
Change-Id: I138236b77773df808ca1478a59dd44fd88e711b4
2018-02-08 00:37:48 +00:00
Ray Milkey
2b4958a463
SONAR suggestion - don't use generic exceptions
...
Change-Id: I77c4325281e94e189b7f1212a932f7e912b56b51
2018-02-06 18:59:06 -08:00
Ray Milkey
074ba9b90f
SONAR suggestions - concurrent access to static fields
...
Change-Id: I368c17d988ce70365b090bb420f59d50ff4eff67
2018-02-07 01:02:41 +00:00
Ray Milkey
5c7d488269
SONAR suggestion - proper handling of InterruptedException
...
Change-Id: I67a93c064708c207d9ce83fac319682c2d17db60
2018-02-07 00:59:07 +00:00
Ray Milkey
ba547f9158
SONAR suggestion - log exceptions, don't print stack traces
...
Change-Id: I4814a0662912706df005972d44c48a7db39ecd50
2018-02-06 17:55:22 +00:00
Ray Milkey
961b19f66d
SONAR suggestions - eliminate lossy arithmetic
...
Change-Id: I5a02ea407225ee0c9df040b74a8c0dc2ee5d5cb3
2018-02-06 17:54:52 +00:00
Ray Milkey
ef31005fd2
SONAR suggestions - uneccesary instanceof operators
...
Change-Id: I11b23df5814c23e2a825f8844e6c13f2d99196d2
2018-02-06 17:54:30 +00:00
Andrea Campanella
7382c7f5a0
T3 output enhacements
...
Change-Id: Ibb046df647b928cf0b8a91e2c565734347625624
(cherry picked from commit ae42ed186382828678df5ac31a53a07cb886109a)
2018-02-06 11:04:40 +00:00
Ray Milkey
1567b53d94
SONAR suggestion - implement equals() whenever compareTo() is implmented
...
Change-Id: I1eee6f8fd76ac9d7555612a56f84ef16fef9f90d
2018-02-05 22:32:00 +00:00
Yuta HIGUCHI
110ba89dc7
ONOS-7420 workaround for DCS event consolidation bug
...
Change-Id: I5dda431407e6efdba0fe948bf84aa9b06a9e0f35
2018-02-05 19:15:29 +00:00
Andrea Campanella
e04aac9eb2
[CORD-2631] Handling dual links in T3
...
Change-Id: I1c1875902c3cc8744ecb9deb63a806d2c64c29ff
(cherry picked from commit e0686e729fbaf4ce236fbd409f323428a513c5b3)
2018-02-05 19:04:46 +00:00
Andrea Campanella
7c8e7915cb
[CORD-2582] Adding ARP support to T3
...
Change-Id: Ie027c47d58cbb473caf065dba75b46f316ac75e9
(cherry picked from commit 236b70250169db9f3231c5e6923fbcb191174d53)
2018-02-05 18:17:20 +00:00
Ray Milkey
d6a67c3909
SONAR suggestion - explicit break in switch statements
...
Change-Id: Ib648192fe84f37947936592c4635397706b14377
2018-02-05 17:52:53 +00:00
Ray Milkey
3717e604d5
SONAR suggestions - prevent truncation of arithmetic expressions
...
Change-Id: I4694c0c3183b991a4f0db793f584bc77a5fb7d60
2018-02-02 23:06:44 +00:00
Ray Milkey
34ef6a1ef6
SONAR suggestion - checking the same condition twice
...
Change-Id: Ia71206478c21cc92fbd7d37e7915af75727e047e
2018-02-02 21:18:57 +00:00
Jordan Halterman
18dac859d5
Add DistributedLock test commands and STC tests
...
Change-Id: If410a91418fe1749e738cdc12494859af1c74245
(cherry picked from commit 2c9b159066a564b3ee61802819d81ecadc2aef4a)
2018-02-01 19:03:28 +00:00
Ray Milkey
986a47aa7c
SONAR suggestion - generic exceptions
...
Replace uses of generic RuntimeException
with more appropriate unchecked exceptions
Change-Id: If283743c2cf7252b8d280bdb788708ebbe57da9d
2018-02-01 18:36:33 +00:00
Ray Milkey
10f35dcdec
SONAR suggestion - remove mutable public collections
...
Change-Id: If2980109c42399f566805a5b741cf7e10ab6544e
2018-02-01 18:35:44 +00:00
Yuta HIGUCHI
f1653a7c39
pom cleanup
...
+ minor fixes
Change-Id: Ie8a9c42cdcfcff131528f73ace5b9efdc08f05a1
2018-02-01 15:02:21 +00:00
Andrea Campanella
4ee4af18a7
T3 avoiding false flow rule match
...
Change-Id: I02da847efcab05b6df270f691898771846e05d49
(cherry picked from commit 804e4f89e371d77df058bff03515be81c7222ea8)
2018-01-31 13:21:15 +00:00
Andrea Campanella
88c59985b3
T3 - Fixing NPE for flow rules
...
Change-Id: I691236b016d41bf105a61219032d1898a01c7591
(cherry picked from commit 8b60903155f6c484644295cb0c2a6ae62bbb2666)
2018-01-30 15:38:03 +00:00
Sean Condon
e34b6a2edc
Adding Maven tests for apps/restconf/api
...
Change-Id: Ief1d9a41b2eb8d7d6478a94461244241dda4b9b4
2018-01-29 22:46:39 +00:00
Daniel Ginsburg
b1dec917cd
CORD-2637 Correctly use broadcast flag in DHCPv4 relay
...
Change-Id: I5da4da78c5e09707e5f3350be77a9039c00fb159
2018-01-29 21:53:01 +00:00
Yuta HIGUCHI
488a94c31e
more error-prone issue fix
...
Change-Id: I49f2cc0459cfddddc6a99e2ebb8ad52d547e2909
2018-01-29 21:12:15 +00:00
Sean Condon
96b896d043
[ONOS-7262] Cfm improvements to allow RMeps and Mds and Mas to be added and deleted
...
Change-Id: Ibffb13d046bfb29dbe88de7b558c95fbf9db046d
2018-01-29 19:56:32 +00:00
Andrea Campanella
09ca07a7b6
T3: removed fixed mpls_bos and proper mpls label removal
...
Change-Id: Iaa122a84a43fedb5a0814d2a34b00a682ce4f741
(cherry picked from commit d293a5aa25937530da1d297589a2e5d7dfb5aef5)
2018-01-29 09:19:46 +00:00
Sean Condon
13b1681824
Add support for RESTCONF standard errors
...
Change-Id: I74c0997bc8e06bc10c97cd610ff70c7a6aa68c8b
2018-01-27 11:16:26 +00:00
Yuta HIGUCHI
fbd9ae9cdf
Various small fixes
...
Change-Id: I83802169d0d968f7b88d4be2cedba74b15fdd7da
2018-01-25 22:17:25 +00:00
Andrea Campanella
8be1af9713
T3: Support for Ipv6 in CLI command
...
Change-Id: I88ca31e60ff5fb0b61206cd13cd62ecaf24fa876
(cherry picked from commit 06d98abf51f9c40c39fd26c20f81e50601f78a73)
2018-01-25 12:54:45 +00:00
Ray Milkey
094a135ef5
Removed the setServiceDirectory() method from the base web resource
...
This is a testing only API and potentially dangerous to allow to be public.
I modified the tests that use it to set the value using TestUtils.setField()
Change-Id: Ic590f4641f4e3de208dffa16b3df9a9a2106114b
2018-01-25 01:16:03 +00:00
Ray Milkey
fa6002c58c
SONAR suggestion - collection item types
...
Don't call contains() or remove() on objects that don't match the
collection item type, this will always return false.
Change-Id: I4d6d0992636b6aa9a4dd3585edd4760884bd4bfb
2018-01-25 00:50:13 +00:00
Ray Milkey
06297ed618
SONAR suggestion - Synchronize initialization of static fields
...
Change-Id: I2ddf8220bda49f235ddfc5713174c11a147df354
2018-01-25 00:49:28 +00:00
Ray Milkey
ffe1a33da1
SONAR suggestions - more blocker bugs
...
- fixed some cases where pointers could be null
- fixed some booleans statements known to always be
true or false
Change-Id: I0d67c1794b37deeccffda1f4ad0f447857e2a5d1
2018-01-25 00:48:10 +00:00
Lee Yongjae
6dc7e4f6a2
Updates of SimpleFabric applcation
...
- add CLI and REST interfaces
- add l2Network.l2Broadcast flag
- debug on borderRoutes
- minor method name changes
Change-Id: Idabcac99b6046844c7751949a5067850835c5f6a
2018-01-24 15:23:17 +00:00
Ray Milkey
2ff67163ad
SONAR Suggestion - use .equals() on strings, not '=='
...
Change-Id: I2dfca0b67c0f25abadf6c9a9b5317c9e90c6d297
2018-01-23 14:37:25 +00:00
Andrea Campanella
bb9d3fb9ee
Adding drop on same output of input connect point
...
Change-Id: I316a3ffaa47f9d152210474055f2877823edb992
(cherry picked from commit 31a3d1e5408ff3d95fc74b3d390dd34da647aa5a)
2018-01-23 10:08:44 +00:00
Charles Chan
239492c218
Fix NPE in Dhcp6HandlerImpl
...
Change-Id: I6556d4be3a01604e47ab7ccf35f2c311422decd7
(cherry picked from commit f1aed03c2ecf36100c151a5b5be81b9ecc72d1d1)
2018-01-22 21:42:58 +00:00
Kalhee Kim
40beb72eb5
[CORD-2529] Fpm route store handling
...
Change-Id: Idb878fe2d762d4c0849b87e6f4c09d6be072b772
2018-01-19 13:20:17 -08:00
Kalhee Kim
2f07c6084a
[CORD-2260] Add a timer task to clean ipaddr, pd prefix
...
Change-Id: If38a0c19d6de969b32369c9d6c2cd66ebed241ae
2018-01-19 13:20:16 -08:00
Kalhee Kim
d94ceeafbd
[CORD-2362] dhcp relay v6 counters implementation
...
Change-Id: I1ec322d6d77ff62ec4ad91632349e3a2c0d058f3
2018-01-19 13:20:16 -08:00
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