3094 Commits

Author SHA1 Message Date
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
5e8ceb455e checkstyle fixes
Change-Id: Ida02536e61f61b8883810866d28bdaad206f645d
2014-11-04 17:22:26 -08:00
Madan Jampani
08822c4243 DatabaseService that uses Copycat Raft to provide a strongly consistent and durable database. 2014-11-04 17:17:46 -08:00
Yuta HIGUCHI
34a01f2f0c LinkFragmentIdTest
Change-Id: Iaa462b142d3cb65be4715f38a1b8188c273dd395
2014-11-04 15:58:43 -08:00
Thomas Vachuska
edc944c3fc adding constaints to intent API 2014-11-04 15:42:52 -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
e9b2b00b99 Add missing synchronized
Change-Id: Ie391feb6ef0fa79ea859e89e8a2fd51d59f03cea
2014-11-04 12:59:52 -08:00
Yuta HIGUCHI
4e34886d41 Add copy constructor
Change-Id: If9b50a8e5db29e4bae2c93b51f34c5e043563094
2014-11-04 10:31:43 -08:00
Thomas Vachuska
c5ea9504e9 Modified envDefaults to use Karaf 3.0.2 2014-11-04 10:25:46 -08:00
Yuta HIGUCHI
d6a0ac308a log timestamping error on Link remove
Change-Id: Ia333fb4f9c4af3642482f626e5660e0339d13995
2014-11-04 09:26:31 -08:00
Yuta HIGUCHI
c9c9e2262e fix type mismatch
Change-Id: I5f0994ebbb46bb7bfe5926a27923f0971b58729a
2014-11-04 09:17:08 -08:00
Yuta HIGUCHI
275fb6b459 move duplicated repository config to root pom.xml
Change-Id: I5c1f8aebaadab07a7675cbe5467b07b24bf768e1
2014-11-04 08:33:41 -08:00
Yuta HIGUCHI
5c94727a3c javadoc fixes
Change-Id: I3b4fc2d99f42b2413a535fb411b9c19bdd186ad8
2014-11-03 21:39:21 -08:00
Yuta HIGUCHI
ed4adf4068 repo settings for copycat
Change-Id: I7965684f9f9c67c65c7e114f061afef04dac4c3a
2014-11-03 19:33:14 -08:00
Yuta HIGUCHI
53afd5b62a Forward Device remove to MASTER
Change-Id: I5bf0fc76ffd04d5a1165d24e82eedd7993ec95be
2014-11-03 18:25:20 -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
Ayaka Koshibe
15f4d60aaa small fix to Mastership event EntryListener for inverted condition check
Change-Id: Idd830437efb3766e82f8c6601ddd5ea7b33bf108

Conflicts:
	core/store/dist/src/main/java/org/onlab/onos/store/mastership/impl/DistributedMastershipStore.java
2014-11-03 16:26:27 -08:00
Yuta HIGUCHI
909d226386 Workaround for PathIntent serialization issue
Change-Id: Ic0a36391ff22247d20d3e2b185c4d867a4e81780
2014-11-03 15:46:22 -08:00
Praseed Balakrishnan
5c324331e3 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-11-03 14:56:44 -08:00
Praseed Balakrishnan
2dd5abd17f Optical Treatment to include SigType 2014-11-03 14:56:28 -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
780b138a52 minor bug fix
Change-Id: Icfe2f2b5cfefa6fc8a7e55ceb86a6785e57f04b3
2014-11-03 14:49:27 -08:00
Yuta HIGUCHI
d4ab8085df relay BACKUPS_CHANGED as ReplicaInfo
Change-Id: I72abd05e7d2d4a2c448323ad304c8f21b1d6a90b
2014-11-03 11:09:38 -08:00
Thomas Vachuska
9d8f72fb55 Removed unneeded import that was breaking the build. 2014-11-03 10:14:05 -08:00
Yuta HIGUCHI
3e848a8eb8 add methods to directly set MacAddress
Change-Id: Idab9dce493927d8943789177830df630f3b1326a
2014-11-03 09:29:59 -08:00
Yuta HIGUCHI
4ce6529f90 Instructions: bug fix
Change-Id: Iaee3baaa9545a3ce61d7d6cacec125cb1249b346
2014-11-02 20:21:33 -08:00
Brian O'Connor
fe0f4b1c3a Adding resource-{available,allocated} CLI commands and lots of toStrings
Change-Id: Ib23eda2d9feb523e23dc33fb437994267b4cc555
2014-11-02 00:34:10 -07:00
Ayaka Koshibe
98bd12f69c modificiations to emit BACKUP_CHANGED Mastership events
Change-Id: Id61dcc9dc42c8c246313afbec8d19142e6c855a5

