alshabib
10c810b199
added treatment support and conversion to an instruction
...
moved to meter api to onos-api
Change-Id: I0504f06fdc503953fa7696224d97edda43596d6e
2015-08-19 18:28:09 +00:00
Ray Milkey
a4122367b0
ONOS-2190 - Move org.onosproject.net.config.* out of the incubator
...
Change-Id: I57cac27ae370ce1155b4f637646d6c25732844e9
2015-08-19 08:59:12 -07:00
Sho SHIMIZU
d97a950028
ONOS-2690: Register a device as resource when it is added
...
Change-Id: I37f931665e06cb2415d569e61e8c6592faea485a
2015-08-18 11:01:51 -07:00
Sho SHIMIZU
47e7b804de
ONOS-2689: Register a link as resource when it is added
...
Change-Id: I64c6065411731ba3ad5032730ce7b9ae122d01cc
2015-08-18 08:54:30 -07:00
Ray Milkey
810d6e7412
Coverage and SONAR improvements for Objectives classes
...
- cleaned up constructors to take a builder rather
than a long list of parameters
- improved coverage of unit tests
- added missing APIs to builder interfaces
Change-Id: I4c4eac302d41f785d401f21e9935bc659ca5f892
2015-08-18 00:27:45 +00:00
Madan Jampani
e10652215f
Support for a java.util.Map implementation backed by ConsistentMap
...
Change-Id: I73240b69d0913f7534bd4006411ab217a40b254c
2015-08-18 00:26:36 +00:00
Simon Hunt
8d22c4ba2d
ONOS-1479 -- GUI - augmenting topology view for extensibility: WIP.
...
Change-Id: I11820a9ff8f446c0d10a0311cee5ce448c15f402
2015-08-17 23:29:56 +00:00
Sho SHIMIZU
726a358841
Pull up methods from ResourceManager to ResourceService
...
Change-Id: Ia4ac8e06561d38f2c60c44084dd5d6a7784cceb9
2015-08-17 23:17:59 +00:00
Sho SHIMIZU
ba41fc1942
ONOS-2446: Implement API to declare resource hierarchy
...
Remove API to define resource boundary
(ResourceAdminService.defineResourceBoundary) to integrate with API for
resource hierarchy
Change-Id: Iffa28dec16320122fe41f4f455000596fa266acb
2015-08-17 23:17:36 +00:00
Sho SHIMIZU
1f5e591196
Resource API changes as preparation for hierarchy support (ONOS-2446)
...
The changes:
- Introduce ResourcePath to point a resource
- Remove Resource interface
- Make ResourceAllocation concrete class and remove DefaultResourceAllocation
- Remove DefaultResource
- Changes in interfaces due to the above changes
Change-Id: I0f3f846be67b0f7917117943aac31e3099c851ec
2015-08-17 23:17:05 +00:00
Madan Jampani
a29c677596
Added RetryingFunction for simplified retry support.
...
Moved retry logic out of primitives (AtomicCounter) to the caller site.
Change-Id: I319d61f153f98d421baf32a1b5cd69d20dc63427
2015-08-17 23:15:19 +00:00
Madan Jampani
7ffe53db35
Added a valueOrElse static method to Versioned
...
Change-Id: Icf6406aca716fd2b427fec52e86f6482ce44f393
2015-08-17 23:09:00 +00:00
Hyunsun Moon
7080a0d126
ONOS-2581 Add codec for tunnel id
...
Change-Id: I6ff456b0419b427945cc53fb74fd0a91cdfa758e
2015-08-14 19:19:33 -07:00
Madan Jampani
01e05fbed2
Removed usage of deprecated ClusterCommunicationService APIs
...
Change-Id: Id306dadad48d1bad7b3fbde3a40ba3e0fdac4cbc
2015-08-14 11:18:02 -07:00
Madan Jampani
d352010259
Added missing copyright and license text
...
Change-Id: Id14dbbdb7e95ef4b6168889c3585d00752e126e5
2015-08-14 11:06:03 -07:00
Madan Jampani
d33b07736a
ONOS-2626: Make a immutable copy of multimap before iterating over it
...
Change-Id: I04cddc4fb9a007920783e44b62143d5d2c0553ba
2015-08-14 10:31:29 -07:00
Madan Jampani
9eb55d114a
ONOS-2495: Workaround for the fact that kryo deserialization is not thread safe
...
Change-Id: Id1bd3334f9a5c122984d08f97dbbbf622b27cf33
2015-08-14 14:59:06 +00:00
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