Yuta HIGUCHI
9796cc623d
HazelcastIntentStore: workaround to provide Event subject on WITHDRAWN
...
Change-Id: Ie9562d2223fb7e7a89f91f5faaad4bbeec6f4bd9
2014-12-04 07:10:55 +00:00
alshabib
0ad84ec76d
setting periodic calls to reasonable intervals
...
Change-Id: I92f790ff3ea632d39bf6656201addf0346dcbd98
2014-12-04 06:58:29 +00:00
Pavlin Radoslavov
0d972b9594
Fix the logic for printing a log message
...
"Intent ... removed installable still found", and change the level
from INFO to WARNING.
[Discussed with Yuta]
Change-Id: I0b40559de10983c3330f1174e3ab1cbe06f07b32
2014-12-04 05:46:15 +00:00
Jonathan Hart
1e37d561ef
Suppress stacktrace of benign exception when computing topology
...
Change-Id: Ifb1e4ae9d46c1db6a0c918b7a750f5f54bdfd67b
2014-12-04 04:51:26 +00:00
Sho SHIMIZU
30f45fbb0d
Refactor: add static factory method in BatchWrite, instead of in IntentStore
...
Change-Id: Ic0cecc4b3cc4facbc469d2eb87a36c4d5166a6f2
2014-12-04 02:53:26 +00:00
Ray Milkey
e9a3e22234
Add some test cases to Intent Manager tests
...
- test that getIntents() returns the proper items
- test that subclass compilers work
- test the behavior of intents with no compiler
- test the behavior of intents with no installer
- test the behavior of installs that never finish
Change-Id: If0bff389e7fce2f71eb7a97051547dbd05ab588c
2014-12-04 02:52:57 +00:00
Pavlin Radoslavov
369c643802
Use two thread pools for handling the OpenFlow STATS and BARRIER messages.
...
This fixes a problem where a large number of incoming STATS messages
is practically using all available threds from the pool (16), and
there are no available threads to handle the BARRIER messages.
Change-Id: I1130eb8f3b5a17d5d3a7825f32da68eacb99569a
fixing other threadpool issues, ie. not using cachedThreadPool
Change-Id: I40ef10e1f704aef779b2a23c0497dfb7992520eb
2014-12-04 02:06:53 +00:00
Yuta HIGUCHI
81419e2fcd
HazelcastLinkResourceStore: bug fix for ONOS-379
...
Change-Id: I783b51d4d937918c0bca9feb09d29263266145ee
2014-12-03 17:02:40 -08:00
Yuta HIGUCHI
7a9fdddb81
IntentManager: give each thread a uniq name in ThreadPool
...
Change-Id: I64c2e45aba3ae65a747271d02d1d9b83bcfc848c
2014-12-03 17:02:40 -08:00
Yuta HIGUCHI
c1ee6746aa
DeviceIdSerializer: use case normalized String
...
Change-Id: I6995e224ed5567e3d2d65dac3891252dd8c4dd7b
2014-12-04 01:02:19 +00:00
Sho SHIMIZU
351e2f63ef
Add ToDo comment
...
Change-Id: I4fc91ab84122629054c06a1dd4ec89b3cc0045b5
2014-12-04 00:57:26 +00:00
Sho SHIMIZU
64ae11c73f
Move nested class to top-level class
...
Because BatchWrite is public and no need to place it as an inner class in
IntentStore interface
Change-Id: I17e87e06baa4f0af55fa30b09a891bc23932a6fd
2014-12-04 00:57:01 +00:00
Yuta HIGUCHI
6b98ab6141
Dist.FlowRuleStore: log operation, when encountered no master situation
...
Change-Id: I6b6df423f747f35248c4f675147dfd32e471e1b5
2014-12-04 00:53:33 +00:00
Praseed Balakrishnan
1516f489ca
Fix NP found during optica re-route on multi-instance
...
Change-Id: Ia7d9c221b36e1224004273b3884b8d0385af086d
2014-12-03 16:34:36 -08:00
Sho SHIMIZU
4c464fb01d
Correct indent
...
Change-Id: I4ff249f604813ab42b7f61d5ca12be68eb7bf596
2014-12-03 23:23:58 +00:00
Yuta HIGUCHI
43772d7125
HazelcastIntentStore: fix checkstyle issue
...
Change-Id: I1a912e44dbaa6798095ebec17d61f4a3074d6004
2014-12-03 14:14:22 -08:00
Yuta HIGUCHI
36dd7e4422
FlowRuleManager: properly name thread pool
...
Change-Id: I4a804c5b7eca9f746746773e36fba10e5d920811
2014-12-03 14:14:22 -08:00
Praseed Balakrishnan
db8a9d21f9
Fix serializer exception while using optical intent on distributed store
...
Change-Id: If19a0c12eb0d88d2daa57c16fb1b626b7c0f428f
2014-12-03 21:44:22 +00:00
Sho SHIMIZU
e63e51e424
Prohibit null in instantiation
...
Change-Id: If5229337d1531eae25cbd2b31ca8e6a117d022f3
2014-12-03 21:39:55 +00:00
Yuta HIGUCHI
427a2147ab
NPE fix for ONOS-379
...
Change-Id: If928809b3f29c1e7e457c84ba229279137196b35
2014-12-03 11:48:56 -08:00
Yuta HIGUCHI
acdec3140a
NPE fix for ONOS-379
...
Change-Id: If9f68de9355ac3c0154935f61be3322752cfd8ea
2014-12-03 09:15:49 +00:00
alshabib
64def641af
aggregate flow replies on io thread
...
Change-Id: I622290f213ee830cfab7e4bd4ad7a52f612b475e
2014-12-03 09:07:40 +00:00
Brian O'Connor
abafb50f58
Changing org.onlab.onos package to org.onosproject
...
Change-Id: Ic81421faa27acdcff045add47d9e0a715cd4f575
2014-12-02 22:26:20 -08:00
Brian O'Connor
03defe7939
Moving org/onlab/onos to org/onosproject
...
Change-Id: I742627fe0862cac78391cf70010f99dc26dce1e6
2014-12-02 22:22:39 -08:00
Thomas Vachuska
164fa5c9ad
GUI fixes/breaks.
...
Change-Id: Ic5c8b087cc32506162153b2756a677c7d9e3bdd7
2014-12-03 06:07:33 +00:00
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