Yuta HIGUCHI
0c6e184044
Trigger MastershipEvent on no more master case
...
Change-Id: Iaac7b7d021802e7470df061dad719dcdf0e4b73e
2014-11-05 23:49:24 -08:00
Yuta HIGUCHI
75ae30dba7
for got to ammend to prev
...
Change-Id: Ie4bb5b5f53fcf0036f0d48bab3cdcd88ced24fc4
2014-11-04 14:33:09 -08:00
Yuta HIGUCHI
3e5d11ab1e
Add GossipLinkStoreTest
...
Change-Id: If3d9777583a38d911b19bb1bc50212ccb621918a
2014-11-04 14:16:44 -08:00
Yuta HIGUCHI
c9c9e2262e
fix type mismatch
...
Change-Id: I5f0994ebbb46bb7bfe5926a27923f0971b58729a
2014-11-04 09:17:08 -08:00
Jonathan Hart
a887ba8ae0
Refactored the HostStore to allow multiple MAC addresses bound to a single port
...
Change-Id: Icd3b2e483b15486251ac1cca107478a012d1a3e7
2014-11-03 17:14:10 -08:00
Yuta HIGUCHI
2fcb40ce06
FlowRule subsystem bugfixes
...
- RULE_ADDED will be posted when the Flow was confirmed by stats,
even if they were installed as a batch
- Properly handle batch in Simple store
Change-Id: I0a0e15b29ff9c0d56d5a646e0751511d73c8f552
2014-11-03 14:49:27 -08:00
Yuta HIGUCHI
13c0b87df5
Add API in DeviceClock*Service to check if Timestamp can be issued.
...
- check local DeviceClockProviderService before trying to
store Port update information.
Change-Id: I22c94cb712d7001a227497b723780b6db3fbdf04
2014-10-31 23:21:38 -07:00
Toshio Koide
32336182cc
Initial implementation of unit tests for SimpleLinkResourceStore.
2014-10-30 13:02:47 -07:00
Yuta HIGUCHI
dfe6e3bd05
allow null Master in MastershipTerm
...
Change-Id: I840354eb6d0b5a1bac91887a41626c33c49d592c
2014-10-30 12:10:24 -07:00
Toshio Koide
69e5257d32
Fix bugs on SimpleLinkResourceStore.
2014-10-30 11:14:56 -07:00
Jonathan Hart
4f60f98bd8
Implemented multi-instance packet out.
...
We've defined a PacketStore abstraction through which outbound packets are
sent. The packet store has a simple implementation (basically a no-op) and a
distributed implementation on top of the cluster messaging service.
Change-Id: Ib32753314fe518ef1fd67c858db744b004539938
2014-10-30 11:02:52 -07:00
Toshio Koide
106d4495d3
Initial implementation of LinkResourceStore for single instance env.
2014-10-30 04:23:23 -07:00
Thomas Vachuska
d16ce18d0c
Added Port.Type and plumbed it throughout.
2014-10-29 17:25:29 -07:00
Thomas Vachuska
bd8c988f24
Merge remote-tracking branch 'origin/master'
2014-10-28 15:53:35 -07:00
Thomas Vachuska
c0bbbd4f89
Allowing link stores to create links injected by ancillary providers.
...
Fixed oe-linc config
2014-10-28 15:53:30 -07:00
Yuta HIGUCHI
10a31c3b85
initial Distributed IntentStore using Hz
...
Change-Id: Iffb3f5fdfe8ba080fd039e67f8473ea18348f20d
2014-10-28 14:42:06 -07:00
Thomas Vachuska
4f1a60c9fd
Revised copyright message.
2014-10-28 13:39:11 -07:00
Pavlin Radoslavov
444b519327
Replaced the usage of IpPrefix with IpAddress in the context of
...
Controller Nodes.
Change-Id: Id2b25fb071bb20541db3f77b7afefe886520538e
2014-10-28 10:45:19 -07:00
Thomas Vachuska
e0f804aa3f
Added application ID store; both trivial and distributed variants.
2014-10-27 23:40:48 -07:00
Pavlin Radoslavov
33f228af5a
Replaced IpPrefix and IpAddress in the following methods
...
and cleanup related code:
- Host.ipAddresses()
- DefaultHost.ipAddresses()
- HostDescription.ipAddress()
- DefaultHostDescription.ipAddress()
- HostService.getHostsByIp()
- HostManager.getHostsByIp()
- HostStore.getHosts()
- GossipHostStore.getHosts()
- SimpleHostStore.getHosts()
- ProxyArpService.known()
- ProxyArpManager.known()
As a result of the above cleanup, the "hosts" CLI command outputs
the IP addresses as "1.2.3.4" instead of "1.2.3.4/32".
Also, the following REST calls might be affected as well with
the above format replacement:
- REST POST: config/topology
- REST GET: topology/graph
2014-10-27 19:33:16 -07:00
Pavlin Radoslavov
76b0ae2789
Work toward common IP address classes.
...
* Updated classes PortAddresses (in core/api) and Interface (in sdnip)
to use class InterfaceIpAddress instead of IpPrefix
* Updated corresponding unit tests and relevant code
* Minor refactoring inside ProxyArpManager to simplify some of the
logic and usage related to PortAddresses. Also, renamed
method findOutsidePortInSubnet() to findPortInSubnet() and updated
its implementation to reflect better its usage.
2014-10-27 15:33:19 -07:00
Ayaka Koshibe
b62aab5c29
fix relinquishment behavior in SimpleMastershipStore
...
Change-Id: Ibc9eeae397b7acc9e08cc569f9c8a642557bf4f9
2014-10-24 13:15:25 -07:00
Madan Jampani
719b3c505e
FlowRuleStore no longer supports applicationId based APIs
2014-10-24 11:42:07 -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
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
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
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
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
Yuta HIGUCHI
a85542bd5c
LinkStore bugfix. avoid DIRECT -> INDIRECT transition
...
Change-Id: If2a4c3e5e33f705a73374010cd7941167cef1aaf
2014-10-21 19:31:02 -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
Thomas Vachuska
c96058ae4d
Refactoring intent API.
2014-10-20 23:00:16 -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
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
Ayaka Koshibe
da1cda69a0
Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
2014-10-18 18:43:08 -07:00
Yuta HIGUCHI
605347c288
modified SimpleFlowRuleStore not to use MultiMap
...
Change-Id: Ie9adb127f1acb4d919951c75513e689fbd80596d
2014-10-18 18:03:14 -07:00
alshabib
75e774203d
Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
...
Conflicts:
core/store/hz/net/src/main/java/org/onlab/onos/store/device/impl/DistributedDeviceStore.java
core/store/hz/net/src/test/java/org/onlab/onos/store/device/impl/DistributedDeviceStoreTest.java
features/features.xml
tools/test/cells/office
Change-Id: I08e6d7c6a0bdaae072dd50ff7ac36d94f16d77e1
2014-10-16 18:03:40 -07:00
alshabib
7911a05aae
lldp discovery independent of OF
...
Change-Id: I720f727f6628e30e5d732e6d7bf742d1b7050812
2014-10-16 17:49:37 -07:00
Yuta HIGUCHI
dd841b79ca
backport GossipLinkStore changes back to trivial.
...
Change-Id: I7900b33ac47aa890692f6598a85ff92a9c14a5f6
2014-10-16 13:46:09 -07:00
Yuta HIGUCHI
2c546a1ef8
backport GossipDeviceStore changes back to trivial.
...
Change-Id: Ic21835d65f1902769f3ab51d3c9c6174c4e3a16b
2014-10-16 12:44:42 -07:00
Thomas Vachuska
0a608ac7d9
Pruned duplicate dependencies and plugins from several core related pom.xml files.
2014-10-16 11:15:59 -07:00
Ayaka Koshibe
760a7f9745
Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
...
Conflicts:
core/store/serializers/src/main/java/org/onlab/onos/store/serializers/KryoPoolUtil.java
Change-Id: I6a8fc884f0c0b6578762d7b439177378e838735f
2014-10-16 10:57:12 -07:00
Yuta HIGUCHI
5fa3dc09e7
GossipHostStore: add AE support
...
- modified HostDescription family to hold Set of IpAddresses
Change-Id: Id920fdc83817802885e8528af185a5ad590bf999
2014-10-15 17:12:58 -07:00