1084 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
0891129167 Refactoring BasicDeviceOperator:
It's no longer a subclass of BasicDeviceConfig.

Change-Id: Icb7cc7e133428a19ddd739e4135c59854b082488
2015-08-06 01:19:47 +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
alshabib
1d2bc40170 moving meter service to incubator and initial implementation of
meter manager.

Change-Id: I6ef0d9476b58d00b37f7ef156ac7bdacca20185b
2015-08-03 21:06:06 +00:00
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
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
b7baf71954 Initial sketch of intent domains.
Change-Id: I08cb6f9a8c8f83763a2026c1ab9d3e69e0f5d83c
2015-07-29 13:17:04 -07:00
Simon Hunt
00a27ff91b ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Cleaning up PropertyPanel methods - overloading values (string, int, long, object)

Change-Id: I84c86a48de8a776b407982687bc02def18eaef61
2015-07-29 02:27:39 +00:00
Hyunsun Moon
d0533e5f52 Unit tests for ModTunnelIdInstruction and ModTransportPortInstruction
Change-Id: Id0186affac32b0286d0e2fd782395253a8908101
2015-07-29 01:45:42 +00:00
Sahil Lele
3a0cdd57e7 Devices,hosts, and links can be blocked and kicked off with the network configuration api
Change-Id: I68d427f4886a7b63475df8d35383e2e347946946
2015-07-29 01:00:13 +00:00
Simon Hunt
b745ca6619 ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Added id field to property panel, as well as overloaded constructors.
- Added modify*Details() methods to UiTopoOverlay.
- Cleaned up use of string constants.
- Reworked RequestDetails in Topo view msg handler (and base).
- Fixed bug in topo UI where selected host title click caused exception on server.

Change-Id: Ib2a3cf60fae8ad8cda77a3b6933ee758262e6f3c
2015-07-29 00:23:39 +00:00
Simon Hunt
629b99ed41 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- Augmented PropertyPanel class for more manipulation, and added unit tests.
- Added TopoConstants.
- Fixed bug in topoPanel.js that was not using the typeID from the event data.

Change-Id: I7ad759217f2d32642a09be2a9199cf1fcb45ac6e
2015-07-27 17:38:44 -07:00
Sho SHIMIZU
4ecaeeacc7 Add unit test to check equality for resource constructs
Change-Id: Iaf23c6c634ffd77c13578256ebb7e57d5626d1bb
2015-07-27 20:15:44 +00:00
Xin Jin
313708b8fc Adding experimental Flow Objective composition
Change-Id: I35e4414845ad5034145157ab83f933e40f75a1d9
2015-07-24 13:48:53 -07:00
Simon Hunt
0af1ec3264 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- Implemented initial ability to have overlay modify the summary panel data.

Change-Id: I0d6bd6d62f0e0d5ba9d901a47271044e0c8d0c89
2015-07-24 12:18:06 -07:00
Sho SHIMIZU
78ee25ce77 ONOS-2387: Initial implement ResourceService
The current limitation are
- Lack of unit tests for ResourceManager and ConsistentResourceStore
- No means to declare the resource space (range) of a resource type
- Not taking care of resource hierarchy (dependency)
- Lack of automatic resource registration mechanism

Change-Id: Ib2d6734de1e498827d6cc11b9d3e224b157a27aa
2015-07-24 16:45:21 +00:00
Ray Milkey
92ea9b30ee Add map name to equals() and toString() calculations
Change-Id: If7a2a14f56db7cc856d73d69f6b289f0df5cca71
2015-07-24 16:44:16 +00:00
Simon Hunt
e05cae4d15 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- UiExtension now uses Builder Pattern; added topology overlay factory.
- Refactored UiExtensionTest (and other classes) to use builder.
- Created UiTopoOverlayFactory, UiTopoOverlay, and TopoOverlayCache.
- Started implementation of TrafficOverlay.
- Inject TopoOverlayCache into TopologyViewMessageHandler; added TopoSelectOverlay request handler.
- Modified UiExtensionManager to create traffic overlay.
- Augmented UiWebSocket to create overlays on demand, and inject overlay cache into topo view message handler.
- added client side wiring to switch overlays.

Change-Id: I6f99596aefb3b87382517ce929d268a2447545ee
2015-07-24 15:32:10 +00:00
Ray Milkey
67d53ccb2a Unit tests for AtomicValueEvent and SetEvent
Change-Id: I44562365f3076b7cc1afaf5cef9e5be584b432e9
2015-07-23 16:33:01 -07:00
Madan Jampani
8098405e79 Added unit test for Match and UpdateResult + Javadoc fixes
Change-Id: I8dae6c9568d33d580d60a72fdcc1be45b7308727
2015-07-23 13:45:44 -07:00
Ray Milkey
d083bc41d1 Improve test coverage for ConsistentMapEvent and WallClockTimestamp
Change-Id: Id8276966c227e2a66d40fca9ac43145b8a419982
2015-07-23 18:36:41 +00:00
Jonathan Hart
111b42b7a3 Move address-bindings config to new config system
Change-Id: I6d87ddbf98789dbe8355c453a3263f50fbc5d99c
2015-07-23 10:25:54 -07:00
Madan Jampani
cab114c7c9 Misc improvements. Primarily Javadoc.
Change-Id: I083bbf559d53fa25f79d4e1e53eb15c6b96290f2
2015-07-23 17:13:13 +00:00
Thomas Vachuska
1827562de8 Listener enhancement to allow separation of filtering from processing.
Change-Id: I79b4d7e663ea8347f8cc015dc7f4de842b06557b
2015-07-23 15:55:32 +00:00
Madan Jampani
619453ba65 Added missing copyright and license text
Change-Id: Iae317a5677eb9dd8c842208f72c9c7640e25b911
2015-07-22 23:47:09 -07:00