Madan Jampani
719b3c505e
FlowRuleStore no longer supports applicationId based APIs
2014-10-24 11:42:07 -07:00
Madan Jampani
f5fdef014a
getFlowEntries now operates correctly in a distributed setting
2014-10-23 21:58:10 -07:00
Thomas Vachuska
8ac922dad8
FIxed checkstyle fails.
2014-10-23 16:17:03 -07:00
Yuta HIGUCHI
9def047b78
DistributedFlowRuleStore: remote batch support
...
Change-Id: I373a942697624440e025a8022a13394396058a71
2014-10-23 15:54:47 -07:00
Madan Jampani
98c17607d8
Broadcast shouldn't give up before attempting to unicast to every memeber
2014-10-23 15:33:23 -07:00
Yuta HIGUCHI
868def0f97
minor changes to RoleValue
...
Change-Id: Id870843c53549439e88ada40e8b2ef5513b8e4b7
2014-10-23 12:14:37 -07:00
Yuta HIGUCHI
87102541a9
attempt to fix buffer underflow
...
- IMap#get usually returns clone of original value,
but when the type is byte[], it returns the original value.
- During the deserialization process, Kryo temporarily modifies the input buffer,
which may cause problem when multiple threads were reading the same value.
- applying clone only to value deserialization for now,
since it is unlikely that caller will be modifying Map key
Change-Id: I52214ba711b4060663b0e1c451f49bdd1d472ea9
2014-10-23 12:14:37 -07:00
Yuta HIGUCHI
e5ca93bf1f
fix some of findbugs issues
...
Change-Id: I20aa54af16f3a1e3323d735fe53cc26c03d5e52e
2014-10-23 12:14:37 -07:00
Madan Jampani
31961c1409
Resolving merge conflicts
2014-10-23 12:06:58 -07:00
Madan Jampani
117aaae1fd
Towards a distributed flow rule store
2014-10-23 10:04:05 -07:00
Thomas Vachuska
65b3583a63
Merge remote-tracking branch 'origin/master'
2014-10-22 23:35:54 -07:00
alshabib
f6c2ede95f
remote stats service functional
...
Change-Id: I4ebc4c565b7ee7533b5bd1a0379f54470223ba0e
2014-10-22 23:31:50 -07:00
Thomas Vachuska
0e752bdbb4
Added link types of TUNNEL and OPTICAL.
...
Fixed the optical config json file.
Fixed treatment of links added by ancillary providers.
Added a trap for topology provider errors.
Added CLI to recompute topology.
2014-10-22 22:33:41 -07:00
Yuta HIGUCHI
02eacfec68
ClusterMessageResponse to provide Future interface
...
Change-Id: I6d43382a1b572f34c5d7d1d41ca1e41dd472f6f2
2014-10-22 20:42:59 -07:00
Yuta HIGUCHI
4cf23cede7
KryoSerializer usage fix
...
Change-Id: I48e578b33f4c13272a4aa780ee6718e38c2cbea8
2014-10-22 20:37:30 -07:00
Ayaka Koshibe
a7384a83d8
fixes related to getRole() assumptions
...
Change-Id: Icf19d95714dc217200eed021a495d9a78440ca8e
2014-10-22 18:59:34 -07:00
alshabib
44521eccf6
Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
...
Conflicts:
core/net/src/test/java/org/onlab/onos/net/flow/impl/FlowRuleManagerTest.java
Change-Id: I23a7b1bff399c95499a39f7a00563650f58b7210
2014-10-22 18:36:02 -07:00
alshabib
3d643ecc8d
functional stats service
...
Change-Id: I90de3aa5d7721db8ef6a154e122af8b446243f60
2014-10-22 18:33:00 -07:00
Thomas Vachuska
56dbeb18d3
Fixed a defect that allowed ancillary device providers to overwrite primary provider's data.
2014-10-22 16:40:44 -07:00
Ray Milkey
5154ec3e91
Fix some unchecked conversion warnings
...
Change-Id: I5cfb0fceb6ab1d200fb1d7e9849ce458a2aa8ac7
2014-10-22 11:05:43 -07:00
alshabib
2374fc9e45
many fixes from different people in various place. Optical, FlowRuleManager, LinkDiscovery
...
Change-Id: Ie3302e80ee94bf2e41b3da7ac765557b1e7509fd
2014-10-22 11:03:23 -07:00
Pavlin Radoslavov
2ca9cf2e5c
Replaced another instance of deep nested "if..else" statement with
...
"switch..case".
No functional changes.
2014-10-22 10:39:40 -07:00
Pavlin Radoslavov
c8ccbd958c
Replaced deep nested "if..else" statement with "switch..case".
...
No functional changes.
2014-10-22 09:59:37 -07:00
Yuta HIGUCHI
e8252bb91a
removeDevice on non-master node to silently ignore the request
...
instead of throwing IllegalState exception
Change-Id: Ida778ec112e80507fb05921e49297350d74dc519
2014-10-22 09:43:24 -07:00
Madan Jampani
6f065271f3
Removed fixed TODO. Cleaned up logging
2014-10-21 22:02:16 -07:00
alshabib
574afdab6a
Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
2014-10-21 20:13:31 -07:00
alshabib
dfc7afb1a7
distributed link fixes
...
Change-Id: Iefede001a76834599a5629d843a4325283e42711
2014-10-21 20:13:27 -07:00
Yuta HIGUCHI
a85542bd5c
LinkStore bugfix. avoid DIRECT -> INDIRECT transition
...
Change-Id: If2a4c3e5e33f705a73374010cd7941167cef1aaf
2014-10-21 19:31:02 -07:00
Madan Jampani
871009392c
Added NettyMessagingService constructor that accepts both ip and port
2014-10-21 16:46:12 -07:00
Ayaka Koshibe
fc981cff24
MastershipEvent carries RoleInfo as a subject
...
Change-Id: I8f850ad1f21bfbdc23fedda1a53f4ccedb1b8d32
2014-10-21 12:44:36 -07:00
Yuta HIGUCHI
f3d51bdbc0
Initial DistributedDlowRuleStore
...
- known bug: responding to ClusterMessage not possible.
Change-Id: Iaa4245c64d2a6219d7c48ed30ddca7d558dbc177
2014-10-21 01:08:55 -07:00
Yuta HIGUCHI
40d017769a
switch to ImmutableList
...
Change-Id: Ia5f8936d0aaf447253f5dde0db1ee688441d2472
2014-10-21 01:08:55 -07:00
Yuta HIGUCHI
85d58d13cc
register more flow related classes
...
Change-Id: I812285c26ab12ca84458492c929b2fd48ca97480
2014-10-21 01:08:55 -07:00
Thomas Vachuska
b97cf28766
Refactoring intent API.
2014-10-21 00:21:24 -07:00
Thomas Vachuska
1c184f1df9
Merge remote-tracking branch 'origin/master'
2014-10-20 23:03:42 -07:00
Thomas Vachuska
c96058ae4d
Refactoring intent API.
2014-10-20 23:00:16 -07:00
Yuta HIGUCHI
2809bf37e7
serialization related fixes for flow related classes
...
Change-Id: Id7e1241cc73645bd87b61eac4ca45acd35ad22ca
2014-10-20 22:44:56 -07:00
Yuta HIGUCHI
406a565c56
add dummy IntentStore to core-dist
...
Change-Id: I9b56ba07f3f953bdfc9269f44ac13a86bbf6eed7
2014-10-20 22:44:55 -07:00
Yuta HIGUCHI
2fcfde9f0d
Register FlowId to Kryo
...
Change-Id: Ic6bff17cff78f8b95350a97e89782e9c6ae8ce7e
2014-10-20 18:51:10 -07:00
Yuta HIGUCHI
94ffdd4b2a
SimpleFlowRuleStore to support FlowId collision
...
Change-Id: I750a733146e9dfd6984cb701bdcc21d0fd61a14d
2014-10-20 18:05:59 -07:00
Jonathan Hart
11096406ca
Changed some non concurrent structures to ConcurrentHashMaps in
...
SimpleIntentStore and OpenFlowRuleProvider.
Also improved logging in IntentManager so exception stack traces are logged.
Change-Id: I72f5e20893bda633dc36ea271a0f56c0ddb7fb5a
2014-10-20 17:38:38 -07:00
Ayaka Koshibe
abedb0998d
MasteshipService, store, and CLI commands use RoleInfo
...
Change-Id: Ibc569498a67d33d088e5c9f89c6bb1f45eadc26e
2014-10-20 17:31:11 -07:00
Ayaka Koshibe
67af1f4247
add roleInfo structure and backup_changed mastership event
...
Change-Id: Iedee219fe250d681377d73a50a71f5fa72cd7802
2014-10-20 17:31:10 -07:00
Madan Jampani
e0ec329402
Fixed imports
2014-10-20 16:10:51 -07:00
Madan Jampani
5e83f333ca
Netty native transport (epoll) support
2014-10-20 15:35:09 -07:00
Yuta HIGUCHI
8d143d2a01
Rename KryoPool -> KryoNamespace
...
Change-Id: Ife1c311b40eaab133bb3b8dd3314b98c60b4411d
2014-10-20 09:11:06 -07:00
Yuta HIGUCHI
aaac0d7a54
KryoSerializerTest to test KryoSerializer instead of KryoPool
...
Change-Id: If92e12be730ed2553686f4a3927ddd49f226cf20
2014-10-19 17:57:47 -07:00
Yuta HIGUCHI
f6f50a6471
FlowEntry must not be modified outside store.
...
- Remove set method from FlowEntry
- Storing last seen timestamp for FlowEntry eviction locally on FlowManager.
FlowEntry eviction based on packet counter will take longer time to timeout
after master Node change.
Change-Id: I7134d698dd5b9bf7cca379c5ba7c4fbcc2e3d5f3
2014-10-19 15:58:49 -07:00
Yuta HIGUCHI
58e404363f
remove debug log
...
Change-Id: I2389df3d5ce272f8767f4f63682e4fc5e52401ab
2014-10-19 15:43:41 -07:00
Yuta HIGUCHI
c01d2aa1bc
GissipLinkStore: lowering log level
...
Change-Id: I4e9ec3e9849ab84308c97b5da7d6cf955baf526c
2014-10-19 01:19:34 -07:00