Sho SHIMIZU
d29847f404
Refactor to avoid trivial errors in transactions
...
Include Fixing a bug not to commit the transaction on success
Change-Id: Ie1f823ab6d8fc6f54091d443d24ecc61336155da
2015-08-13 21:01:39 +00:00
Jonathan Hart
96c5a4ab2f
ONOS-2513 Fix entire MP2SP intent failing on partial connectivity loss
...
* Added PartialFailureContraint to MP2SP intent to allow partial connectivity.
This means the intent remains installed as long as at least one ingress point
can reach the egress point.
* Intents with this constraint are recompiled on ObjectiveTracker triggers
even if not in FAILED state
* MP2SP intent compiler can compute a partial tree if constraint is set
* ObjectiveTracker recompiles intents on any link event
* SDN-IP MP2SP intents now use PartialFailureConstraint
Ported from onos-1.2 branch.
Change-Id: I32eaa198fae1dfba021d9251c8f855573f0e1d7d
2015-08-13 17:38:55 +00:00
Madan Jampani
1151b55409
Remove usage of deprecated ClusterCommunicationService API
...
Change-Id: I56deac9f5b6977096a680a6eb7198d09aeb4f924
2015-08-12 16:11:55 -07:00
Madan Jampani
c156dd0418
Use mastershipService instead of replicaInfoService to determine device mastership
...
Change-Id: I9d07351bbd024e02b2b116dc011a8eac2f79cda1
2015-08-12 23:10:49 +00:00
Ray Milkey
24e60b3353
Unit tests for the flow objective store
...
Change-Id: I6223d973bba5e680396c338a3d8d0663a028d02b
2015-08-12 22:16:09 +00:00
Ray Milkey
b3c5ce2109
Unit tests for the distributed group store.
...
Change-Id: Ie8f00b9bbc1ba46a6f80e70f63d1fd853d64154b
2015-08-12 22:16:09 +00:00
Sho SHIMIZU
264e4b7136
Catch a specific exception, not generic Exception
...
Change-Id: I7e087de452e093b2d7bc3d098847d51b4dff9460
2015-08-12 12:22:14 -07:00
Madan Jampani
3d6a2f6612
ONOS-2429: Support for a relaxed read consistency mode in ConsistentMap
...
Change-Id: I7866d8d15de369fd23e482d66cc1c918c033f169
2015-08-12 11:24:30 -07:00
Madan Jampani
632f16bfd8
Destroy ECMap instances on deactivate
...
Change-Id: I2437582b8d878bbf57d8447cb7d93636c9fc0246
(cherry picked from commit 0fa172fd1bf39495b1f763bbfead6257e815027a)
2015-08-11 23:33:47 +00:00
Madan Jampani
a6d787bf41
ONOS-2440: Simplify DistributedQueue implementation by leveraging state change notification support
...
Change-Id: Id0a48f07535d8b7e1d0f964bd1c0623ca81d4605
2015-08-11 19:05:15 +00:00
Madan Jampani
bab51a4104
ONOS-2097: Ensure updates made via transactional map result in state change notifications
...
Change-Id: Iecc1b54d2c4c976278e77dbd825d3e3954c53602
2015-08-11 17:06:09 +00:00
Jonathan Hart
eb8c9476af
Created InterfaceService which maintains an inventory of interfaces
...
based on configuration data.
Change-Id: I98a360fd1b833885fcb41bf9bb8a6e81dc436fd1
2015-08-11 16:51:59 +00:00
Flavio Castro
41b1f3ab34
ONOS-2456 Added usage metrics to Atomic Counter and Distributed Queue plus refactored the code a bit
...
Refactored code plus instrumented AtomicValue and DistributedSet
Change-Id: I9c5f7c9f23d530131f15d3c98250ea33238dd2ec
2015-08-11 16:43:11 +00:00
Madan Jampani
15687d120a
Use thread-safe multimaps
...
Change-Id: I4e2d1d39fff29caa90159673dd3bd7ff82682c3c
2015-08-11 07:19:35 -07:00
Jonathan Hart
f44e42cf63
Fix for flow equality bug which can cause:
...
* multiple flows with the same match to be simultaneously present in the flow
store, and
* similar but different rule in switch and store, resulting in flows stuck in
PENDING_ADD state.
Fixes ONOS-2426.
Ported from onos-1.2 branch.
Change-Id: I4b4e444c3a6dba7e4d3278e9469069e2dbdb9b67
2015-08-10 21:16:19 -04:00
Madan Jampani
8566863454
Removed deprecated map change notification support
...
Change-Id: Ibff2e403129ee026092a24fc15b82e80ffb8dc48
2015-08-10 12:39:57 -07:00
Marc De Leenheer
0b8b2ef8db
ONOS-2041: Flows don't stay in PENDING_ADD forever on LINC-OE
...
Change-Id: I2f4aa8a9a714f0f2a1d8da5987467d5c3282a503
2015-08-07 17:49:01 +00:00
Sho SHIMIZU
70ee1ee340
ONOS-2445: Implement API to declare resource boundary
...
Change-Id: I91cd59a068a1ec2624089c3a60eb21e0bf7e12c7
2015-08-07 01:54:31 +00:00
Ayaka Koshibe
5373e76dc1
Managers refactored to use ConfigOperators:
...
o Device, Host, and LinkManagers now use respecive ConfigOperator
implementations to combine Descriptions with Network Configs. This
refactors work done in 3a0cdd57e7b2c2bbdc44743b780b072cb0475f2d.
o Touchups on ConfigOperator impls
Change-Id: I735e7e6bfa0c47c8727433aab804cb2782eebfff
2015-08-07 01:53:00 +00:00
Thomas Vachuska
b2c47a771a
Adding ability to synchronize topology clusters' broadcast trees.
...
Proxy ARP now supports deferred ARP replies until instance learns of the subject host location.
Change-Id: Ib3ee97c0812858b5b4972d945e9e6d2bd397d4c5
2015-08-06 17:38:02 +00:00
Ayaka Koshibe
f1cedf48e0
host config operator
...
Combination operator for host-related configuration information,
including tests.
Change-Id: I3631db111b7a1140badf1b9f323a3a5811ac7297
2015-08-06 16:06:37 +00:00
Ayaka Koshibe
0891129167
Refactoring BasicDeviceOperator:
...
It's no longer a subclass of BasicDeviceConfig.
Change-Id: Icb7cc7e133428a19ddd739e4135c59854b082488
2015-08-06 01:19:47 +00:00
Ayaka Koshibe
cc260d2256
link config operator
...
Combination operator for link-related configuration information,
including tests.
Change-Id: I25ce27b3465e87acc718fe50063bc72ce68d095f
2015-08-06 00:45:03 +00:00
Ayaka Koshibe
e39c23aa3a
Notion of config operators:
...
Added operator for combining configuration info for Optical ports
from various sources. Also includes minor tweaks to OpticalPortConfig,
and javadoc fixes.
Change-Id: I754b2e29f560b473d1f791025f8b8b18c8d75a13
2015-08-05 23:10:16 +00:00
Ayaka Koshibe
b1ffb0044d
device config operator
...
Combination operator for device-related configuration information,
including tests.
Change-Id: I0320f7b568979063947a37cf2749daae7a1a05f1
2015-08-05 20:28:40 +00:00
Ray Milkey
5b94aea988
Refactor event dispatch injector to use TestUtils field setter
...
Change-Id: I793183de883c7b20784957eaa213d79a42951639
2015-08-05 20:18:25 +00:00
Thomas Vachuska
320c58f38d
Refactoring to eliminate duplicate DefaultTopology and DefaultTopologyGraph; eliminating a few fixmes.
...
Change-Id: Ie0e38dbf812bafdb7c94bba5278f0dd9af5be929
2015-08-05 10:55:11 -07:00
Thomas Vachuska
930a8ee16a
Refactoring to eliminate duplicate DefaultTopology and DefaultTopologyGraph; eliminating a few fixmes.
...
Change-Id: I4461b6f1c8ae60d39f5da909bf6995294cbfa84d
2015-08-05 17:43:11 +00:00
Simon Hunt
3a0598f4a4
ONOS-1479 -- GUI - augmenting topology view for extensibility:
...
- Implemented server-side topo panel button descriptors, with overlay ability to remove core buttons and add custom buttons.
Change-Id: Id9ecc4c5e2d2db942232d2156ecf3bc858c0c61f
2015-08-04 19:59:14 -07:00
Ray Milkey
ae9faf1f37
Unit tests for the Network Config Manager class
...
Change-Id: Idc96f95acc79ed169abe9fbcbd64f85b8a6fb237
2015-08-04 23:43:47 +00:00
Thomas Vachuska
8044c094f6
ONOS-1679 Removed use of /tmp directory from various unit tests.
...
Change-Id: I1725f3807f51bc44756d90b5e41ae7fa3c56c55f
2015-08-04 18:20:37 +00:00
Jonathan Hart
94470fe8b5
Objective tracker doesn't need to react to port events
...
Ported from onos-1.2 branch.
Change-Id: I73ce4d09a0d8f9ba24d335798187de83f515d5a1
(cherry picked from commit e0ec88bda3e1002a4d27316ea1d01ddf27e68da1)
2015-08-04 17:59:48 +00:00
Thomas Vachuska
88fd690635
Adusted log-levels in flow store and packet manager.
...
Change-Id: I38748bfddfe1aae66bd8a6a9086575dc2e155078
2015-08-04 17:20:42 +00:00
alshabib
1d2bc40170
moving meter service to incubator and initial implementation of
...
meter manager.
Change-Id: I6ef0d9476b58d00b37f7ef156ac7bdacca20185b
2015-08-03 21:06:06 +00:00
Thomas Vachuska
409b9cbf72
Increasing tolerance for evicting latent listeners.
...
Change-Id: I3ab62084479185160ef7cc8ba5035a34cb96ad15
2015-08-03 16:37:44 +00:00
Madan Jampani
971b2eb7e4
Reenable consistent notification support
...
Change-Id: I08b50858344d5ea6dd8e2852d45fb31dcbab4660
2015-08-02 14:47:52 +05:30
Madan Jampani
565a66afbb
Bug fixes/improvements:
...
1. DeviceManager must not have a dependency on DeviceClockService. Clocks and Timestamps are purely distribution concerns.
2. Eliminated DeviceClockProviderService which merely served as a cache for mastership terms thereby introducing a source of staleness. Now we directly query mastership service which is already optimized for high volume reads.
3. DistributedLeadershipManager fix to ensure election won by local node immediately reflects in the local leaderboard. This is to ensure a subsequent read does not return a stale value.
Change-Id: I774b64923e382b788df5f8bde2a9fafc0294bad0
2015-08-01 16:44:57 +05:30
samanwita pal
14150ebcc6
Changing packet ordering scheme in PacketProcessor
...
Change-Id: I54741f3ab4c17094ed748e00e9058adb161d309f
2015-07-31 23:06:59 +00:00
Thomas Vachuska
c0e2013d5f
Eliminated the hang when shutting down a single-instance. Root cause remains in the leadership topic withdrawal.
...
Change-Id: Iad740929b683a253a7eec0282b52e8f6f31ebcfe
2015-07-31 19:25:01 +00:00
Ray Milkey
6f440331fd
ONOS-2431 - Unit tests for DistributedNetworkConfigStore
...
Change-Id: I7a3f6bd5d39c90e7ad2247fb56a14fa29227ad91
2015-07-31 12:01:29 -07:00
samuel
bc087c0384
[onos-2242]OVSDB-based implementation of tunnel config behaviour.
...
Change-Id: I854a9e572acbfa698ec40309945d93810fb2b471
2015-07-31 15:35:22 +00:00
alshabib
c791179ca2
OpenFlow Meter Provider - still need to parse meter stats
...
Change-Id: I4b313ea003b3801f81ec7d4823bf69de37fd8643
2015-07-31 15:26:22 +00:00
Thomas Vachuska
d894b5d5f7
Fixing javadoc warnings, provided missing package javadocs and corrected group structure.
...
Change-Id: I2637afe49b81e8e6d10ef3bb0f2a1cf50b2564cc
2015-07-30 20:27:44 +00:00
alshabib
bc37196828
sketching model elements for meter objects.
...
Change-Id: Ie9e8eb2af634f2f591089445d2258495285dcdd1
2015-07-30 18:03:32 +00:00
Simon Hunt
fb940110ec
ONOS-1479 -- GUI - augmenting topology view for extensibility:
...
- Preliminary work in implementing installation of custom buttons to details panel for selected device.
Change-Id: Id26ac301f72b4521d2a388d34ee0a287f400c68c
2015-07-30 17:58:57 +00:00
Thomas Vachuska
42e8ccead4
Adding some base-classes to eliminate event and listener boiler-plate code throughout a number of subsystems.
...
Refactored all core components to take advantage of this; apps remain to be done.
Change-Id: Ib0935ba07ff81b0fa032534004ec9ac6187cbf22
2015-07-30 17:30:43 +00:00
samanwita pal
f52863665d
Changing the packet ordering scheme so that it doesn't require absolute numbers
...
Change-Id: If459966d2b0e81ec4b8ceabe22a93fe27d4e9030
2015-07-30 17:13:55 +00:00
Marc De Leenheer
b931137eb6
Driver and flow stats handling for Calient fiber switch S160.
...
Bump loxigen to 0.4.1.onos-SNAPSHOT.
Change-Id: Ieb8aa4fe716e12f89b83770eff617561f30cdd08
2015-07-30 16:34:26 +00:00
Ray Milkey
3595823739
Unit test for the gossip intent store
...
This change also implements a unit test harness for the
EventuallyConsistentMap that is intended to be reusable
to test other stores.
Change-Id: I2257da9b19412b97a3aa0f127be7263a7732b852
2015-07-30 16:29:50 +00:00
Brian O'Connor
ce2d8b5680
Initial implementation of the intent domain manager
...
Change-Id: I9721449599a4a67bfad7469173c3b47a681873f6
2015-07-29 16:24:13 -07:00