1129 Commits

Author SHA1 Message Date
HIGUCHI Yuta
04b49fc898 Deprecate ModMplsLabelInstruction#label()
Change-Id: I1324747adaa8ccb28077aa14b208df1083f39a3f
2015-08-28 18:08:12 +00:00
Simon Hunt
52560661c5 ONOS-2186 - GUI Topo Overlay - (WIP)
- Moved TopoJson to core ui API, so it is accessible to external apps
- Added highlightsMessage() to TopoJson
- Pulled sendMessage() up to UiMessageHandler

Change-Id: Iacab5b69e3b2a6db98be8391274695247ba5526d
2015-08-27 22:46:44 -07:00
HIGUCHI Yuta
60db97769c BugFix: Comparing MplsLabel against int
- MplsCriterion#label() returns MplsLabel, while
  ModMplsLabelInstruction#label() returns int

Change-Id: Ia0d57651fd3553ffb4e4f07dc51c420a09028f6e
2015-08-27 23:08:00 +00:00
Simon Hunt
5b3ff90410 ONOS-2186 - GUI Topo Overlay - (WIP)
- Default behaviour is to "unsubdue" each node and link present in the Highlights message.
- Now added ability to tag nodes/links for remaining subdued when rendered
(this needed for BYON application).

Change-Id: I351ee0d135bf3ef8f46102f461a45ee48fe9a5cc
2015-08-27 09:46:36 -07:00
Simon Hunt
94f7daec34 ONOS-2186 - GUI Topo Overlay - (WIP)
- Showing traffic on selected intent now subdues other elements.
- Augmented Highlights to allow for retrieval by ID.
- Reparented HostHighlight and DeviceHighlight to NodeHighlight.
- Added a few extra highlight unit tests.

Change-Id: I0de1cefdcfda58a6fec6e90be5fe898d35aa1b37
2015-08-27 16:11:52 +00:00
Madan Jampani
216d8d7a8f Support a weak read consistency mode for distributed set
Change-Id: I2b72795f083421ecce2c7f7cb932d2ec3e15a960
2015-08-26 21:11:19 +00:00
Thomas Vachuska
4998caa062 ONOS-2488 Finished moving network config stuff out of the incubator area.
Change-Id: I62c511938fdf8f33def99ce43f0d4417b4ba1918
2015-08-26 13:28:38 -07:00
Simon Hunt
743a8492b8 ONOS-2186 - GUI Topo Overlay - (WIP)
- Basic ability to visually suppress (two levels) other links/nodes, added to Highlights model.
- Added javadocs to Highlights class.
- Added unit tests for Highlights and TopoJson classes.

Change-Id: Id7a9990dcbad20139a4dab89cf54e476c2174ec0
2015-08-25 23:48:08 +00:00
Jon Hall
df6a6e4af8 Modify TimeFormatterTest to work on some systems to address [ONOS-2732]
Change-Id: I42d37f3610e27e07c8f4191d2b2b7c192e75e55b
2015-08-25 16:24:35 -07:00
Sho SHIMIZU
a8241cab85 ONOS-2729: Define an interface to query about MPLS capability
Change-Id: I509720b0c9ee8a9b652aa966ec19c77aacac8573
2015-08-25 15:35:36 -07:00
Sho SHIMIZU
264497f00f ONOS-2728: Define an interface to query about VLAN capability
Change-Id: I53444a7b76902a19548cdac1c557677848a46d1e
2015-08-25 22:30:03 +00:00
Simon Hunt
72297219c8 ONOS-2186 - GUI Topo Overlay - (WIP)
- added devicesWithHover(), hostsWithHover(), hovered() to NodeSelection.
- wrote unit tests for NodeSelection.

Change-Id: I6dca0f4f0a4ce2412438c8411102034969ef4343
2015-08-25 19:38:38 +00:00
Sho SHIMIZU
8770a9331e Remove use of deprecated methods regarding TCP/UDP/SCTP ports
Change-Id: I165b3b765ca6b712684604399976f6987ce83291
2015-08-25 10:07:11 -07:00
Hyunsun Moon
cf732fb688 ONOS-2711 Replaced short to TpPort for tcp/udp ports
Change-Id: Ibf0474b5369d11d377fd33cf5ab48083cbca3308
2015-08-25 16:10:35 +00:00
Simon Hunt
d2862c3961 ONOS-2186 - GUI Topo Overlay - (WIP)
- added isActive() predicate to UiTopoOverlay.
- auto-select single intent in an intent selection group.
- clean up mouse over/out handling.

Change-Id: I0f951bd26fcfc791d73bb8121ebbe002086294ea
2015-08-24 17:42:01 -07:00
Phanendra Manda
37b97fbad3 [ONOS-2287,ONOS-2288]Pcep TunnelProvider implementation
Change-Id: I4184336c200f1060e93be5dc28076ba35f6b98f4
2015-08-24 23:32:58 +00:00
chengfan
5dc1e07f72 [ONOS-2715]implement MW icon extension for onos
1.add a new device type named "MW"

Change-Id: If9084426f380918416490c29f93d2caa75b0fb55
2015-08-24 22:43:58 +00:00
Sho SHIMIZU
5618ee5b5c ONOS-2717: Handle duplicate resource unregistration in resource store
Change-Id: I49648be9c26ba66218172d570632d54584a908d8
2015-08-24 20:14:14 +00:00
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