1815 Commits

Author SHA1 Message Date
Yi Tseng
fa394defdc Fix for ONOS-5175. GroupId refactoring.
Science DefaultGroupId was deprecated, remove it from ONOS

Change-Id: I82394e58ec1ba10c37492ed77546e233de9f934f
2017-03-24 21:13:57 +00:00
Deepa Vaddireddy
6690f59006 Fix for ONOS-6149-Not able to configure heartbeatInterval and
phiFailureThreshold properties in DistributedClusterStore

Change-Id: I31b29d7233bb6e328b6b6c14fcdbfd3b367e4a59
2017-03-24 15:55:16 +00:00
Thomas Vachuska
e2bd115395 Changing default path separator to "|" to unblock dynamic config demo.
Change-Id: I154f369d71ceee26bde6516a978f332a15d389e5
2017-03-23 13:42:32 -07:00
Jordan Halterman
041534b290 [ONOS-5992] Ensure futures for failed messages are completed using the supplied Executor in NettyMessagingManager.
Change-Id: Iafbd829c649f5be94a146470df3a13b74eaa1064
2017-03-21 23:41:28 +00:00
Yuta HIGUCHI
9f111e6e6e ONOS-6081 Do not throw Exception when queried for unknown resource.
Change-Id: I3b5c7306350c8f175e809e41611b5cabb844fe92
2017-03-13 18:51:14 +00:00
sivachidambaram subramanian
5168f61dc7 ONOS-6082
Change-Id: I245168114e97a9dac8f7f9e8ded2f51b858f423d
(cherry picked from commit 12c08c07dbb6ca9f54a8be7f96ac2bd6d80c709d)
2017-03-13 18:32:44 +00:00
Jon Hall
e2c1db3ff2 Bump atomix from 1.0.2 to 1.0.3
Change-Id: I8814e38f0db1fe820f9c29c88a4a398e9a5e5ea9
2017-03-08 21:01:55 +00:00
Jordi Ortiz
1b1a3b41a9 BitSetSerializer
Change-Id: I34f9125721bfd32609e46e17fbf6a3493f77c828
2017-03-06 21:18:37 +00:00
Jian Li
c3e6270481 Bugfix: Remove duplicated subscriber reg. for receiving async msg
Change-Id: Idecde74a4d8e2586d33350168b1d6432204671e5
2017-03-03 16:49:15 +00:00
Jon Hall
9a44d6a38b Add a close listener for Client Connections
This is a part of [ONOS-6075]

Also
 - Add some more logging
 - Change depericated netty options to the new option

Change-Id: I8abb87b53e9c3d3c706af2c3b9da1e54d55e9b07
2017-03-03 16:45:42 +00:00
Jordan Halterman
73e5cce634 Replicate UpdateAndGet commands using FULL replication to ensure consistent event sequences on all servers for consistent maps.
Change-Id: I5263166653128a4ec0f4ce44395f609cbd1c7f2d
2017-03-03 16:20:01 +00:00
Jordan Halterman
742bd093e5 Remove unnecessary memory copy from values() call in Netty mesaging service.
Change-Id: If673adeef3839e51154ac9d7f94967fbdc2712dc
2017-02-28 18:35:12 +00:00
Jon Hall
5e1504a65b Bump atomix from 1.0.1 to 1.0.2
Change-Id: Ie95a2dd1920ddfad69bbfbb38eff185cd4501e68
2017-02-27 23:44:18 +00:00
Jonathan Hart
ad0c302174 Add HashMultiset Catalyst serializer - used in ConsistentMultimap.
Plus catch serialization exceptions during message receive, simplify
implementation of HashMultisetValueCollector, other minor cleanups.

Change-Id: Ia50b39205a8241f456ee90ef765a8e478da868ab
2017-02-27 19:18:20 +00:00
Charles Chan
29ecdeee0f Do not override configured hosts
- When multiple host providers add the same host, the configured one will always win
- A provider can only remove a host provided by itself