Conflicts:
	core/net/src/main/java/org/onlab/onos/net/device/impl/DeviceManager.java
2014-11-01 20:13:37 -07:00
Yuta HIGUCHI
548153202c Changed argument from Device -> DeviceId
- roleChanged(), isReachable()
   Eventually consistent nature of Device store was
  interfering with mastership control.

Change-Id: I9c0dd846a4e30863f922f6706c6cb62fd7c83f29
2014-11-01 09:45:23 -07:00
Yuta HIGUCHI
6c6fb9c65d deactivate NettyMessagingService
Change-Id: I59a437908570c9acc2776c2b0deedb869cf953e2
2014-10-31 23:21:39 -07:00
Yuta HIGUCHI
d26354db11 revisiting DeviceManager role handling
Change-Id: If7765b38e2eda99ca210316429a8e65d482c2791
2014-10-31 23:21:39 -07:00
Yuta HIGUCHI
cc8e96ebc6 DeviceStore: lower log level
Change-Id: Ie606adee293d42775d8051ea7b4d064ed3ba7943
2014-10-31 23:21:39 -07:00
Yuta HIGUCHI
20c0e97b83 check applicability before accepting remote port update
Change-Id: I047881fcc412819558f8d32c30476512e47ae902
2014-10-31 23:21:39 -07:00
Yuta HIGUCHI
2c1d847ec4 Dist.FlowRuleStore: return empty when no master
Change-Id: I377003b5e1631ead05ab3d32bf670f52372de55d
2014-10-31 23:21:39 -07:00
Yuta HIGUCHI
2d3cd31c61 log message fixes in DeviceManager
Change-Id: Ia07cfa936d171a31c619e1ee13d6df5f80d7e629
2014-10-31 23:21:38 -07: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
Yuta HIGUCHI
8cc437828a fix javadoc
Change-Id: I9b2a36acaaf8d2cd01687c526d53e839bc9a9aa7
2014-10-31 23:21:38 -07:00
Pavlin Radoslavov
b139f4d947 Added support for IPv6 to IpAddressSerializer and IpPrefixSerializer. 2014-10-31 21:14:14 -07:00
Pavlin Radoslavov
af5ff79583 Added new method IpAddress.valueOf(InetAddress inetAddress)
and use it as appropriate inside DistributedClusterStore.memberAddress()
2014-10-31 20:51:47 -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
Ayaka Koshibe
3ef2b0db6c vertical feedback path for Role replies
Change-Id: I31bdb85f90901ec79147adeea0df8ceae00ed1dc
2014-10-31 14:02:54 -07:00
Thomas Vachuska
442d26a9cf Added javadocs. 2014-10-31 08:45:14 -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
Thomas Vachuska
4b42077418 Cleaned up a slew of Javadoc errors in preparation for switch over to Java 8. 2014-10-30 16:46:17 -07:00
Yuta HIGUCHI
2befc661d9 Loosen Kryo config only for DistributedIntentStore
Change-Id: Ie3f05e2d894b0d44f7c0ad645b77c65d1f2ce02b
2014-10-30 15:57:49 -07:00
Yuta HIGUCHI
d40e950c71 use termService field
Change-Id: I56998905db4f0403e8c244937a788555dea37823
2014-10-30 15:43:45 -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
Thomas Vachuska
96f4d47578 Merge remote-tracking branch 'origin/master' 2014-10-30 14:10:57 -07:00
Thomas Vachuska
7b652ad97c Fixed some javadoc warning/errors.
Fixed NPE error in objective tracker.
Preparing for upgrade to Java 8 and Karaf 3.0.2.
2014-10-30 14:10:51 -07:00