1921 Commits

Author SHA1 Message Date
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
Jordan Halterman
5ecdb34b70 [ONOS-6832] Implement missing methods in CachingAsyncConsistentMap
Change-Id: Idd4cd6f8e4550c1fca1a887909d5d49103fa5c6d
2017-07-26 17:07:09 +00:00
Ray Milkey
64313cbc83 Starting snapshot 1.11.0-SNAPSHOT 2017-07-20 15:46:52 -07:00
Ray Milkey
7e28519e5f Tagging 1.11.0-b2 2017-07-20 15:45:28 -07:00
Jordan Halterman
035231e82c Upgrade to Atomix 2.0.0-raft-beta1
Change-Id: I9f3345eb0107ee0079fec8980542678ee9d6f01f
2017-07-20 19:04:15 +00:00
Sbhat35
3548bb24db Test enhancements for DocumentPath, UiTopology, DistributedClusterStore
Change-Id: Ib4fb1e72555bde20237eef036efa24072c1ce41b
2017-07-20 17:34:39 +00:00
mskala
0d0c6831cc [ONOS-6806] Add getAvailableDeviceCount method to DeviceStore
Change-Id: I3f9e0bbd502e2a592da98436685fa2a192436ef8
2017-07-13 23:42:34 +00:00
Jordan Halterman
2bf177cfa3 [ONOS-6594] Upgrade to Atomix 2.0.0
Change-Id: I6534bca1c8570b4e017f682953b876da29146675
2017-07-13 20:29:21 +00:00
Jordan Halterman
66e6e3bfe6 Preserve ordering of messages in NettyMessagingManager to simplify distributed systems protocols and improve performance.
Change-Id: I8797f57c7f136dccb14c772faec515274462de51
2017-07-11 20:56:38 +00:00
Brian O'Connor
740e98ca1b ONOS-6758 Enable TLS by default for intra-cluster communication
Default key store location is config/onos.jks with password changeit

Change-Id: I07cbc09abb22fd8e98fe39a012ce0a65d17d8e39
2017-07-07 23:36:06 +00:00
Sbhat35
ee3132cb6c test enhancements
Change-Id: I28ac2733e6e1ee96810a47500d59d6b54aab3157
2017-07-06 18:29:53 +00:00
Ray Milkey
f14cc6d3c2 Fix SNAPSHOT version string
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Jordan Halterman
f7c7f6f229 [ONOS-6401] Implement dynamically computed timeouts for NettyMessagingManager
Change-Id: Ie2673603a2251983c9e0a166020b4feec041e84c
2017-06-26 17:36:18 +00:00
Ray Milkey
7463193198 Starting snapshot 1.11-SNAPSHOT 2017-06-23 16:46:27 -07:00
Jordan Halterman
b6ee9e966f Prevent serialization errors from causing recursion in the Copycat transport
Change-Id: I0a1b0737d6cda3d7ab63bb26a7547d2f9124a434
2017-06-22 19:50:45 +00:00
Jordan Halterman
83949a1bd8 Limit string field lengths for network/configuration objects
Change-Id: Ic375854bb697ee21a8fd7b15fccd0b0878212869
2017-06-22 19:49:52 +00:00
Yuta HIGUCHI
baaf8dc070 Removing redudant space before import
Change-Id: I3948ae41ff7fbd4e257c0e6730e345345282f5e6
2017-06-22 01:40:40 +00:00
Yuta HIGUCHI
10e91fb0f7 Count number of FlowRules in parallel
Change-Id: Iec5ffdac0b46e2103619aad6675ee0f873cbf5e5
2017-06-21 22:56:39 +00:00
Carmelo Cascone
416057415f Support for generic table IDs in flow rules
This change is needed to let appications specify tables in flow rules
using indentifiers that are not numeric, e.g. using table names as in a
P4 program.

This change deprecates the FlowRule.tableId() method, in favor of
FlowRule.table(), which returns an object of type TableId. However, it
does not deprecate the .forTable(int tableId) builder method, since it
is used extensivelly in the ONOS code base and from external
applications.

Deprecating FlowRule.tableId() does not seem to be such a painful move
since it is used less frequently, e.g. only 22 usages in the ONOS tree.

Change-Id: Idaaaab53d0c1e20a1f9c7de84de09ec3a42648b5
2017-06-21 17:10:21 +00:00
Patryk Konopka
7e40c01118 [ONOS-6607] Get active flow entries count in FlowRuleService
Change-Id: I68b4d916f92427c06a82d3622fcc05738f64541c
2017-06-20 15:43:27 +00:00
Jordan Halterman
e1558e8a74 [ONOS-6642] Disable versioned field serializer by default
Change-Id: I63aba4f56fbce786f1b965f7a9c133d17aeb3ad7
2017-06-15 23:57:08 +00:00
mskala
4b2081a631 [ONOS-6635] Device is not updated when chassisId change
Change-Id: I68c49666c5a980364599408c39047e11c963e8bc
2017-06-15 16:53:32 +00:00
Jordan Halterman
c10a501791 [ONOS-6636] Implement backwards/forwards compatible versioned Kryo serialization
Change-Id: If859ea61473401abd8b8f606aec0f1586a042a2a
2017-06-13 21:25:11 +00:00
Charles Chan
888e20a25d Remove host location when port down or device down
Also refactor Host Location Provider

Change-Id: I57d682ee51e80ddd7e141883521a12da705a336d
2017-06-13 18:58:10 +00:00
Saurav Das
c88d46642c CORD-1304 Set of changes for fabric routing to optimize use of ECMP groups
Also removing some old demo code in the SR app
Adding a couple of CLI commands for debugging
Bug fix in the DistributedGroupStore for group_exists error message
Bug fixes for ofdpa driver:
    - synchronized update of flowObjectiveStore when buckets are added to or removed from groups
      to avoid one thread from overwriting an update from another thread doing an update at the same time
    - addBucketToL2FloodGroup now updates flowObjectiveStore after accounting for changes
    - addBucketToHashGroup accounts for all added buckets, not just the first one

Change-Id: I6207c1c3c1b4379986805d73a73bc460fea8fe3f
2017-06-13 04:22:10 +00:00
Yuta HIGUCHI
9eed0b1a34 Revisit Annotations merging
- avoid extra instantiation/copying when possible

Change-Id: Ia2f74a1fe2ff1176346316565c9bc6786cd7f6e4
2017-06-12 21:19:29 +00:00
Ray Milkey
2bf5ea7bf6 Remove deprecated code left over from removing ConfigProvider
Change-Id: Ib47e345d764abfe8254a0ff0d24d3f6b6f4a4b68
2017-06-05 16:50:56 +00:00
Ray Milkey
0c6182f643 Remove deprecated proxy ARP implementation
Change-Id: I43164581b5d823acb4617cbea78e670cb7499346
2017-06-02 23:42:53 +00:00
Ray Milkey
686fba0b67 Remove deprecated MPLS Intent classes
Change-Id: I6f4d6fd84ce41c26b8a30f5c0881c42c67a1f209
2017-06-02 23:40:46 +00:00