65 Commits

Author SHA1 Message Date
Yuta HIGUCHI
1aa249ca74 separate basic classes from API
Change-Id: I110ebc7da395f60d8c95d8bb09c00bcc2a4f0547
2014-11-05 17:46:54 -08:00
Pavlin Radoslavov
17378efe35 Added Kryo serializers for Ip4Address, Ip6Address, Ip4Prefix, Ip6Prefix
Change-Id: Ib014bbe40b3df5c778e2d16d7b65b1cb62944e1c
2014-11-05 16:13:47 -08:00
Thomas Vachuska
7d0032bf8b Added constructors for serialization of the new constraint types and registered the types with the serializer pool. 2014-11-04 17:39:57 -08:00
Yuta HIGUCHI
5c94727a3c javadoc fixes
Change-Id: I3b4fc2d99f42b2413a535fb411b9c19bdd186ad8
2014-11-03 21:39:21 -08:00
Yuta HIGUCHI
3e848a8eb8 add methods to directly set MacAddress
Change-Id: Idab9dce493927d8943789177830df630f3b1326a
2014-11-03 09:29:59 -08:00
Pavlin Radoslavov
b139f4d947 Added support for IPv6 to IpAddressSerializer and IpPrefixSerializer. 2014-10-31 21:14:14 -07:00
Pavlin Radoslavov
d0e32d7486 Added support for IPv6 addresses to class IpAddress:
- For some of the methods, the IP Version needs to be specified by the
   caller. This applies to the IpPrefix API as well.
 - For now, everywhere IpAddress is used and the IP version has to be
   explicitly specified by the caller, we assume/specify IPv4.
 - Added unit test for class IpAddress: for both IPv4 and IPv6 addresses.
2014-10-31 18:11:43 -07:00
Brian O'Connor
41718fced1 Applied some fixes to Intents
- Use classname instead of class in IntentId
- Added hashcode and equals to LambdaResourceAllocation
- Untrack resources in IntentManger during uninstall
- Refactored common code in OpticalPathIntentInstaller
- Copied SimpleLinkResourceStore to DistributedLinkResourceStore
- Added a few unserializable files to KryoNamespaces

Change-Id: Ic35d102244972d5cf0c64482fd99e8c9bb1293a6
2014-10-30 16:59:19 -07:00
Pavlin Radoslavov
855ea2d5b9 Refactor the IpPrefix API and implementation:
* Now IpPrefix uses IpAddress to represent the subnet address
 * The IpPrefix subnet address is masked-out by the prefix length.
   E.g., IpPrefix("1.2.3.4/24") is now stored as IpPrefix("1.2.3.0/24")
 * Removed IpPrefix methods that are not used or don't apply anymore
 * Replaced usage of IpPrefix with IpAddress where appropriate
