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
Yuta HIGUCHI
a8016e718b
CMap: wrapper around DatabaseService
...
Change-Id: I55c534567b99d6bb7e95045c8100226c0b515a99
2014-11-19 15:12:15 -08:00
Yuta HIGUCHI
9a2e18a6af
DistributedIntentStore: add sanity check to parking state transition
...
Change-Id: I2958a5889451a4f7a34146033a801cf89b73a1cc
2014-11-19 15:12:15 -08:00
Thomas Vachuska
cd2920cc23
Fixing visuals for the SDN-IP demo.
...
Change-Id: I6f41e6cd72834ece28212de8b5962abaf2d418e4
2014-11-19 14:50:42 -08:00
Yuta HIGUCHI
75fb1f4a75
Slice out byte[] printer
...
Change-Id: I095575df5f03057c386be77328897be59c96eaf9
2014-11-19 14:15:17 -08:00
Thomas Vachuska
f75b7ab3b6
Forgot the icons... doh!
...
Change-Id: Ic0d7848ea857b9fa78f3399ab98651358da78e73
2014-11-19 12:18:28 -08:00
Madan Jampani
e198eb8477
Printing a summary (total size) when generating toString representation of byte arrays in WriteRequest and VersionedValue
...
Change-Id: If068a4e602fd5cc3932f09fc3ab54a7dea47f1f2
2014-11-19 12:03:05 -08:00
Madan Jampani
4e729affa6
ClusterMessagingService broadcast and broadcastIncludeSelf should use unicastUnchecked for sending point to point messages.
...
Change-Id: Ief52b2bb080de5a7226156b46b34086cc3d32ddd
2014-11-19 11:22:36 -08:00
Brian O'Connor
e2ff25a13c
Serializing batch execution on per-instance basis for intents
...
Change-Id: Idda3f4a65e78567302d91ba0070e78d435eea8fd
2014-11-19 11:02:18 -08:00
Madan Jampani
5ce3025338
Support for running copycat on a subset of ONOS cluster nodes.
...
This change ensures DatabaseService on each node does the right thing, irrespective of whether the node is part of Raft cluster or not.
Change-Id: I1e8976d56b3a2892d5c7ecbb46c247770a633860
2014-11-18 23:30:31 -08:00
Ray Milkey
c8f481f3d9
Unit tests to improve coverage in intents module
...
Change-Id: Ic544114a8d3065157b0abd09632a2dc5ff8b708d
2014-11-18 18:18:30 -08:00
Sho SHIMIZU
a19a2e5494
Fix typo
...
Change-Id: Ib10da595faf98cbdbe88dec5225d0996b8f8cd76
2014-11-18 13:20:35 -08:00
Yuta HIGUCHI
1b3f4db949
SimpleMastershipStore: add missing switch-break
...
Change-Id: Iafe5cb42c53392466d23f348186074ca4fe674f6
2014-11-18 13:03:27 -08:00
Jonathan Hart
c9d7673be5
Cleaned up inconsistency in OpticalConnectivityIntent API.
...
Change-Id: I76b629aa8f4cf95a224da49780b3eca275b9acfc
2014-11-18 11:21:17 -08:00
Madan Jampani
ac201955fa
DistributedLockManger creates a locks table if one does not exist
...
Change-Id: Ifa766ad441f677a4071b68d8f6caa564cf320869
2014-11-18 10:36:23 -08:00
Yuta HIGUCHI
2fe6334c15
DatabaseService related fixes.
...
- Note: This patch does not fix the issue running as single node.
Change-Id: Iabfa548ca4e40e4ec5c9e76ae936300437e53d22
2014-11-17 21:33:38 -08:00
Toshio Koide
8e5e91e296
Update SimpleLinkResourceStore to obtain capacities from link annotations
...
Change-Id: I98f8959fdc00953c98a151ad7b0bfa1041b118d7
2014-11-17 20:22:30 -08:00
Yuta HIGUCHI
452071656a
ClusterMessagingProtocolClient: less log for expected exception
...
Change-Id: Ifac94d2dc68144f126c9c6ab2cd4aedc712a10fe
2014-11-17 20:22:08 -08:00
Yuta HIGUCHI
8ba3ac05c2
MapDBLogTest: use Temp file
...
Change-Id: I7a6647ffa354913d3e6aa08de03f5a15e03753d7
2014-11-17 19:16:26 -08:00
Brian O'Connor
a8e7dd4b49
Adding DistributedIntentBatchQueue
...
Change-Id: I4ce3c2cb5a31ad8ace5d1d20830a49a869e63900
2014-11-17 17:28:37 -08:00
Ray Milkey
241b96accd
Fix high priority findbugs reported issues
...
Fixed some code that was reporting findbugs errors
Implemented a suppression mechanism for findbugs
reported errors and a suppression file.
Change-Id: Ie8a2e84cc57ec6ddfa14d782ee89feb095b9dd59
2014-11-17 16:38:30 -08:00
Pavlin Radoslavov
20ded69934
Fix a bug inside DistributedLock.extendExpiration():
...
Return false (as per API) if we don't hold the lock.
Change-Id: Id3c314f6e374c92a73ce6f1aa4b6fbcef0a80697
2014-11-17 16:38:15 -08:00
Brian O'Connor
772852ac32
Some fixes for the optical app
...
Change-Id: Ib3e317ad080d822ac41b1cf113ba388a7ce78316
2014-11-17 16:07:43 -08:00
Yuta HIGUCHI
3b29b79e6d
DatabaseManager: client initialization bug fix
...
Change-Id: I62afbc2847728e304f90c13f8af284be89e84ab7
2014-11-17 15:28:41 -08:00
Thomas Vachuska
912bdd5450
Adding configurability to the even accumulator for the topology provider.
...
Change-Id: I35ede9a62782dc6a2e55b8895aeec6ece8836960
2014-11-17 15:23:47 -08:00
Brian O'Connor
faaedf485d
Changing log level from warn to debug in Stats Store.
...
Change-Id: I7651427d317813775a2c729682001fb888b45f1c
Note: Optical flows don't have stats.
2014-11-17 14:48:48 -08:00