1436 Commits

Author SHA1 Message Date
Sho SHIMIZU
25e32ec5e3 Remove constructs deprecated in Emu from old resource API
Change-Id: Ia4fd5d4c45d91b82b78ace18e96512c800adfcd6
2016-03-24 19:29:33 +00:00
Sho SHIMIZU
05b24f8fd1 Remove LinkResourceStore and its implementations
They were deprecated in Emu

Change-Id: I4272c7788bcd74ad7f272392a67b07bde6b09df4
2016-03-24 19:28:38 +00:00
Thomas Vachuska
fba7f3d972 ONOS-4137 Adding a "ready" check-mark glyph to the node instances.
Introduced a new INSTANCE_READY type of ClusterEvent.

Change-Id: I7f77ebae56cb18c196cd3ec7f2735faa4ca363db
2016-03-23 23:10:44 +00:00
Jonathan Hart
b11c4d0ae9 Allow list-type config to be POSTed to subjectkey/subject/configkey endpoint.
Also add validation that the given JSON node is appropriate for the config
type (list vs object).

Change-Id: Ib1c12b538860a6f18b8311c5f5a786608c04beb8
2016-03-23 20:54:02 +00:00
Thomas Vachuska
7a8de847ad Added ability to track whether or not node has all components running fully.
Change-Id: Ib2b90c7a842976a3b3a9711367fa1eed43103b17
2016-03-23 19:10:15 +00:00
HIGUCHI Yuta
060da9a13a Improve Executors related logging behavior
- Specify Logger for the Executor
- Use Executor#execute instead of ExecutorService#submit for
  fire and forget type of usage.
   Note: submit() will swallow thrown Exception

Change-Id: I507b841dc3feedf4ad20a746c304518d68fb846a
2016-03-23 17:57:16 +00:00
Madan Jampani
65f24bb7f3 Moving to Atomix version 1.0.0-rc3
Change-Id: I75572a52b530741f482455d59922327121a03999
2016-03-22 22:38:10 +00:00
Madan Jampani
0da01a47f8 Do not wrap exception with TransportException
Change-Id: Ifd59da2a78a7c95a78758cbcf7a5fe015ed25f13
2016-03-22 22:37:58 +00:00
Saurav Das
8be4e3a4cb In this commit:
Removing dependence on hashing for unique groupkeys in ofdpa driver.
    Group-store no longer removes groups from store if a group-operation fails due to GROUP_EXISTS.
    Group-store also checks for unique group-id when given by app.
    Group-provider now logs warning before making call to core.

Change-Id: I4a1dcb887cb74cd6e245df0c82c90a50d8f3898a
2016-03-22 18:26:04 +00:00
HIGUCHI Yuta
49e03a3406 Remove testDb file after JUnit run
- Using TemporaryFolder rule should ensure that they'll be removed
  regardless of test results.

Change-Id: I75539ae38aa0a8c3f8c00437f28c007422cd72c6
2016-03-21 22:07:35 -07:00
Sho SHIMIZU
4e2149e120 Remove LambdaConstraint as IndexLambda is soon removed
Change-Id: I1b0a2b3e09d87bb2b8cf39136de15d0f3368f589
2016-03-21 19:52:10 +00:00
Saurav Das
244311924c CLI command to help debug the mapping of next-Objectives to the
groups that are created by device drivers.

Change-Id: Iff9e04e5e96b2cabbdb40e83215315d2e27791a6
2016-03-21 18:04:20 +00:00
HIGUCHI Yuta
805d96c5a4 Fixes for Persistent{Map, Set}
- Remove unnecessary repository in pom
- Move Tests to appropriate path/package
- cosmetic fixes

