1949 Commits

Author SHA1 Message Date
Jordan Halterman
1b80726535 Bump Atomix dependency version to 2.0.0
Change-Id: Ie70a4b938f849b2f23062317d68e0238fc09251a
2017-08-31 22:24:59 +00:00
Jordan Halterman
9b3a7ce954 Store flows rules asynchronously via master in DistributedFlowRuleStore
Change-Id: I5e41a982204e395d2a1ac05017905069d61dc702
2017-08-31 21:27:36 +00:00
Saurav Das
9df5b7c1f7 CORD-1583 More bug fixes in dual-ToR scenarios
- reentrant lock was not being used correctly
 - fixHashGroup in group handler was not updating global store correctly
 - linkUp was not being noted in seenLinks if configuration came after switches connected
 - serialization error in global objective store due to missing kryo for Sets
 - damaged routepath computation was not taking pair-devs into account
 - switch failures were leading to improper ecmpSpg graph updates, and missed hash-group changes
 - implemented more next-objective verification as group sub-system can go out-of-sync with objective-store

Change-Id: If3cfdd715e9b69820894b49def31f75ceb748863
2017-08-31 21:18:13 +00:00
Thomas Vachuska
484ae54b0b Fixing issue with app reactivation - temporary fix until ONOS-6977 is addressed.
Change-Id: I13bcb6935839aab1cb09035124edc7d7b293fa41
2017-08-29 22:45:46 +00:00
Jordan Halterman
8d8da598dd Support caching in AsyncDocumentTree primitive
Change-Id: I659a5c374891ece7083fa8bad5b1c52c9fa5c8d8
2017-08-29 18:27:01 +00:00
Jordan Halterman
cb1e02cf89 Partitioned DocumentTree primitive
Change-Id: I7e1712e1b7103756f9c8c6ad7118f8da5bb0fa2f
2017-08-29 18:26:09 +00:00
Jordan Halterman
6807c8f141 Upgrade Atomix to Raft final version
Change-Id: I834a3db17bca69855901abb967218135d3547bee
2017-08-29 16:52:54 +00:00
Jordan Halterman
5ceb38919a Remove autoboxing of message IDs in NettyMessagingManager
Change-Id: I632a8bdd2835247532421f4c91db1dc4d33f1818
2017-08-28 23:48:48 +00:00
Frank Wang
d8ab0961cc Fixs some misspellings
Change-Id: I03d23d8acca8789b430f74fdac80d287f0fa59df
2017-08-25 16:34:57 +08:00
Jordan Halterman
f7554093ad [ONOS-6870] Refactor DistributedFlowRuleStore to use DocumentTree for persistence
Change-Id: I5f0eccfeb0050ccf1959f3ca95bbd0a90406e4ba
2017-08-24 21:46:05 +00:00
Jordan Halterman
2c83a10829 Deprecate redundant StoreSerializer in favor of Serializer
Change-Id: I54a25747ed56d62acc418c01d7a8be1c40d90c26
2017-08-23 23:54:46 +00:00
Sithara Punnassery
61a8025e69 ONOS-6381 Transactional event listeners
Change-Id: I8f279d78323dea467796e8d37e3117a407af9f76
2017-08-23 11:10:38 -07:00
Jordan Halterman
d99bd79393 Remove unused test class in AtomixConsistentTreeMapTest
Change-Id: Id2c5f029c3187de0ef653684bf0509ef9991a48c
2017-08-21 17:44:44 +00:00
Ray Milkey
446f446a4f Refactor buck external dependencies
Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
2017-08-21 17:41:36 +00:00
Ray Milkey
aa279c014e Starting snapshot 1.12.0-SNAPSHOT
Change-Id: I92269af3b1103fc6622614a77681bd841438d050
2017-08-16 13:27:00 -07:00
Jayasree Ghosh
7d96d6ab7a Fix for ONOS-6041
Change-Id: I560f2ed2da811d00ec5911bfcbe47cc15d72aa6c
(cherry picked from commit df69ef9407bad893d71297ad7f88a10e367d5351)
2017-08-16 01:20:40 +00:00
Jordan Halterman
8a0b397534 [ONOS-6910] Handle null device events in createOrUpdateDevice
Change-Id: Ie6e65368ada0bd0dda06b309b7342b7905185c54
2017-08-16 00:48:22 +00:00
Sivachidambaram Subramanian
9f816decb8 ONOS-6151 Add group behavior in case of device master "null" is made inline with flow subsystem. i.e. group add is allowed when master is null, this gets added to the pending audit queue and when the device is up the pending group add request gets fullfilled
Change-Id: I6e67c03213cad5e5f8dbddbed8ffee55e3c877b3
2017-08-15 22:13:15 +00:00
Charles Chan
35a323233b CORD-1416 Implement multi-homing probing in HostLocationProvider
Also include following refactoring
    - Refactor the way we generate ARP probe
    - Remove some unused code