Change-Id: I38d95cceed6f36c71b8417ce6812bbd5add10e57
2017-02-24 14:00:36 -08:00
Jordan Halterman
9a710b2ff8 Ensure appropriate leader elector state machine commands are marked with the SNAPSHOT compaction mode to prevent premature exclusion of the commands from the Atomix replication protocol.
Change-Id: I9fd8ca56f652399f8fa3101e4904ad3fefbb368b
2017-02-24 20:42:20 +00:00
Jon Hall
f756d87e56 Bump atomix from 1.0.1-rc1 to 1.0.1
Change-Id: I4bfc68de90d2d4e6d83737dcc2c0737be9484709
2017-02-24 11:46:14 -08:00
Michal Mach
ce774338fa [ONOS-5911] Port removal after receiving OFPR_DELETE port status reason.
Change-Id: I1f3f6c752da5f989a2d727f378e9f04fbbb71341
2017-02-23 00:24:21 +00:00
Yuta HIGUCHI
56a7a6b8e0 Log missing application dependency.
Change-Id: I649b3d8efe758ae65f8a821ceea0b50db66e267d
2017-02-23 00:22:21 +00:00
Kavitha Alagesan
c884c3eff1 ONOS-5816
Change-Id: I595fa04b9083bcbfe275b0342bcda0c4f1ecc8f5
2017-02-21 16:43:24 -08:00
Yuta HIGUCHI
4019786cef Allow Link.Type transition to types other than DIRECT
Change-Id: Ib7accc4d055c269afc28308bdda31768e05199c2
2017-02-21 18:39:08 +00:00
Ray Milkey
07b5935cba Fix debug statement broken by previous checkin
Change-Id: I4cb376146a288a111d39e3d873d528d30dd7965e
2017-02-17 18:22:49 +00:00
Ray Milkey
ac0a82d7ba Suppress stack trace due to a network timeout that can be recovered from
Change-Id: I93f741e194fb96e7f1a681cdc8463d453e2e2bbc
2017-02-16 23:11:57 +00:00
Luca Prete
670ac5dd95 Resource group to share resources between intents
Change-Id: I5bf7d4261197449924d07dabac841cf8ccbe9389
2017-02-16 21:14:05 +00:00
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
Pier Luigi
e6caf6877b Fix for [ONOS-5875]
- Delays the resubmitting of Intents in Installing/Withdrawing state

Change-Id: I0ccb214053429749752929fcf78f968beb950a79
2017-02-07 11:02:28 -08:00
Pier Luigi
13b287fe31 Fix for [ONOS-5825]
Changes:
- Adds exception management in the mgr;
- Improve logging of the clean up;

Change-Id: I3ca94761e5b4550b7f8df34e9de4a481bc546be3
2017-02-07 18:30:36 +00:00
Jordan Halterman
c955df7a63 Implement Atomix AsyncAtomicCounterMap, AtomicCounterMap and state machine.
Change-Id: Ifd7f60ae8dcfe7239e034a92654b4ef30ffe46ae
2017-02-07 18:00:19 +00:00
You Wang
66b77fa26b Fix for [ONOS-5849]
Change-Id: If0dc5f40a1a248742bfb75ef68ee425cecb710fe
2017-02-07 17:28:16 +00:00
Jordan Halterman
0c83e8469c Improve log compaction efficiency/correctness in AtomixConsistentTreeMap.
Change-Id: I977e60ce31eb8907f405760694b7f5b286fc3a2c
2017-02-06 18:53:09 +00:00
Jordan Halterman
260156ab66 Improve log compaction efficiency/correctness in AtomixDocumentTree.
Change-Id: I48305d38236c8f773928de1874b21ecc57a7a7de
2017-02-06 18:52:56 +00:00
Jordan Halterman
820e39fd0c Improve log compaction efficiency in AtomixConsistentMap.
Change-Id: I0d78df3e00e8253c9015504be77f026512bb4d08
2017-02-06 18:52:42 +00:00
Jordan Halterman
211ba6abae Improve log compaction efficiency in AtomixConsistentSetMultimap.
Change-Id: Ideb89cac72567726eb9bf67cf3ef19e7e00a9c83
2017-02-06 18:52:30 +00:00
Jordan Halterman
57a3c3dbc4 Improve log compaction efficiency in AtomixWorkQueue.
Change-Id: I0fbe163e35b610f77d490364eecfad253df9c939
2017-02-06 18:35:53 +00:00
Thomas Vachuska
2323596967 Added code to intent unit tests to pre-emptively unbind ID generator to avoid cascading failures.
Change-Id: I2e5aff44a90ceeaaad71d7154b79f20edab620a7
2017-02-03 11:44:15 -08:00
jaegonkim
7e876633c8 [ONOS-5903] Intents always installs first path. Traffic path load is not distributed.
+ Adding HashPathSelectionConstraint
            + Adding '--hashed' option in add-point-intent cli for intent hashcode based path selection
            + hashed path selection % size bug fix

