1270 Commits

Author SHA1 Message Date
Sho SHIMIZU
7462641ac8 Use lambda expression to simplify statements
Change-Id: Ib8ddac6e93327ade9d42984d8eba66be7047d051
2015-09-15 06:13:13 +00:00
Brian O'Connor
b3a3b52f46 Rolling back to snapshot 1.3.0-SNAPSHOT
Change-Id: I5394f02bc4cc4614427e5e535889e883944734fd
2015-09-10 17:26:49 -07:00
Brian O'Connor
cbc5878c31 Tagging 1.3.0-rc2
Change-Id: Id062ea54a0f03c26eb763e03cc347dbfe63cd03f
2015-09-10 17:08:00 -07:00
Thomas Vachuska
58de416ef1 Fixing copyrights.
Change-Id: Iacdddaf1b83fa24998730c3f714fcaf35351ae9e
2015-09-10 16:18:10 -07:00
Ayaka Koshibe
2c59acfdc9 Link config enhancements:
o Links can be injected using configs
o fix for AllowedEntity check on links
o config for link durability
o Link operator methods for creating Link descriptions

Change-Id: I8a1fabc688a2e7eeb579feced451a6c1ba7e3232
2015-09-10 20:29:01 +00:00
Sho SHIMIZU
883354c2a7 Simplify statement by using a method in standard library
Change-Id: I1c04b42017e26c864c9e147e2731a814315ca5e2
2015-09-10 20:07:47 +00:00
Sho SHIMIZU
7a4087bd92 Use diamond operator
Change-Id: I9bb7e90ce7f45e65b4081a5bf85570b97e44712e
2015-09-10 16:56:23 +00:00
Sho SHIMIZU
d82a4e6d46 Remove redundant type cast
Change-Id: I9bd51cc78bcb8fb4b475aac1e10dd54f901241e7
2015-09-09 22:12:50 +00:00
Sho SHIMIZU
5a6e2e5ac3 Write missing @return tag description
Change-Id: I8932667e4d99320fbe41438b675c910c1c50d82b
2015-09-09 22:12:12 +00:00
Sho SHIMIZU
006e4861b8 Remove unnecessary semicolons
Change-Id: I02e0b1484b4e441cf84b416e5c2407dbd820b3f8
2015-09-09 21:50:48 +00:00
Sho SHIMIZU
d88db6f142 Use diamond operator
Change-Id: I966c7033fc97259b3c3727a07d552c675a9446a4
2015-09-09 21:50:38 +00:00
Sho SHIMIZU
b89d491606 Simplify statement
Change-Id: Idd5f4ab291be62001d74b89a93fa48650eaf1e20
2015-09-09 14:37:59 -07:00
Sho SHIMIZU
0044f572aa Use equals() for comparison of String
Change-Id: I825ed37f0aec36d6c7f7de96953de6b80a8802b3
2015-09-09 14:15:41 -07:00
HIGUCHI Yuta
d275afd566 Fix type mismatch
Change-Id: I98cf7239e422be816cfee637fde726a015c9c565
2015-09-09 17:06:23 +00:00
Jonathan Hart
ed4fdcd3fc Remove redundant interface object from interface configuration
Change-Id: I1eb0afab750fc15dba8aa13990147235232bd8ec
2015-09-08 23:52:30 +00:00
Brian O'Connor
e8bcb70258 Changing version to back to snapshot 1.3.0-SNAPSHOT
Change-Id: I05bc4669bf3ad2a149cee5d303da42bf8ffd14e8
2015-09-04 23:57:08 -07:00
Brian O'Connor
004345f6c8 Tagging 1.3.0-rc1
Change-Id: I640fc75397b90532e8a71f9413b6822f80b3e775
2015-09-04 23:47:08 -07:00
Ayaka Koshibe
d0ab3c02ef Misc device/optical config features:
o devices and optical ports are updated with network configs
o refactored AllowedEntity checks in DeviceManager
o "basic" -> "optical" for OpticalPort config key
o Device and OpticalPort operators can create descriptions