Change-Id: I96b1c47bd5731b7b38ef4d19a941d231b5d0054c
2017-08-15 17:08:47 +00:00
Sivachidambaram Subramanian
605104e536 ONOS-6084 Statistics were absent for the flows posted when device master was null. The issue is fixed with this code change
Change-Id: I15be1c65955e9ede797fa3438f70426db0c078a6
2017-08-14 21:32:38 +00:00
Jordan Halterman
4922a06097 [ONOS-6874] Implement nullable ConsistentMap
Change-Id: I82a232d376b230b06977b24f12364aa374c9c113
2017-08-14 21:12:27 +00:00
sisubram
4beea65381 [ONOS-6266] 'garbageCollect' is not working for groups after ONOS restart
Change-Id: I1e2a5c78d64f8f5cec6352011f3fc6362c9937e5
2017-08-14 20:49:54 +00:00
sisubram
1a100a98f4 [ONOS-6270] linkWeightFunction was set as 'geoDistance', it is still using default linkWeightFunction 'hopCount' after restart
Change-Id: I925869e88251465a65a7cc592c094cdbe2a4f0a4
2017-08-14 20:45:19 +00:00
Sbhat35
a94259f3c8 PartitionedAsyncConsistentMap test
Change-Id: I244e0f39608136afc965e8f2797409408c32aedc
2017-08-14 13:03:43 -07:00
Sbhat35
ffe02345e8 -Onos store refactoring
-Added unit tests for TranscodingAsyncConsistMap, AsyncDistributedSet

