3637 Commits

Author SHA1 Message Date
Yuta HIGUCHI
d36a58eeac Hazelcast based Stores: configure async backup on it's own
Change-Id: I0b777fb90dd63d292a65f02811452430055ad547
2014-12-03 03:19:28 +00:00
Sho SHIMIZU
06596e3748 Add javadoc for implementaions of criteria
Change-Id: I8ca77bee161f6e3bc064e47c57292ceaef9b500f
2014-12-03 03:00:56 +00:00
Sho SHIMIZU
a66cb12ca4 Correct typo and description in javadoc
Change-Id: Ie660b32bd52701b2a0852f821402d05d87dd9c11
2014-12-03 03:00:49 +00:00
Sho SHIMIZU
dfb9b36635 Use non-abbreviated forms in javadoc
Change-Id: I388f02dca0e782c856fe7c1825fea9019bc6e984
2014-12-02 18:17:12 -08:00
Sho SHIMIZU
f5c3a2e204 Refactor: use AnnotationKeys
Change-Id: I972b2816272cab2a6cb66f6df99f4dbe84198367
2014-12-03 02:15:49 +00:00
Ray Milkey
93508c2634 Unit tests and manager changes for failure cases
Add unit tests for intent intallation failures:
- compilation error
- installation exception
- installation returns error future

Change-Id: Idc5e19980032cc5c1b9804c7627833fb126b7a81
2014-12-03 00:19:50 +00:00
Yuta HIGUCHI
d1a63e9764 Hz: remove listeners on deactivate
Change-Id: I544917508cd4b9513e3fcd3a100c44928954f413
2014-12-02 23:52:48 +00:00
Yuta HIGUCHI
bf366d51fb LinkResourceStores: use AnnotationKeys
Change-Id: I6d24d458a9d9c538ac55257f200e3cff79b1ef6d
2014-12-02 22:49:39 +00:00
Yuta HIGUCHI
8837578032 HazelcastIntentStore: fix NPE on state remove event
Change-Id: I03d52fd3151f734bb8e420ba9b0172078ca8a727
2014-12-02 14:21:50 -08:00
Yuta HIGUCHI
2103df4873 ClusterMessagingProtocol: initialize on demand
Change-Id: I58b6dfb4c1756a2ee097847b1b3363d829d25676
2014-12-02 20:48:46 +00:00
Pavlin Radoslavov
bcb454ccdc Updated the HazelcastLeadershipService implemenation:
* Every listener receives all leadership events, even for new topics and
   topics the local instance is not running for a leadership election
 * Now getLeaderBoard() returns all leadership info

Change-Id: Ia11a10ed287d2f8d905dd987beb8052c35be6cf1
2014-12-02 11:47:47 -08:00
Pavlin Radoslavov
187dff6378 Add missing implementation of HazelcastLeadershipService.getLeaderBoard()
NOTE: A topic is listed only if this instance is running for
a leadership for that topic.

Change-Id: I01450a83c54a9a47c9d4409139cdecc9152fbee1
2014-12-02 07:21:35 -08:00
Yuta HIGUCHI
b2e74a0f10 Lazily compute SCC, etc. on demand
- TODO computeCost does not correspond to actual computation cost now

Change-Id: Iffe3093c81bbb51d5feb46117fae8be092cf9288
2014-12-02 09:49:25 +00:00
Yuta HIGUCHI
bd1aee1e86 Attempt to fix nested exception
ONOS-375

Change-Id: I623f58f2ea35b01602439a296cf92654ad2a240c
2014-12-02 08:36:51 +00:00
Yuta HIGUCHI
b9125562d4 GossipLinkStore: removedLinks could be accessed concurrently by advertisement
Change-Id: I64cc3c5614182b6d6a8c2bf1dfa99e3f25fb9817
2014-12-02 08:24:17 +00:00
Brian O'Connor
7a71d5da7b Added WITHDRAW_REQ Intent State for ONOS-146
Fixed flow removed from other instance

Change-Id: I22c88a447e26770fea8b7e23f4a78b1389077ad1
2014-12-02 00:13:46 -08:00
Madan Jampani
8d21c790ee LeadershipService API change: Using NodeId in place of ControllerNode.
Change-Id: I6f688506c3672977456fc6921b26e98be2239632
2014-12-02 04:55:15 +00:00
Jonathan Hart
f5e3580f8d Modified the MultiPointToSinglePointIntentCompiler to prevent duplicate packets
Change-Id: Ifb7609be04ed8a0330b7a0b47420ca33af0656c6
2014-12-01 20:46:01 -08:00
Yuta HIGUCHI
5cd352d057 IntentStores: only post Parking states
Change-Id: I7ed3f2e38d71b5a5f83a47d582326576b7da52f1
2014-12-01 20:16:02 -08:00
Brian O'Connor
5d55ed4c16 Bug fixes for Intent Manager
ONOS-343

Change-Id: I164c52b41080392c4b27a3969f270171558599a6
2014-12-01 18:35:24 -08:00
Brian O'Connor
a44dda5333 Suppressing PathNotFound exception
Change-Id: If92b4de390917c56b637abb5bdd42c2f97be507b
2014-12-01 17:42:41 -08:00
Brian O'Connor
86f6f7f011 Adding Leadership Listener to IntentBatchService
ObjectiveTracker uses Leadership Listener to track intents that
it has become the leader of.

Change-Id: I039accb30d27ad718d79a9fec3f546dbdc78e62e
2014-12-01 17:16:55 -08:00
alshabib
a9819bfd1f fix intent issues yuta observed
Change-Id: I7dc4a19d49a1b3fc18ecce02a4018cbc9a3043fc
2014-12-02 01:16:09 +00:00
alshabib
afc514afde when a switch vapourizes so must its ports
Change-Id: Ibcbcc47f691c24897985978a39da9dba6411ba2a

disable a port which is deleted

Change-Id: Ic6e0cb0a9901a6589b587aeb89bfc1b302d17516
2014-12-02 01:06:00 +00:00
Ray Milkey
ff5177375c Fix Javadoc typos
Change-Id: Ieaf96e9e4bb217b1def0edb080cf4ea6af533b10
2014-12-01 21:16:51 +00:00
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