Change-Id: I59edc368f3a8ff931954b174d4a898f6b4add5d5
2015-09-05 01:13:04 +00:00
Sho SHIMIZU
8b7b3b2ed3 Use lambda expression for conciseness
Change-Id: Icf1ae1f95bece5a5547b3c2fb43c261a722ab1c0
2015-09-04 23:35:50 +00:00
HIGUCHI Yuta
4a6a70ae5e Remove unnecessary boxing
Change-Id: I78bfbcaf061348172b53bc2ce5c27ff19c1202d2
2015-09-04 22:31:17 +00:00
Thomas Vachuska
0a400ead8e Adding ability for Config to be backed by generic JsonNode, i.e. either ObjectNode or ArrayNode.
Change-Id: I5f9ec423cd5f23f61c97a57073d9d11071c47997
2015-09-04 21:24:06 +00:00
Changhoon Yoon
b856b813b5 ONOS-1767 SM-ONOS implementation
22a363e ONOS-17767 SM-ONOS impl

Change-Id: Ifca8129f2266bada68af735cf81a1d39f1ec8506
2015-09-04 18:09:49 +00:00
Thomas Vachuska
1d0019ca7d ONOS-2780 Correcting condition logic.
Change-Id: I6f2b466b7acbdeadcf50ff9efaf651e38c732c9f
2015-09-01 02:56:07 +00:00
Madan Jampani
f97edc1c48 Javadoc fixes
Change-Id: Ia051f4875d5cadbd7e5307bd8bd6ff1df488165d
2015-08-31 21:50:06 +00:00
Jonathan Hart
4cb3988138 Moved ProxyArp, SDN-IP and BgpRouter to use new config format.
The new config format is based on the new network configuration subsystem.

Includes a few config fixes to NetworkConfigLoader and InterfaceManager.

Change-Id: Id7f766736decb7afb6b63c2731d3baba9fc7c764
2015-08-28 21:23:22 +00: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
Sho SHIMIZU
26cd0ad631 ONOS-2743: Register entire MPLS label space when a link is discovered
Change-Id: Ic57afa75bf57007e6bac2debef0c1a4d3515b0a9
2015-08-26 21:13:14 +00:00
Sho SHIMIZU
4bdd259683 ONOS-2742: Register entire VLAN ID space when a link is discovered
Change-Id: Ia00a1e732e3cf458a899baa25307de813cca4aef
2015-08-26 21:13:13 +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
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
Sho SHIMIZU
83e17a0f59 ONOS-2710: Change singnatures of register/unregister in ResourceStore
Change-Id: I2e90871d79cac94474a39c797168870173441eeb
2015-08-20 21:53:35 +00:00
Sho SHIMIZU
d28842c563 ONOS-2693: Unregister a link from resources when it is removed
Change-Id: I69a8070898f28d7d1fb006383a96c3ef1538146e
2015-08-20 21:52:44 +00:00
Sho SHIMIZU
e2292843e7 ONOS-2695: Unregister a port from resources when it is removed
Change-Id: I3fa6ddde98997661f5091be332924f2f70f6997f
2015-08-20 21:51:56 +00:00
Sho SHIMIZU
e60a5ab8a2 ONOS-2694: Unregister a device from resources when it is removed
Change-Id: I01e4dad8eea3e8042749d63696e1c1f2162c78f7
2015-08-20 19:04:06 +00:00
Sho SHIMIZU
c2ddedda4d Add missing break at the end of case clause
Change-Id: Ia854ac08279f88980e76f5294aed31274f723f69
2015-08-20 11:54:29 -07:00
Sho SHIMIZU
7b1ef13662 Check preconditions when registering/unregistering resources
Change-Id: Ibe7897fcdef791fb83eb6521c5e48e795612f8f5
2015-08-20 16:25:52 +00:00
Sho SHIMIZU
ea17b831fa Fix parent resource path and set the correct child
Change-Id: I2cbb21d2d8e63cfc2181c16b0c4131e3aec7fd82
2015-08-20 16:25:51 +00:00
Sho SHIMIZU
08fdbd2302 ONOS-2691: Register a port as resource when is is added
Change-Id: I8acdf4752cb349c3b87a23240695ffb369c4c48e
2015-08-20 00:51:25 +00:00
Sho SHIMIZU
2d8a13a3a8 ONOS-2692: Implement methods to unregister resources
Change-Id: Iae88207c5edecf6645aeff3c15875178b5266634
2015-08-19 23:47:23 +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
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
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
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
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