Change-Id: I017293837626a976fe64f811583bb6e314edbd65
2016-03-17 13:29:09 -07:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176 Tagging 1.5.0 (Falcon) 2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8 Starting snapshot 1.5.0-SNAPSHOT 2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285 Tagging 1.5.0-rc3 2016-03-09 13:47:32 -08:00
Madan Jampani
07b54481a2 Disable Atomix unit tests until some stability issues are resolved
Change-Id: If6bd5756bacc2c8d6ff01eecd173db7e5e4b966c
2016-03-09 19:14:06 +00:00
Heedo Kang
4a47a304c4 More APIs permission for new ONOS APIs
Change-Id: I43fee65254adca451f77431bfbf5accdf95b81ab
2016-03-09 00:54:41 +00:00
Thomas Vachuska
096bcc8995 ONOS-4129 Fixing issue where two pending configurations with the same config key, but for two different subject classes are encountered.
Change-Id: I4de7f6e22bdf038dff91630f4cf576d9c38e9807
2016-03-08 17:17:49 +00:00
Saurav Das
0fd79d91ea Group handling changes:
Edge case fix in group store where extraneous group buckets are updated so the group can be reused
      Bug fix for broadcast group in OF-DPA as there can only be one l2flood group per vlan
      Group operation failure codes are now reported by the provider to the core
      Group ids are displayed in hex in a couple of places

Change-Id: Ib48d21aa96e0400b77999a1b45839c28f678e524
2016-03-08 02:12:14 +00:00
Simon Hunt
5829c346b8 Fixed defect in CachingAsyncConsistentMap (wrong method call).
Change-Id: I5873d1476ac68e6c2ee4462e629b00313214ef36
2016-03-07 17:01:43 -08:00
Simon Hunt
afae2f71fc Apps-- added onos.app.title property to applications.
Change-Id: Id845390ee0bee5b871c0ce9f47b2ce98fbcf26b9
2016-03-07 19:30:59 +00:00
Madan Jampani
9c159378d7 Fixes how primitives and map keys are mapped to partitions
Change-Id: I68c9acabb400108def6eda394e2d5c8444ea5800
2016-03-04 17:08:02 -08:00
Madan Jampani
f172d40250 Cluster scaling enchancements
- Updated ConfigFileBasedClusterMetadataProvider to handle both file and http protocols.
	- Server open logic updated to handle joining an existing cluster.

Change-Id: Idbaa39733c7bf814510c94c4b21e3714b3f97f8f
2016-03-05 01:06:30 +00:00
alshabib
6cb8636739 fix removal of rules in a distributed setting
Change-Id: I44cb49990b8051f5f1542c11cbda6846049906e3
2016-03-04 21:34:13 +00:00
Thomas Vachuska
5d8994ffce Starting snapshot 1.5.0-SNAPSHOT 2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9 Tagging 1.5.0-rc2 2016-03-03 17:08:36 -08:00
Madan Jampani
0b84753fb9 Moving group store to consistent map
Change-Id: Id3c23c0cd9d7c713bceffc7bd9125aa3de99c45e
2016-03-04 00:06:00 +00:00
Madan Jampani
e60388716f Handle duplicate listen requests submitted to the state machine
Change-Id: I9f17be5a751f7f2b17f8e89232dc0403ca260137
2016-03-03 20:28:54 +00:00
Madan Jampani
27a2a3d318 Code clean up in ConsistentMap and LeaderElector resources
Change-Id: I1834188393f19e37394c32047538e6027522a13d
2016-03-03 17:05:43 +00:00
Madan Jampani
40f022ee59 Default ConsistentMap consistency level to SEQUENTIAL and reenable all Atomix unit tests
Change-Id: Ic04ff81fbaaa7c007f20077391a72fdfa9fd382a
2016-03-03 06:46:08 +00:00
Madan Jampani
a9e70a632e [Falcon] Adds a status field to InternalMessage and support for replying with appropriate status when handler errors occur
Change-Id: I995bdd6c67b88b6d7729887d32083315213fb79f
2016-03-03 01:02:42 +00:00
HIGUCHI Yuta
06cf658408 Explicity add generic type to help type inference on ECJ.
Change-Id: I9e1537fad13690c2f7f10af52922fdcb85f71125
2016-03-02 08:16:50 +00:00
Madan Jampani
3354745389 PartitionManager support for reacting to cluster metadata changes
Change-Id: I65e358f5cb47e9420fae9589661ba0ce45f58df6
2016-03-01 21:17:33 +00:00
Brian Stanke
d09e2ee3bc ONOS-4018 - Enhance the DistributedRegionStore to make sure that a
device ID appears in at most one Region's list of devices.

