alshabib
2be9bea97d
adding specified treatments when uninstalling intents
...
Change-Id: I4a200a6df9fce048321846c6df9b9e79457f7dfd
2014-11-24 17:27:17 -08:00
Jonathan Hart
7466d61447
Null checking in packet-out mechanism.
...
If the switch has recently disconnected, we can get some NullPointerExceptions.
Change-Id: Ia5a854ed5cd6a933974c855e7297faa542626d9e
2014-11-24 17:09:53 -08:00
Madan Jampani
d1a467fd6f
Make leadership election more robust to failures.
...
- Catch exceptions thrown by lock extension calls.
- Dealing with potential race conditions between joining and withdrawing from a race.
Change-Id: I429045b33f5972c459d5ed031fe8593438813e8d
2014-11-24 16:58:11 -08:00
Yuta HIGUCHI
45e5cd1778
Keep retrying until Database table is ready.
...
Change-Id: Idd696e3807435c65a422064e078cf5993a216df1
2014-11-24 15:42:21 -08:00
Ray Milkey
30edb16a05
Add equals() methods because hashCode() was defined
...
These are reported as 'Blocker' bugs by SonarQube
Change-Id: I6c25e365522f26e9f50b67a57878ad75c42aa9d2
2014-11-24 15:02:14 -08:00
Ray Milkey
a505e4f175
Fix typo in path not found exception text
...
Change-Id: Ia964a60c25eab2372d0d788c13fb1314f1a17279
2014-11-24 11:54:08 -08:00
Yuta HIGUCHI
c8f302698f
Enable Raft version of IntentStore
...
- Turning off state transition verification for now
Change-Id: I59d9796995d7349cd19e741c6f00e7dd2d2c3d73
2014-11-24 10:13:07 -08:00
Yuta HIGUCHI
6a46283219
metrics command to dump all the Metric in the system.
...
- Add probe to measure the time spent querying for Mastership.
Change-Id: I48fe37568a3261ee5b6229a3884e42a3a741b407
2014-11-24 08:32:19 -08:00
Brian O'Connor
895c12acaa
Fix for HZ intent store
...
The old value should be 'null'
Change-Id: I55d7826faa2c24bc911e6cc85be7d0e8bdc69c36
2014-11-23 19:21:48 -08:00
Michele Santuari
4a33807957
SinglePoint to MultiPoint Intent initial implementation
...
Change-Id: I1010997ce4ea993ae34afb8dab4b6c0ae112448d
2014-11-23 18:09:11 -08:00
Yuta HIGUCHI
4e45081d22
DatabaseManager: larger raft log size limit
...
Change-Id: Ib93b11ce55d9c038fad8e4fabfa8efc089899656
2014-11-23 16:17:21 -08:00
Yuta HIGUCHI
bcac4995df
Flatten MastershipTermService
...
Change-Id: Ic75b7376f7436c76f69127d6137577ec2fc09d2b
2014-11-23 16:17:07 -08:00
Brian O'Connor
427a1760d4
Updating Intent Manager to deal with failures.
...
Added ids to Flow batch futures.
Adding some basic unit tests for IntentManger
Adding failedIds to the completedOperation in FlowRuleManager
Change-Id: I7645cead193299f70d319d254cd1e82d96909e7b
2014-11-23 16:16:34 -08:00
Pavlin Radoslavov
af529d8f92
Adding-back "Wait for a raft quorum + logging a message to inform about the wait"
...
This reverts commit 17319764e20309e9be9c00ffe15ad76d22f8a757.
Change-Id: I6e5e4d5ef5e06930c80ca96a4e1e9de7d71eee70
2014-11-22 21:03:42 -08:00
Yuta HIGUCHI
03e77e975a
ClusterMessagingProtocol: stop processing in netty handler thread
...
- Fix for io.netty.util.concurrent.BlockingOperationException
Change-Id: Ie0f4dee2c3a49aa4b03674f6f7678f32fcf07a44
2014-11-22 19:35:42 -08:00
Yuta HIGUCHI
91768e30e5
Kryo related fixes
...
- KryoNamespace to allow control over registration id
Change-Id: Idc2a0e27a09916657c725ee97e4366109144cc66
2014-11-22 19:35:28 -08:00
Yuta HIGUCHI
51b8f6acba
DistributedIntentStore: remove transient state, after transition to parking state
...
Change-Id: Id0a5bf6a94c03c7eb15d399fd85bf00f4322f6d4
2014-11-22 11:34:44 -08:00
Madan Jampani
6234fd44e7
Updates to ClusterMessagigProtocolClient's handling of remote node connectivity issues.
...
Change-Id: If3cd220bef339cc57b2a5d034c6e86bad2202a9f
2014-11-22 00:54:30 -08:00
Yuta HIGUCHI
89a7f47115
Distributed IntentStore family: relax state transition check
...
- allow INSTALLED -> INSTALLED
- allow WITHDRWAN -> SUBMITTED
Change-Id: I7ba9c7c6e29b39ce005fb15bfd68feb1751cb0af
2014-11-21 20:59:28 -08:00
Ray Milkey
0d33805a39
Increase coverage by using guava EqualsTester
...
Change-Id: I2c5cef7258407168c3ef7ab4ec9efdf332457caf
2014-11-21 20:29:46 -08:00
Pavlin Radoslavov
17319764e2
Revert "Wait for a raft quorum + logging a message to inform about the wait"
...
Reverting-back for further investigation.
This reverts commit d2f457b80f9bea8c34f895d822e2328281386a6b.
Change-Id: I83d2c171fd26e4008c0fd36ed635993eb18b3718
2014-11-21 19:03:42 -08:00
Madan Jampani
d2f457b80f
Wait for a raft quorum + logging a message to inform about the wait
...
Change-Id: I6b1e5a6f2a0ca57e0a435877068ba83bc9311953
2014-11-21 18:39:23 -08:00
Sho SHIMIZU
7338ccc3a5
Add missing method parameter description in Javadoc
...
Change-Id: Iad42c51f87136bcaa95cb6896976234b312d0034
2014-11-21 15:52:09 -08:00
Sho SHIMIZU
2e660807a2
Guard malformed intent by pre-condition check on instantiation
...
Change-Id: I90ca0fac2e3b68c4ca5b464777b0cdaa2227c2e5
2014-11-21 15:22:06 -08:00
Ray Milkey
f19b715624
Add Unit tests for some org.onlab.onos.net.flow classes
...
Change-Id: Iac13ce237245d08e42a25cd8e01dee6a30ee2b20
2014-11-21 15:08:40 -08:00
Sho SHIMIZU
3908fde0c5
Fix ONOS-151 to support installation of PointToPointIntent
...
- Now support installation of PointToPointIntent that specifies the same
switches as source element ID and destination element ID
Change-Id: If206f3fde77ca198fe1df078e7292a05e5bd7424
2014-11-21 14:52:45 -08:00
Madan Jampani
2b6ca91b59
Fix for recovering node availability after a temporary downtime. Currently we can only recover once.
...
Change-Id: I556273fa49aa745f0b742454a0529b8fa1251575
2014-11-21 14:44:45 -08:00
Madan Jampani
ddaffd0fd8
1. Lock.lockAsync does not throw DatabaseException.
...
2. Changed thread pool in LockManager to be non-static.
Change-Id: Ie4e9acd497bacb9d6d812836a930ee79f92cf555
2014-11-21 14:24:30 -08:00
Madan Jampani
1ee91780ea
LeadershipService: Support for a leaderBoard.
...
Change-Id: I0dd8267e104466ec65a2c67d23d1c4d923cad266
Change-Id: I6bc548510400eacabb12482f8fba1b7f2abb0604
2014-11-20 21:27:23 -08:00
Ayaka Koshibe
ccfa94caef
LLDPLinkProvider listens to MastershipEvents
...
Change-Id: Iaa3655c680a8fc93921f0b83dc4fc16311222bf9
2014-11-20 20:48:40 -08:00
Yuta HIGUCHI
d2499435c8
ClusterMessagingProtocolClient: transition to not connected state on IO error
...
Change-Id: Iac0af5b5a55868d2677aecf18e63e00018d5113f
2014-11-20 18:46:36 -08:00
Yuta HIGUCHI
2805222cc7
DatabaseManager: workaround for larger ONOS cluster
...
- sleep before retrying if listTable failed due to non-Timeout error
- do not throw exception even if retry max reached
Change-Id: I5764894f0830c11b07d63aefbd0bbb10fe41af74
2014-11-20 18:35:45 -08:00
Yuta HIGUCHI
1a012723c6
Lower log level
...
Change-Id: I41c72ef6bba5bf59f76ab08c09fb44cf9a5bbae5
2014-11-20 17:47:09 -08:00
Brian O'Connor
392619e5aa
adding group id for intent flows
...
Change-Id: I256e15fe53834b2604fe3466fc0bf415abb46872
2014-11-20 14:49:30 -08:00
Madan Jampani
1d3494ec8f
Initial cut at Leadership Manager
...
Change-Id: I658c6fca3dc6f686e0f7facc9e7b443679ebae1e
Change-Id: I293906add41ff4310e3584847d806345e0312703
Change-Id: I7fb13a72ba4aef10d7c2262b96e0df64efecfcef
2014-11-20 14:37:49 -08:00
Ray Milkey
73257018b2
Fix for ONOS-251 - Can't create bandwidth constrained intents
...
The simple link resource store was not setting a default value
for the bandwidth on a link, so all requests for bandwidth
constrained paths were failing due to no available bandwidth.
Change-Id: Ibdeeae8ad22cfab443d694588d74fc2e910d72bf
2014-11-20 13:13:25 -08:00
Yuta HIGUCHI
d09f101c66
DatabaseClient: check CopyCat response for errors
...
Change-Id: I49e46bd78293a4ca0f363a6b97e0995e46c05027
2014-11-20 11:22:11 -08:00
Yuta HIGUCHI
f8535f3493
DatabaseManager: add periodic leader advertisements
...
Change-Id: I6e9244a06191fe0f2dd5eaed7e043e84d704bfcd
2014-11-20 11:13:48 -08:00
Madan Jampani
1769a1ade3
1. Adds a lockAsync method to LockService for async lock acquisition.
...
2. Fixes a bug where lock() wasn't attempting a tryLock before registering for lock avalilability.
(Note 1 above is needed for LeadershipService which will come later)
Change-Id: I1deaa445f7cdf86416b335df1d7358e17eff19c3
2014-11-20 10:15:10 -08:00
Yuta HIGUCHI
1ec4166b62
MapDBLog: clone byte[] before deserializing
...
- workaround for Kryo buffer underflow case
Change-Id: I0a9566f66fcd6fac3a91dda87f59d01fbed2d43a
2014-11-20 10:14:53 -08:00
Yuta HIGUCHI
faf9e1c3b0
Lower log level
...
- periodic non-error log to trace
- Host event to debug
Change-Id: I1a3e746f4cafe72dbaa648ac379a0548a93445e4
2014-11-20 10:08:43 -08:00
alshabib
5c05f86154
only apply passed actions to last flowrule in p2pintent
...
Change-Id: I7a9fbc0c9abdd709aef22f0ccdbf6437b3d7907e
2014-11-19 18:31:53 -08:00
Yuta HIGUCHI
b2cfc38ccd
Turn on HazelcastIntentStore
...
Change-Id: Ia91da0568f679d9002c59932df4d2bdb39a106ea
2014-11-19 18:19:43 -08:00
alshabib
c3de1bc62d
fix in the point to point intent to take into account existing treatments
...
Change-Id: I9e2fdde93a435a383bbab5dc1bb890e1f0d88433
2014-11-19 17:59:09 -08:00
Yuta HIGUCHI
43db10f4f4
Turning off CopyCat version of IntentStore
...
Change-Id: I093362c5d7a8c325dd1f767b78e8b0a05f1de153
2014-11-19 17:44:25 -08:00
Praseed Balakrishnan
00dd1f9a6c
Fix for optical re-reoute
...
Change-Id: Iad3ca0e175cb76f66ac276981f4e36bb580566c8
2014-11-19 17:22:26 -08:00
Pavlin Radoslavov
a6b754c456
Added API for the (new) Leadership Service. For now there is a single
...
Leader elected for all purposes.
In the future the leader could be per topic.
Change-Id: I6d4f997b40bfdaa6fa9a5547e7641bf62c9d3ddb
2014-11-19 15:51:35 -08:00
Madan Jampani
71582edbe7
1. DatabaseManager activate will attempt to listTables to ensure store is in good shape.
...
2. lock and tryLock can now throw InterruptedExceptions.
Change-Id: Ifa766ad441f677a4071b68d8f6caa564cf320869
Change-Id: I318ff762a96b261737831f6bd7c200b384c638e9
Change-Id: I0f509703520b3187931fa3669cd8213a91e85c96
2014-11-19 15:39:30 -08:00
Ayaka Koshibe
78bcbc1227
remove dependency on Devices for handling MastershipEvents
...
Change-Id: Ie1670e77d3eee5dbd597f574ebe16d687e7b551e
2014-11-19 15:39:08 -08:00
Yuta HIGUCHI
4490a73af8
DistributedIntentStore: CopyCat version of Distributed intent store
...
- old DistributedIntentStore renamed to Hazelcast~ and is by default disabled
Change-Id: I386eaf6c136f8a2fbebb4268d20b1395249e77ea
2014-11-19 15:14:34 -08:00