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
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