Change-Id: I6d30fab2c09544c68f49b11682f08ee8ded060fe
2016-03-01 20:10:48 +00:00
Jian Li
b6d998ecc7 [ONOS-4014] Refactor *Id classes to extend from Identifier class
- Refactor most of *Id classes in onos-api package
- Refactor all of *Id classes in incubator package

Change-Id: Ief6322d3fb42c80e82f695e9d4dcee439346215b
2016-03-01 03:50:43 +00:00
Madan Jampani
931e97dbc5 Remove base (p0) partition in StorageManager
Change-Id: Idae636173a9638da19f391e203bec0bccb399328
2016-02-29 19:12:58 +00:00
sangyun-han
ad84e0ca12 [ONOS-4004] DistributedStatisticStore and DistributedFlowStatisticStore make configurable
- Using @Property and @Modified annotations
- Fix DistributedPacketStore / DistributedStatisticStore / DistributedFlowStatisticStore

Change-Id: I6c907498496b9f21a8ef13b7badeb24770cb88ff
2016-02-25 21:19:11 +00:00
Madan Jampani
64d3721fe1 Remove retry logic from NewDistributedLeadershipStore
Change-Id: I1eac3bda717ca227874ebac46fd5840247bfbe11
2016-02-25 20:52:42 +00:00
Sho SHIMIZU
25938a5bdf Add logging in ConsistentResourceStore
Change-Id: I8ce8236669c149f2ee810c5ff2c71591fa5a843c
2016-02-25 18:58:57 +00:00
Madan Jampani
630c88281d Update StorageManager.getPartitionInfo() to delegate to PartitionAdminService.partitionInfo()
Change-Id: I20aa9f986874e6ac7c602b8ae58b7c7b0df9a835
2016-02-25 03:27:54 +00:00
Sho SHIMIZU
739873bf8e Move IntentSetMultimap to the intent package
As it is no longer resource related

Change-Id: I068bf4bbff33492e3a508c4a4d7a5908a47ee83b
2016-02-24 03:32:59 +00:00
Madan Jampani
c94b485f05 Fix StoragePartition to return a furture for opening partition client + Fixes in AtomixLeaderElector
Change-Id: I6adf91e84cc17aec8acc895884dc8fbe75037978
2016-02-24 02:34:28 +00:00
Madan Jampani
f1d87ca565 Use ConsistentMap (and not the local cache) when querying leader for a topic
Change-Id: I979a4ab116ed68406a6702fe175ba5eab444116c
2016-02-23 17:24:24 -08:00
Madan Jampani
db2afd3fab Publish a list of changes when leadership changes occur
Change-Id: I99a4e239ac5aa9999b3a735cdf004941a5957a93
2016-02-23 16:26:45 -08:00
Madan Jampani
0c0cdc6de7 AsyncLeaderElector APIs in support for mastership balancing
Change-Id: Ia235c6a18c54490dc49ca13e2caebf70b750dbc7
2016-02-24 00:15:14 +00:00
Madan Jampani
72282af713 Fixes some issues that were preventing intent tests from running
- LeadershipStore to support serving getAllLeaderships from cache.
 - Removed a changed to KryoNamespaces that was causing serialization issues. Instead moved that type registration to McastStore.

Change-Id: I06acf1a397b6a982c0dfd0ebc0830b2161cf23a4
2016-02-23 23:26:19 +00:00
Sho SHIMIZU
67c9010cdf Change the behavior of resource registration to fix ONOS-3827
Treat as a failure when ID is found but the value is not found

Change-Id: I032d25885897d662e49223a7b506eda8e5550a36
2016-02-23 19:31:00 +00:00
HIGUCHI Yuta
b49b007c3f Add some serializer related sanity check
Change-Id: I5ebdde41f5528b5bad0c704b11c191afed45691e
2016-02-23 07:54:48 +00:00