HIGUCHI Yuta
3a6f7cdc87
Include deviceId in Exception message
...
Change-Id: I1f730c99090bd5078ca24016675208e93ce476bd
2015-02-26 03:29:42 +00:00
Brian O'Connor
645bf200d9
GossipIntentStore: Renaming current and pending maps
...
currentState was poorly named, and also was hidden by a better named local variable.
Change-Id: Ia61eb73890009812d63026d5811553b2ff1bd94e
2015-02-25 19:04:35 -08:00
Madan Jampani
15d773cc7e
Changed type of term number and sequence number to long.
...
Change-Id: If90663fa9567988752f8c4af17daeff904865ab7
2015-02-26 00:16:52 +00:00
Jonathan Hart
34f1e3827c
Add intents -p commmand to have some visibility into the pending map
...
Change-Id: Ic29460d8bf78f185bbfa426bc0aeef309b22cf7f
2015-02-26 00:11:57 +00:00
Madan Jampani
5961051006
Added couple of methods to LeadershipService.
...
Change-Id: I259b1a282a51af9425e941a720336f89d66f1097
2015-02-26 00:10:05 +00:00
Jonathan Hart
ac48a95bbb
PartitionManager: Shutdown background thread during deactivate
...
Fixes ONOS-1168.
Change-Id: I7fc4fa3787b552d958e148b96e6a6a9c51291ddb
2015-02-25 14:19:28 -08:00
Madan Jampani
d14166a3be
Added a distributed leadership manager implementation on top of consistent map.
...
Change-Id: I3f3c6114df72e3ab033ba39c8608ac4ae11e5272
2015-02-24 17:38:44 -08:00
HIGUCHI Yuta
dc2e7c26f9
Fix for NPE
...
Fix for NPE reported by ONOS-1171
Change-Id: Iadb960eb2806e0d33da034f36ad2a0f9c8aa1be0
2015-02-24 23:44:40 +00:00
Jonathan Hart
83247f0672
Fix entries getting stuck in the pending map.
...
Pending map timestamp should be composite of
(IntentData.version(), wallclocktime)
Change-Id: I3caf739c4fdb70535696176621649f0842eea467
2015-02-24 23:39:28 +00:00
Jonathan Hart
403ea930f2
Simplify anti-entropy code
...
Change-Id: I6568b1cc7c67e12c5a81ec9f8680f6461813ddce
2015-02-24 21:05:59 +00:00
Madan Jampani
6b5b717d80
Gave threadpools more appropriate names.
...
Change-Id: Ib7ce71a3028363b1465fbd5775f84e2befaf80c1
2015-02-23 22:40:56 +00:00
Madan Jampani
2af244a977
Never process incoming messages on the netty event loop thread pool.
...
Currently in a lot of places we are deserializing incoming messages on this threadpool and that could be significantly limiting throughput.
Change-Id: I83eb7e91004cea4addb28bc28f27e50de10028fe
2015-02-23 20:37:25 +00:00
Thomas Vachuska
a132e3acd3
Made intent perf app multi-threaded; doesn't seem to help.
...
Made Jono's changes to ECM per Madan's suggesion.
Added cell beast.
Re-enabled anti-entropy.
Added ability to push bits through test proxy for faster upload.
Change-Id: I1455d6d443a697d7a3973c88cb81bfdac0e1dd7f
2015-02-22 20:31:04 +00:00
Madan Jampani
2e5f87b548
Limit the amont of work that happens on netty event loop threads.
...
Currently we are kryo serializing/deserializing the message envelope which can potentially limit throughput.
Change-Id: I0ae9dab53bbb765b7618ceaefda1edf4f77b0b59
2015-02-22 10:37:15 -08:00
Thomas Vachuska
6f94deddef
Converted all executors that previously used namedThreads to use groupedThreads instead.
...
Change-Id: I048709308270de5b7552bc4e8395b0f7201d5949
2015-02-21 14:02:38 -08:00
Jonathan Hart
054da97e83
Implement command to view Raft partitions
...
Change-Id: I9d3cea49877d69c2d7935dadbbad2770349e793a
2015-02-21 17:00:39 +00:00
Brian O'Connor
71503cd103
PartitionManager: reduce number of partitions to improve stability
...
Change-Id: I972583c0ba397017b6bfa40f5ddf6f13253c6d45
2015-02-20 22:15:55 -08:00
Brian O'Connor
b289422189
EventuallyConsistentMapImpl: pushing serialization and sending to caller thread
...
This has the effect of limiting the caller so that it can't overrun the single thread that previously did the job.
If you let this back up, it will use all of your memory. :(
Change-Id: I0a3b93cfa7004e0430d228a68c60e2b7ba966d4e
2015-02-20 22:15:55 -08:00
Ray Milkey
8dc820868c
Fix some compiler warnings about unchecked types
...
Change-Id: Ib360aa05fd0e194a65bbc0b624447e4bdb4ced93
2015-02-21 05:52:36 +00:00
Thomas Vachuska
0249b5377d
Enhancing intent-perf logging
...
Fixing defect in distributed app mgmt
Reducing DB manager heartbeat aggressiveness
Change-Id: I9ba948a2b2166625c56566502143c0d27f9a2c44
2015-02-21 01:32:52 +00:00
Brian O'Connor
8fc739af47
Disabling anti-entropy messages to stabilize performance of intent store
...
Change-Id: Ic66c6d710e6bc4bc82496c38a5b9955e58f72e73
2015-02-19 22:32:15 -08:00
Brian O'Connor
2952e3b7b6
updates to EventuallyConsistenMapImpl to improve parallelism
...
Change-Id: I7bf29c02380f630e592d980d0795efc6ac13167a
2015-02-19 21:51:27 -08:00
Brian O'Connor
be28a87c0e
Chaning IntentStore.isMaster to take a key
...
Change-Id: I2d04a6aa7418e06137b0688bcb4e3af060a02b63
2015-02-19 21:50:20 -08:00
Madan Jampani
7e6cfe305e
ECMap: synchronization free removeInternal
...
Change-Id: I89b88d11b830de5ceb97fdc3fb91ae51bc1bb1cb
2015-02-20 02:20:36 +00:00
Jonathan Hart
3469e60239
Move sending advertisement outside synchronized block
...
Change-Id: I1709fecbec5e6f5ac245b535c14a5c0b2aea2820
2015-02-19 17:01:40 -08:00
Madan Jampani
97cf7c4138
Using ClusterCommunicationService instead of ITopic for notifying cluster members of leadership events.
...
Change-Id: I164f30da436f3e4f65c4e938c25bb2aa2faa16c3
2015-02-20 00:56:07 +00:00
Ray Milkey
cc53abd74e
Favor adapter classes over service interfaces in unit tests
...
In unit tests that are mocking an entire interface, instead
extend the Adapter class so the unused method overrides
are no longer needed.
Change-Id: I6e332cc5cb59410f163deea223fbc94e73d83917
2015-02-20 00:35:32 +00:00
Brian O'Connor
9b7a32d1e3
ClusterCommunicationManager: only serialize once for broadcast
...
Change-Id: Ife78af3c758c87eeb8a79cdbf51b5307b8b1ca88
2015-02-20 00:12:17 +00:00
Madan Jampani
337bb44579
ECMap: Moving message serialization to the background
...
Change-Id: I0de398c6ce77bfb0729db03ab2ec4ea7f55a8284
2015-02-19 22:49:08 +00:00
Madan Jampani
b28e4ad8de
Fix EventuallyConsistentMapImpl unit tests.
...
Change-Id: I5d114bac40c16d0f67330ba2b4b922a4301666b2
2015-02-19 12:33:03 -08:00
Madan Jampani
04f46155be
Disabling all tests in EventuallyConsistentMapImplTest temporarily.
...
Change-Id: I22f124b1ab5ae889396d9f29ac8e49e1c3349dca
2015-02-19 20:26:34 +00:00
Brian O'Connor
4e6c17d2b9
Fixing hash for Intent keys
...
Change-Id: Ie7807d95b3e58f2e79c6127251ef355b77ba05ff
2015-02-19 12:00:26 -08:00
Madan Jampani
2872628e44
EventuallyConsistentMap: move broadcasting to a separate backgroup thread.
...
Change-Id: If4499cef78e5eb8b54ec2e3336e95030ec37f7e1
2015-02-19 11:54:46 -08:00
Thomas Vachuska
718d399045
Fixing javadoc configuration and adding some package documentation.
...
Change-Id: Ibeb58b954b1d5ed1939a70afda3f5523807cee23
2015-02-19 19:08:12 +00:00
Brian O'Connor
4b2ba5f8bb
EventuallyConsistentMap: changing to groupedThreads
...
Change-Id: Ie57afcc1013fa33172bf51f73980171d8ea3df29
2015-02-18 21:04:55 -08:00
Brian O'Connor
1fdfacd1f1
Fixing partition mapping
...
partition choice was sometimes negative
Change-Id: I97354360bebe6f8981f926f15661005adf7482c0
2015-02-18 21:04:55 -08:00
Brian O'Connor
fd079918d8
IdBlockStore: changing default size
...
Change-Id: I3d3bf42cbef4590c345cd6b1b4f871da8d617568
2015-02-18 21:04:54 -08:00
Yuta HIGUCHI
8f068279b4
Fix potential race conditions in HazelcastLeadershipService
...
Change-Id: Iac232652155830c8e054760ea371ffb5639cf464
2015-02-18 17:18:51 +00:00
Brian O'Connor
916de34f16
Disabling FlowRuleExtService components
...
Change-Id: Ia4a53da3af577280966ad06cb343bcdb4eb68d01
2015-02-17 18:07:32 -08:00
Jonathan Hart
f2fda81f63
Automatically rebalance intent key partitions on cluster change.
...
Also sorted output of leaders command by leader IP.
Change-Id: Ie85896a4f6f50489ebd7994c905808ce34fca94c
2015-02-18 00:27:18 +00:00
Madan Jampani
64689559d7
WIP: Revamped transaction API. Introduces a transaction context for running blocks of code that can be committed
...
atomically.
Change-Id: I6ba21050a2644a42f3c073fa04ff776ef2c5ff4c
2015-02-18 00:22:57 +00:00
Marc De Leenheer
b473b9dd2d
Injecting topology through JSON ConfigProvider works for multi-instance (ONOS-490).
...
Change-Id: Ib977f4cf9a59ddec360072891fd803c6f9ee84f1
Injecting optical device annotations and ports works for multi-instance (ONOS-870).
Change-Id: Icdde16ef72fc4e47eec7213250b04902083f0537
2015-02-17 23:55:59 +00:00
alshabib
a66a05635c
do not initialise the flowext subsystem
...
Change-Id: I760a95a27fce91c80b5f5f3d396c80e4b0eca378
2015-02-17 15:50:54 -08:00
Madan Jampani
2546111a36
Added copy right headers.
...
Change-Id: I3a42d1af23f4afb8d584c788ade026c3ed8db0e5
2015-02-17 14:23:51 -08:00
Madan Jampani
e97fec4ffb
Remove deprecated code.
...
Change-Id: Ifd68e4ddfaade2a8dd7de43a83bf222b48b9291b
2015-02-17 21:03:09 +00:00
Ray Milkey
f7329c77eb
Remove some deprecated APIs and warnings from BatchOperationEntry
...
Change-Id: I44daf9646f6d2a60fd7c0ce96d6692ab8a9cdda2
2015-02-17 20:53:41 +00:00
Hongtao Yin
142b758ba3
Initial implementation: The init extended flow rule and store interface APIs
...
The APIs are for supporting service data to install on network devices.
This is related to JIRA ticket ID ONOS-869.
Updated API code and added implementation code files.
Modified API for supporting payload abstruction, and added routing mechanism for pushing flow rules to devices.
Added more javadoc, and fixed some minor issues.
Updated javadoc, removed unnecessary method, and test code.
Change-Id: I105defc92a9e01b30601fcb56a9dafa086d4adc0
2015-02-17 11:29:03 -08:00
alshabib
93cb57f160
Fix a bug where default rules were not pushed after restarting mininet.
...
Change-Id: Icf4c7ed009a5938d28b58128cfc226067a0d4c9e
2015-02-17 18:43:34 +00:00
alshabib
371abe85c2
allow flow to be marked for removal from flow store when device is disconnected
...
Change-Id: I0f60ff4f010d0d149be31272b9e592c5d812bef9
2015-02-17 18:43:20 +00:00
Srikanth Vavilapalli
ed12ae5e81
ONOS-985: Sample integration test application for group subsystem
...
Change-Id: I68352f922e5c7a0800fcc4fa839955769bf925a6
2015-02-17 17:58:49 +00:00