Yuta HIGUCHI
9b108b3f8e
Switch default stores to Hazelcast based implementation
...
Change-Id: Id2e74bcfeb047b2e16e55bce23634c662a3b4058
2014-12-01 11:11:02 -08:00
Yuta HIGUCHI
f568245973
IntentStores: clear transient states, after transitioning to parking state
...
Fix for ONOS-372
Change-Id: I2e397f7f9a60855945fd49a8170c41ab0166f6d3
2014-12-01 18:21:00 +00:00
Yuta HIGUCHI
43e3a7ef62
Move CopyCat log to $KARAF_DATA/raft
...
Change-Id: I97f4766279f875c15c818d4b7f0b168e06e85ac1
2014-12-01 08:09:22 +00:00
Thomas Vachuska
82041f5ec7
Added a number of demo-related artifacts. Enhanced GUI a bit.
...
Change-Id: I4501cb338f9eab07420fb60e347167deda5074be
2014-12-01 07:34:01 +00:00
Pavlin Radoslavov
2e57b3b601
Removed leftover "SDN-IP" from the log messages.
...
Change-Id: Ie9a9f75c577dc26912e512540433f1903a98acdd
2014-11-30 18:36:05 -08:00
Jonathan Hart
949c28455e
Added a trivial implementation of the LeadershipService.
...
Also renamed SdnIpLeadershipService to HazelcastLeadershipService, and moved
it into the distributed core bundle.
This allows applications which depend on LeadershipService to be used with
the trivial core.
Change-Id: Ie71a946d95653a4d2209afd3af0e7f23b5a4f818
2014-11-30 18:17:15 -08:00
Yuta HIGUCHI
c2bf3d8fb9
IntentManager: use IntentStore batch APIs
...
Change-Id: Ie60f3e53f48fa6acbcaf5cf6837bdef12b36a98d
2014-12-01 00:26:30 +00:00
Yuta HIGUCHI
a94c6e8a30
IntentStore: add batch write API
...
Change-Id: I9d397e9dc3dc6e9ccd21ac6ddacaece79214c470
2014-11-30 18:41:02 +00:00
Yuta HIGUCHI
3cc4d9beee
HazelcastLinkResourceStore
...
Change-Id: Ic5d6bf9b54b023368a883e3665484900ccda44e7
2014-11-30 18:14:24 +00:00
Yuta HIGUCHI
c9438f14dd
SQueue: lazily deserialize iterator
...
Change-Id: I09ba574a0479181774e287d8a39286c976740675
2014-11-30 18:13:37 +00:00
Thomas Vachuska
12dfdc34b6
Added web-socket fail-over and fixed a defect in mastership balancing.
...
Change-Id: I14eeb17fdc7970140287b51915c5accc24cf855b
2014-11-29 16:03:12 -08:00
alshabib
978d2417da
add iterator support to SQueue
...
Change-Id: I83df62326e54368e40fa15df522c05ba2dc67ff6
2014-11-29 15:29:46 -08:00
Thomas Vachuska
1e68bdd9be
Added ability to force mastership re-balancing between instances from the GUI.
...
Change-Id: I98e56deb3e2b00df630ed85b596c8e35b3d6efab
2014-11-29 13:53:10 -08:00
Thomas Vachuska
5dd52f7ac4
Enhancing the GUI traffic-related code.
...
Fixed a defect in reactive forwarding.
Change-Id: I1a91f6e5f57b39425ef06092c82b06d04c9b59a0
2014-11-29 10:43:30 -08:00
Yuta HIGUCHI
47b2f55b29
lower log levels
...
Change-Id: I48feba520fe72b531d3b6c36309216c549d599ca
2014-11-28 20:13:15 -08:00
Yuta HIGUCHI
82e5326b23
For ONOS-356
...
- Add current InstallationFuture information on TimeoutException
- Set timeout values propotional to batch size
- Fix for ConcurrentModificationException
- Check if src/dst is part of the graph before path computation
Change-Id: Iabeac7939c52502b83bf9ebcbe2023539de3ae99
2014-11-28 19:00:56 -08:00
alshabib
9c57bddf00
check if there are any stats remaining when removing
...
Change-Id: I6af100ff73d5f577f38901b8f0ec881e51253cc8
apply fix to distributed store
Change-Id: I829394e919aa79f10e01ac42904f5708b296cf51
2014-11-28 19:22:09 -05:00
alshabib
507ac376cb
getprevious should fetch the previous stats from the store
...
Change-Id: Ia954e128d2503e4e787d496385c456ff249fc139
2014-11-28 18:12:07 -05:00
Brian O'Connor
72a034c863
Initial implementation of distributed intent batch queue
...
Change-Id: I7ffed03651569ade1be1e8dca905bfaf369b7e03
2014-11-28 22:42:44 +00:00
Thomas Vachuska
a68be8199f
Fixed a null pointer exception in SimpleMastershipStore; need to verify whether same exists in distributed one.
...
Change-Id: I89ad124114586eb69bb9de3702085e8587cb315c
2014-11-28 21:18:06 +00:00
Yuta HIGUCHI
f0f2dfc1df
tablet-leader command to check current Raft leader
...
Change-Id: Id360db21988a50c3e2895c5194d59b0ba4cb49e4
2014-11-26 20:54:41 -08:00
Yuta HIGUCHI
f1f2ac051d
Construct GraphDescription with online/active Device/Link only
...
Change-Id: I9312c0c8ae190bf0200bd040823b6f7a3e7a15e1
2014-11-27 04:08:49 +00:00
Yuta HIGUCHI
b6eb9144f2
DistributedFlowRuleStore: handle no master present case
...
Change-Id: I56f4bce549aecc689d7a4798485b025a87ecdeb9
2014-11-27 00:42:39 +00:00
Thomas Vachuska
6b7920ddaf
Measuring topology performance. Fixing a defect that caused us to run w/o accumulator when config file was not present.
...
Change-Id: I5ad538b8a441cd6ff2aefea49a0def10b8e0f4d5
2014-11-26 09:02:50 +00:00
Madan Jampani
4bb70c60ce
Fix for copycat log max size setting. Turns out ^ is the bitwise exlusive or :)
...
Change-Id: I5a8e5e367d9fddc7441814aed91008608583aab4
2014-11-25 23:47:36 -08:00
Yuta HIGUCHI
80d5659844
GossipStores: remove potentially blocking method out of netty thread
...
Change-Id: I2da9ba745c3a63bf9709fb77c1f260ea8f4529a8
2014-11-25 20:44:10 -08:00
Yuta HIGUCHI
ae1d210a8f
Add Collections.emptySet()
...
Change-Id: I51e845ed69f688a859089a221643fd6d04ac7afa
2014-11-25 20:44:09 -08:00
Yuta HIGUCHI
0136562edc
DatabaseManager: move retry timeout out from finally clause
...
Change-Id: If4760bdaa8ac64d5db80c7b6700d75a89099f179
2014-11-25 20:44:09 -08:00
Thomas Vachuska
e4b6bb2515
Intents are now removed after being withdrawn.
...
Change-Id: I7574fe94add00abf58c71c6122bb3dc5aafa0f79
2014-11-26 04:31:14 +00:00
Pavlin Radoslavov
119fd5c5a5
Javadoc fixes.
...
Change-Id: Ic2cef19a6f1af9916c8615c9319cc122d9da5383
2014-11-26 03:17:20 +00:00
Sho SHIMIZU
f57a73916e
Remove final modifier from static methods
...
Change-Id: I93dd84874f46114011840ef840315a0d27c221ac
2014-11-26 00:44:38 +00:00
Thomas Vachuska
5bde31ffec
Fixing various issues and re-tuning.
...
Change-Id: I8822fcf77cfa507788241c5bda98ef4741b284b4
2014-11-26 00:25:14 +00:00
Sho SHIMIZU
2389523dda
Remove code duplication
...
Change-Id: I428677343fe71aded4156e5fc9b84a9d994a6bae
2014-11-26 00:12:23 +00:00
Yuta HIGUCHI
f6171233a9
register DefaultGroupId to Kryo
...
Change-Id: I650482164acf4b97f1bcd1a1633806a3b526a14d
2014-11-26 00:01:33 +00:00
Sho SHIMIZU
7453b48cee
Remove logger due to data class
...
Change-Id: Id08acbb63008a1f80a9c7532b5c3fd08a43655b5
2014-11-25 23:57:32 +00:00
Ray Milkey
37f6a381e1
Unit test refactoring
...
- removed tests no longer useful now that all Intent objects are unique
- fixed intent object equality tests
- enabled several immutable base class tests
- renamed several Test....java classes to ...Test.Java to
match project best practices
Change-Id: Ic829d6d39556d2f63323f5e82f3807dba86c62ec
2014-11-25 23:19:34 +00:00
Yuta HIGUCHI
0658627cc1
Run Anti-Entropy in background
...
Change-Id: I233185d15f52359899427e214339be44cb62971c
2014-11-25 14:27:27 -08:00
Yuta HIGUCHI
b6cfac39b4
GossipStores: iterate using forEach
...
Change-Id: I1c230932ab1c9112692708a4d5c869eac3c50db8
2014-11-25 22:07:13 +00:00
Sho SHIMIZU
75a5bd9007
Change return type of groupId() in FlowRule not to misusing underlying type
...
Change-Id: Ide90973380f79046650bc372b9ecee00cb290f6a
2014-11-25 21:53:26 +00:00
Sho SHIMIZU
e3cc0b9f45
Enhance StatisticService to allow filtering by Application ID and Group ID
...
Resolve ONOS-205
Change-Id: Ie9318a5ade943bd8e47fb92ee856b7ebead5022e
2014-11-25 21:53:26 +00:00
Ray Milkey
e97ede9548
ONOS-239 Retrigger compilation when new resources are available
...
When an intent is withdrawn and frees up resources, trigger
recompilation of any failed intents to allow the ones waiting
for resources to be installed.
Change-Id: Ic15678378ce41516a7eab890b4b4898aeb901f78
2014-11-25 21:52:58 +00:00
Yuta HIGUCHI
2f1583342c
DistributedFlowRuleStore: register FlowRuleEvent
...
Change-Id: I1f904a283c8e619a6ec9094d62ddfba44a41c119
2014-11-25 13:32:06 -08:00
Yuta HIGUCHI
4423acc4aa
GossipHostStore: prep for making initial size configurable
...
Change-Id: I256f46ff9772015dac2f02678c5396ee2b566741
2014-11-25 12:34:44 -08:00
Yuta HIGUCHI
d88400b288
DatabaseManager: extended election Timeout 2s -> 5s
...
Change-Id: I192113f634cd27c21b7d987b784bc81b1c6bde44
2014-11-25 12:14:39 -08:00
Jonathan Hart
58682ddc5e
Lower log level of frequently-executed flow stats code
...
Change-Id: I2901a8ede86531677d506c54f7ee2878ef62bb49
2014-11-25 18:01:21 +00:00
Yuta HIGUCHI
e367fb9718
Add probes to DistributedIntentStore
...
Change-Id: I23a5823d3924392dc17166404a17fc1918c01453
2014-11-25 06:56:15 +00:00
Yuta HIGUCHI
a22f69f28a
Slice out MetricsHelper/Util
...
Change-Id: Ic6848f47d38550b78ebd6cdcf414305e54408882
2014-11-25 06:49:43 +00:00
Yuta HIGUCHI
fe4367a708
IntentManager: lower log level to dump details
...
Change-Id: Ib0e1d34d45c9df9369b6ad28c6c86e47987f9366
2014-11-25 05:50:48 +00:00
Brian O'Connor
520c052e36
Changing Intent Ids to use explicit id assignment
...
Change-Id: I5a4bff87842c37a869e7691b353529eaefc929db
2014-11-25 05:49:35 +00:00
Yuta HIGUCHI
dfa45c1563
DistributedFlowRuleStore: support remote removeFlowRule needed for cancelling Batch
...
Change-Id: I40f8dd8c2008e93c5ac7393295374726f83353c7
2014-11-25 03:22:11 +00:00