2014-10-30 15:32:39 -07:00
Yuta HIGUCHI
dfe6e3bd05 allow null Master in MastershipTerm
Change-Id: I840354eb6d0b5a1bac91887a41626c33c49d592c
2014-10-30 12:10:24 -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
Jonathan Hart
68fef9d95e Added modification instructions to Kryo
Change-Id: I4c571240560442aa6ac105c0ec6b3488641f0530
2014-10-29 17:30:03 -07:00
Thomas Vachuska
d16ce18d0c Added Port.Type and plumbed it throughout. 2014-10-29 17:25:29 -07:00
Yuta HIGUCHI
ea15015f7c convert anonymous class to nested class
Change-Id: I2d0770b80ca4806fabf31fd358ecb165d3e9f778
2014-10-28 22:55:14 -07:00
Yuta HIGUCHI
087019ba56 register some Intent related classes
Change-Id: I71ec0c7db930ffb9a1f2bc3da7c3de2f598ee5ee
2014-10-28 21:08:33 -07:00
Thomas Vachuska
4f1a60c9fd Revised copyright message. 2014-10-28 13:39:11 -07:00
Thomas Vachuska
e0f804aa3f Added application ID store; both trivial and distributed variants. 2014-10-27 23:40:48 -07:00
Pavlin Radoslavov
3f4ccb286d Updated the IpAddress serialization/deserialization
inside class IpAddressSerializer to exclude reading/writing
the prefix length for IpAddress, because it is not applicable.
2014-10-27 20:15:10 -07:00
Yuta HIGUCHI
9def047b78 DistributedFlowRuleStore: remote batch support
Change-Id: I373a942697624440e025a8022a13394396058a71
2014-10-23 15:54:47 -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
alshabib
f6c2ede95f remote stats service functional
Change-Id: I4ebc4c565b7ee7533b5bd1a0379f54470223ba0e
2014-10-22 23:31:50 -07:00
alshabib
3d643ecc8d functional stats service
Change-Id: I90de3aa5d7721db8ef6a154e122af8b446243f60
2014-10-22 18:33:00 -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
Yuta HIGUCHI
2809bf37e7 serialization related fixes for flow related classes
Change-Id: Id7e1241cc73645bd87b61eac4ca45acd35ad22ca
2014-10-20 22:44:56 -07:00
Yuta HIGUCHI
2fcfde9f0d Register FlowId to Kryo
Change-Id: Ic6bff17cff78f8b95350a97e89782e9c6ae8ce7e
2014-10-20 18:51:10 -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
Ayaka Koshibe
da1cda69a0 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-18 18:43:08 -07:00
Ayaka Koshibe
b5c63a0af2 fixes for mastership handoff race conditions
Change-Id: Ifed733df1bdc3b144b6a341a9322838ea2aacd72
2014-10-18 18:42:27 -07:00
Madan Jampani
38b250d77e Initial implementation for DistributedFlowRuleStore utilizing master/backup replication 2014-10-17 11:02:38 -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
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
Ayaka Koshibe
e8e4535e3c fixes for RoleValue serialization
Change-Id: Ie51d0e16a0623061790523920f6a22aa18e74517
2014-10-16 09:57:34 -07:00
Yuta HIGUCHI
b0995dfa8d suppress warning
Change-Id: Ic1fbe907c9e533eb4ed320efc13a313042edd132
2014-10-15 23:13:42 -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
Ayaka Koshibe
f9b02fc73f refactored MastershipStore to not use ILock
Change-Id: Ic254f6faddba3427d3380910ca90d3d65a29f40b
2014-10-15 17:07:05 -07:00
Yuta HIGUCHI
18ab8a9fc2 modified LinkKey creation to follow other id objects
Change-Id: Ie70444f9069486d0251482464595f5835cf12539
2014-10-13 12:01:11 -07:00
Yuta HIGUCHI
80912e6757 Separate cluster management and mastership management to separate packages
Change-Id: If1e399648451842da6dccc644b75b81337b105f9
2014-10-12 00:15:47 -07:00
Yuta HIGUCHI
47c4088281 Adding some tests for GossipDeviceStore + bugfix
Change-Id: Ic0d55fa499b1d66131f059b4a47cd105c55a6e63
2014-10-10 19:00:40 -07:00
Madan Jampani
2ff05591f5 Added GossipLinkStore with basic replication for link state. 2014-10-10 15:42:47 -07:00
Yuta HIGUCHI
0390ffb87b some pom file fixes
Change-Id: Iffdb6eeb6954551d0b11e8da237b86e905d4e714
2014-10-10 09:36:21 -07:00
Yuta HIGUCHI
8ee7d4cf79 Kryo related fixes
- remove dependency to kryo-serializers
- update kryo to 3.0.0
-- includes bug fix for protected constructor issue

Change-Id: Ib4cac77fe3943c58933bd92a058172f89ad628f5
2014-10-10 09:36:21 -07:00
Yuta HIGUCHI
9ee60f6b22 Device Anti-Entropy
- create Advertisement
- handler for Advertisement
- register handler, background thread to send advertisement

Change-Id: I99e8a7d68747970c34b3c25c6d0489769d251446
2014-10-09 20:01:59 -07:00
Yuta HIGUCHI
fa891c9a0f Revert "Refactoring to move code to right locations. Attempt at breaking dependency cycles."
This reverts commit 58819b4dcc697f63872bee9f3ddd41a0c4d8fca5.
2014-10-09 15:28:45 -07:00
Yuta HIGUCHI
d40483d52c Revert "Refactored code in an attempt to break dependency cycles"
This reverts commit 195af6e6b27c23c7beb98f4cd425e7d7ffff1ecd.
2014-10-09 15:28:45 -07:00
Madan Jampani
195af6e6b2 Refactored code in an attempt to break dependency cycles 2014-10-09 15:01:17 -07:00