Change-Id: I2e867934a0bbed66301118973d7e1d1483d7cb0e
2017-02-03 02:01:49 +00:00
Yuta HIGUCHI
eb28a7c208 marker resource for annotating installable intent
To be used for ONOS-5827

Change-Id: I1faa76915aacae42ade98533525108d22511aa38
2017-01-27 21:54:54 +00:00
Yuta HIGUCHI
b360bb0665 ONOS-5602 ProtectedTransportIntent
- Intent to create a linear protected transport entity.
  virtual Link is expected to be created as result of installation.

Change-Id: I34ec042072f131e745b9adf773620ab85aea1162
2017-01-27 21:54:54 +00:00
Andreas Papazois
055489695b ONOS-5855 Intent installer for Protection
- This patch is effectively combination of following to unblock
  protection related code:
  + Intent installer and operations for domain intents.
    Change-Id  Id4597baebf587b1bc9b3ae9013383ae50472fa4c
    by Andreas Papazois <andreas.papazois@gmail.com>
  + ONOS-5604 IntentInstaller for protection
    adds ProtectionConfigOperationContext
    Change-Id Ia9f5ddd44c9765867b5e2daaa7a7478c1dc2f2e3
  - removed dependency to Intent Domain related classes.

Change-Id: I027eedb020b3f4240c545dc92e47c4262d8b6ec6
2017-01-27 21:54:54 +00:00
Aaron Kruglikov
4fc7c26423 Fix for ONOS-5906 Asserting latch has reached zero and increasing wait time to avoid later assertion error.
Change-Id: I9625a38433fe5eeee074b2453cd2d96ded5d5717
2017-01-26 15:20:59 -08:00
Yuta HIGUCHI
ed9adccdee Disable AtomixWorkQueueTest failing under heavy load
- Workaround for ONOS-5906

Change-Id: I910603ce575774192c933bb458234998b81d9f31
2017-01-26 18:35:25 +00:00
Yuta HIGUCHI
d9340033c4 ONOS-5908 exclude removed Devices
- MastershipService#getDevicesOf is created based on Leadership topic,
  which can contain removed Device.

Change-Id: I2760d2af5cd766f5eb48fb1cba964300476bd64e
2017-01-25 19:46:22 +00:00
Victor Silva
0282ab8e95 [ONOS-5797] GroupService: add setBucketsForGroup
Add method to set all buckets from a group, overwriting the
previous group buckets entirely. Useful for edits that before
required two operations: removing the buckets and then adding
others. It can all be done with one OF message in the end.

Change-Id: Ic5669603ed4fd18b8efaa8d0253ab9d7b1e870f5
2017-01-25 17:13:44 +00:00
Andrey Komarov
2398d960b9 Vector cost proposed to TST on 2016-07-13
First part implemented: weight interface introduced and integrated, default weight implementation added.

Change-Id: Ia46f1b44139069aa171a3c13faf168351bd7cc56
2017-01-23 17:27:20 +00:00
Jonathan Hart
5dc9a4e5ce Bumping netty dependency versions to 4.1.5.Final.
Including test fixes.

Few more places referencing atomix version

Change-Id: I48fb8fa255624a86ae12117845603f7d53f1c29e
2017-01-20 20:31:57 +00:00
Thomas Vachuska
1cf1fa4c69 Fix for ONOS-4618.
Change-Id: If36e50d64a53e8c49aaafabe195bc057e7e17b74
2017-01-20 00:26:20 +00:00
Ray Milkey
287b4ae810 Starting snapshot 1.9.0-SNAPSHOT 2017-01-19 15:21:17 -08:00