1111 Commits

Author SHA1 Message Date
Sho SHIMIZU
ceb6f13cab Fix typo
Change-Id: Ifdf6920c4968c29f4bbc0f13ad9a76daa7456556
2015-08-24 11:46:44 -07:00
Sho SHIMIZU
ad619f5b79 Fix grammatical mistake in Javadoc
Change-Id: I7fe4df6badd8fcc1ad47141468f48eda22fad0f0
2015-08-24 10:45:40 -07:00
Sho SHIMIZU
4568c410cc ONOS-2716: Handle duplicate registration in resource store
Change-Id: Ic46ad17359d76a23fa9d9c78afc4fc65a41d1dbc
2015-08-24 16:45:09 +00:00
Sho SHIMIZU
011207815e Refactor: Extract method to check if resource path is root
Change-Id: I87c23449c929bd169daa5fe788e340266392ddbe
2015-08-24 16:40:22 +00:00
Simon Hunt
d6685d0e4a ONOS-2186 - GUI Topo Overlay - (WIP)
- added unit tests for BiLink, BiLinkMap, Mod, and LinkHighlight.

Change-Id: I247103af2713731b20564718064eeda03d030df7
2015-08-21 18:12:38 +00:00
Dusan Pajin
11ff4a8fc3 Delta Port Statistics added to DeviceStore, Device Service and CLI
Changed misspelled word in description of the portstats command switch

Change-Id: I131940c83c5cb12080532a4804ec424ca66afa64
2015-08-21 17:46:12 +00:00
Ray Milkey
c4dd726709 ONOS-1147 - deprecation of Flow Batch public APIs
Change-Id: I69ca8741f16667c874545728d7f2d3dce0909309
2015-08-21 17:40:45 +00:00
CNlucius
ae5c396c6e ONOS-2708
Add implementation of getting ovsdb ports or bridges in the ovsdb node.

Change-Id: If31af08ccb90a29bc800a79f332dae2bc497b105
2015-08-21 15:56:55 +00:00
Simon Hunt
191c84a5e3 ONOS-2186 - GUI Topo Overlay - (WIP)
- moved TopoUtils, NodeSelection, BiLink and Map (and Base derivatives) to core API.

Change-Id: I105f6df6508b1597ffde19fe7e360d3775abf250
2015-08-21 15:51:38 +00:00
alshabib
e1248b613f Adding tests for meter service.
Change-Id: Ic220fdaa89b421661019f1a6ef23c7b02eef127c
2015-08-21 15:35:18 +00:00
Simon Hunt
4fc8685ee2 ONOS-2186 - GUI Topo Overlay - (WIP)
- split BiLink into abstract superclass and concrete subclasses.
- created BiLinkMap to collate bilinks (and derivative subclasses).
- added missing Javadocs, and other general cleanup.

Change-Id: Icfa85bc44a223c6cf245a4005170583dad1cc801
2015-08-20 17:59:18 -07:00
Sho SHIMIZU
83e17a0f59 ONOS-2710: Change singnatures of register/unregister in ResourceStore
Change-Id: I2e90871d79cac94474a39c797168870173441eeb
2015-08-20 21:53:35 +00:00
Saurav Das
73a7dd4033 Support for setting the MPLS BOS indicator bit.
Change-Id: Ib42747445113aadb62fd161a1c79ca59783884af
2015-08-20 21:51:13 +00:00
Saurav Das
ffc5bbc55b Support for matching on MPLS BOS indicator bit
Change-Id: I9f8c3f499beff7c70b4c829c2846c71007932d94
2015-08-20 16:33:32 +00:00
alshabib
5eb7939e20 Added Meter object accounting
Change-Id: I2a3b88ffd1756b738e197943b3e02771f5729e45
2015-08-20 16:30:39 +00:00
alshabib
58fe6dc46f fixes for Meter Service
Change-Id: I83d5b8a2e0a955c050f7afe96761d5709d4f9f18
2015-08-20 16:21:08 +00:00
Simon Hunt
a17fa676cf ONOS-1479 -- GUI - augmenting topology view for extensibility: WIP.
- Major refactoring of TopologyViewMessageHandler and related classes.

Change-Id: I920f7f9f7317f3987a9a8da35ac086e9f8cab8d3
2015-08-19 18:42:32 -07:00
Sho SHIMIZU
2d8a13a3a8 ONOS-2692: Implement methods to unregister resources
Change-Id: Iae88207c5edecf6645aeff3c15875178b5266634
2015-08-19 23:47:23 +00:00
Thomas Vachuska
0fa2aa1167 ONOS-2486 Adding swagger-based REST API documentation.
Change-Id: I237d973d73549ad30ddc638c1c201f024d344c70
2015-08-19 18:46:38 +00:00
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
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
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