Change-Id: I744aef36a7086a941f7a3809ab632dbf7ec2c89b
2017-08-14 18:00:58 +00:00
Ray Milkey
d4ac0edb2f Starting snapshot 1.11.0-SNAPSHOT 2017-08-11 17:04:16 -07:00
Ray Milkey
6ecde1ff86 Tagging 1.11.0-b4 2017-08-11 17:02:33 -07:00
Jordan Halterman
d0d80350ba Support alternative ordering specifications for DocumentTree primitive
Change-Id: I89a99435bff44f8d37d6b529fbf735940e7d7210
2017-08-10 23:04:03 +00:00
Jordan Halterman
ebedbb5ab1 Store new devices locally to prevent race conditions prior to master->standby replication
Change-Id: I37b7b886856475fbcb0a838df49420c042ec8386
2017-08-09 18:20:21 +00:00
Ray Milkey
a9ae0d41f1 ONOS-6889 Move mcast from incubator to core
Change-Id: Icfc7294e7017b640321dd9343778cd11c2cd0cb8
2017-08-09 15:15:32 +00:00
Jordan Halterman
e853d035fd Ensure DocumentTree exceptions are properly returned to clients on getChildren calls
Change-Id: Ia374be077f89fd4ed6ad81aafa4d1b9d506bd0bd
2017-08-07 22:45:56 +00:00
Jordan Halterman
93fd012e03 Use consistent hashing for map keys
Change-Id: I9a3e7947c0ffa7b39569b8b6164bd84051c3e543
2017-08-07 22:32:27 +00:00
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Jordan Halterman
70df7679dd Throw ConcurrentModification exception when ConsistentMap compute call conflicts with concurrent operation(s)
Change-Id: Id07868873929f4f413878961c154b62933f3a3f2
2017-08-04 00:48:18 +00:00
Jordan Halterman
e3813a9324 [ONOS-6868] Improve Netty message encoder/decoder performance
Change-Id: I6b4e2490fecb15bb20d9a8bb19fede3b53327bc1
2017-08-03 00:38:38 +00:00
Jordan Halterman
eabae96ca7 Prevent duplicate events on null versions in DistributedClusterStore
Change-Id: I7204570955b9b04bab0c0904b95c58acf8c94797
2017-08-02 23:04:07 +00:00
Jordan Halterman
13d25a1023 Change ConsistentMap key hasher to use sha256
Change-Id: Ia83322cc314b178dd438a4c7a05e7ab3bac4ad3d
2017-08-02 16:37:56 +00:00
Jordan Halterman
e7f363e892 Refactor how PartitionedAsyncConsistentMaps are constructed to remove the need for serialization when mapping keys to partitions.
Change-Id: Ia0d43f2adf66a3b7e9f6bee312e8271ec98ee4af
2017-08-01 22:06:29 +00:00
Jordan Halterman
71635ae5ae Refactor AtomixConsistentMap to use separate operations per method call for better performance and control over operation semantics.
Change-Id: I948c5c73d4ab38c9c2b20f8c80ba01548f95dda6
2017-08-01 22:05:38 +00:00
Jordan Halterman
9052b20927 Remove equality check when replacing DocumentTree values by version to prevent conflicts with optimistic locks
Change-Id: I1325955828a562dc29261abdd62fa37463f84625
2017-08-01 22:01:58 +00:00
Ray Milkey
64677e99d9 Starting snapshot 1.11.0-SNAPSHOT 2017-08-01 10:48:08 -07:00
Ray Milkey
17463db855 Tagging 1.11.0-b3 2017-08-01 10:46:24 -07:00
Jordan Halterman
f70bf462f8 [ONOS-6756] Replicate node version information for ISSU
Change-Id: Ibd31c573990f2732b7abf8615ca914ffb77615ec
2017-08-01 16:03:57 +00:00
Jordan Halterman
b0ac590548 [ONOS-6869] Move blocking DocumentTree to core primitives package and implement default methods for constructing blocking primitives
Change-Id: I9c227a690a120dba7d9d89c6c9178c8b357b52aa
2017-08-01 00:27:26 +00:00
Jordan Halterman
9fa43031d9 [ONOS-6859] Cache Raft sessions for transactions
Change-Id: I96ec3dc4dee237483a56694e3f1c3075bb1161f7
2017-07-28 21:58:08 +00:00
Sbhat35
d975bdf090 dist store testing
Change-Id: Id22992cbd26bdc7ad60cd50b0c2132d4f28c6592
2017-07-27 18:47:00 +00:00
Sbhat35
7c90e4ba8e DefaultAsyncAtomicValue testing
Change-Id: Ie9ee38ca21e54d6a2ae3c6a6dc16cb37e03740b0
2017-07-27 18:46:31 +00:00
Yuta HIGUCHI
ab9fa37985 Initial empty value should not force overwrite existing.
Change-Id: Icb474a4b7d56b78238672f3cbb2cded435df98f5
2017-07-27 01:11:40 +00:00
Saritha
781984f3a5 Null check added to avoid null pointer exception for lasttimestamp comparison
Change-Id: Iab21c100c9bc4697b50a2c7894e254c3648e165b
2017-07-27 01:10:05 +00:00
Charles Chan
b1e9924f26 Fix bugs in host subsystem
- Configured flag is not updated when a learnt host is overridden by a configured host
- NetworkConfigHostProvider should override IP addresses provided by HostLocationProvider
- Adding some unit tests

Change-Id: Id764af6acfeb5fa8f02b5a17aadf686bd6ac97fb
2017-07-26 15:01:33 -07:00