1982 Commits

Author SHA1 Message Date
sangyun-han
04c461d567 :Revise behaviour to return empty list
Change-Id: I5e1dfa80cab1b8a8c5a245421be38b44e629cab3
2017-03-03 16:48:22 +00:00
Yuta HIGUCHI
44f18e9094 ConfigFlowRuleProgrammable
- FlowRuleProgrammable implementation which acts as it has accepted any FlowRule request.

-- To be used for a device which exist in-line transparently (e.g., Amplifier ONOS-6067)

Change-Id: Ief09297eb900b804b1c8eb4d6705bbad85a552ad
2017-03-03 16:41:00 +00:00
Yuta HIGUCHI
24bc76b07a Add support for local-status in ForwardingDeviceService
Change-Id: I2e2750cb3ef069d4f3f763ef045fe5c686f9874a
2017-03-02 20:13:21 +00:00
Yuta HIGUCHI
b7a1f8e455 cosmetic fix for OpticalPathIntent
Change-Id: I596d30be1398bd231f6e0f92e0fb0077a165c149
2017-03-02 02:23:17 +00:00
Andreas Gilbert
75b882f7e8 [ONOS-5939] added traffic selector bitwise match on TCP/UDP/SCTP source/destination port
Change-Id: Ibf5947f7a6cac86fab77d15990116040fd8e5ef5
2017-03-01 20:07:39 +00:00
Jordi Ortiz
6d17a49e01 TestConsistentMultimap
Change-Id: I32d2f38dea7ca2659afde0d5365b6d9167194107
2017-03-01 19:48:46 +00:00
Yuta HIGUCHI
e37560f498 Some class of constraints should not be used for link cost evaluation.
ONOS-6021

Current ConnectivityIntentCompiler simply picks first non-negative cost as Link cost value.

Some class of constraints are used to express Path viability or IntentCompiler's behavior.
Those constraints tend to returns fixed arbitrary non-negative link cost, which probably is not the best option to be used as Link cost during path computation.

This patch will:
- Introduce base class for constraints which should not influence Link cost.
- Introduce base class for constraints which should not influence Link cost or Path viability.
- Exclude above classes from link cost computation in ConnectivityIntentCompiler

MarkerConstraint
 base class for Constraints,
 which is not meant to influence Link cost or Path viability.

PathViablityConstraint
 base class for Constraints,
 which is not meant to influence Link cost.

Change-Id: Ice8b83a18cfe3bf5a68c25a853667bfaedb2b1a1
2017-03-01 19:44:06 +00:00
Shashikanth VH
8b1a5efd5f flow specification.
Change-Id: Iacb8eae8fe7cce769a019ecffa6073c015ff80d1
2017-02-28 18:51:11 +00:00
Saurav Das
018605fb4e In this commit: CORD-799
Bug fix for host-update to not remove and add the same IP addr
   NPE fix in ofdpa3pipeline
   Removing unused code in ofdpa2pipeline
   Ability to add or revoke port filters for port-updates
   Retry filters retry for a longer time
   Bug fix for suppress ports to not suppress filters
   Filters now sent only by master instance
   Removing the MPLS BOS=0 rules for now until inconsitent hardware behavior is fixed

Change-Id: I8b4ee4af6de263531e0696af86e65f1c502f5f85
2017-02-23 00:25:41 +00:00
Michal Mach
ce774338fa [ONOS-5911] Port removal after receiving OFPR_DELETE port status reason.
Change-Id: I1f3f6c752da5f989a2d727f378e9f04fbbb71341
2017-02-23 00:24:21 +00:00
Yuta HIGUCHI
0083a5120d Revisit parents handling in drivers command
Change-Id: I35050a0790e871be69bb5517bb49223def97f624
2017-02-22 00:27:26 +00:00
Thiago Santos
943cd54b1f [ONOS-5853] FlowRuleBuilder: automatically set temp/perm field
Add a new method to the interface to allow setting the idle timeout
directly and it will automatically decide if the rule is permanent
or temporary.

Currently the rules created from OF switches would always be made
temporary, even if the idle-timeout was 0. This would cause ONOS
FlowRuleManager to believe they had expired and would remove them.

To reproduce set up a cluster and make a device change mastership, the
new master would have all rules as temporary, even the ones that were
permanent previously on the first master.

Change-Id: I6bca5ba4d0e2194efad21a98cbcd0ab040977f03
2017-02-22 00:22:29 +00:00
Yuta HIGUCHI
5f3f3c4e92 Add description about latency annotation
Change-Id: I91d831ff2ce67a1cc8d762f7f59a7ee01a6f1718
2017-02-18 02:23:52 +00:00
Yuta HIGUCHI
7438f5a982 Mechanism to add Port annotation via netcfg
- intended to be used for driver to support ONOS-5895

Change-Id: Iddcf6f1b99273e8f8670b5f64fc9831e5f4ce3cd
2017-02-17 22:28:18 +00:00
Alan Deikman
8d858750da ONOS-5976 Added CodecContext service to UiMessageHandler to allow
handlers to use JsonCodecs.

Modified the DeviceView to utilize the JSON Codec context capability
for demonstration purposes.   Functionality should be identical.

Change-Id: Ic6d25b4be6fc634dfa88277f17f93287af4c331c
2017-02-17 21:46:43 +00:00
Frank Wang
e11a98d97b [ONOS-5565]Implementation of QosConfig and QueueConfig
Change-Id: I6a367b53cfca2e85e8aaa6cddb541d7b3ffccbc0
2017-02-17 17:36:30 +00:00
Simon Hunt
bc30e68753 More plumbing of grid coordinates vs. geo coordinates.
- Added background reference parameter to layout command
- send correct location data to client for devices, hosts

Change-Id: Ic00bda76f4e4bc8d3e23e07a08f3bc5367ec85a9
2017-02-16 15:46:59 -08:00
Luca Prete
de10c78a4b ONOS-5808: Allocate BW from ConnectivityIntentCompiler and unit tests for partial failure
Change-Id: I2eb3c16efbce619db6d0d2ba415a35752a61ece4
2017-02-16 21:32:32 +00:00
Luca Prete
670ac5dd95 Resource group to share resources between intents
Change-Id: I5bf7d4261197449924d07dabac841cf8ccbe9389
2017-02-16 21:14:05 +00:00
MaoLu
c201ae4c64 Oplink EDFA driver
Change-Id: I7fafa66bf7a5290f2d7ea2e07046fa8dabdb20de
2017-02-16 01:28:20 +00:00
Andrea Campanella
bddba16a7e Device Key Javadoc fix
Change-Id: I9e393c5a252996a17026235cc7299eb0211dc566
2017-02-14 23:39:39 +00:00
Yuta HIGUCHI
5ae8085042 Assign OchPort speed based on ODU signal type
+ cosmetic fix

Change-Id: I6bf5b3417fabdf6c6233b8d945c0c15f47424f36
2017-02-14 19:59:09 +00:00
Simon Hunt
eb3cf54f31 Topo2: Add grid (x,y) option to null-provider devices and hosts (and basic element config).
Change-Id: Ia9eed66bda03174a6986d07fec40eb2a8f7728e3
2017-02-14 10:22:16 -08:00
Himanshu Ranjan
7c2ee3c7a1 connect netconf devices through ssh key
Change-Id: I1a0961ffffd33559f903ead0634dbb5492e9a154
2017-02-14 17:58:46 +00:00
Konstantinos Kanonakis
a004c7e2bd Adding ITU-T G.709/Y.1331 ODUCn rates to OduSignalType
Change-Id: I6c3c84f8b7a558e6cd31a17a9e61c3c139d4eae6
2017-02-14 06:05:02 +00:00
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
Jonathan Hart
2b3e22b203 Minor cleanups for DefaultFlowRule.
Deprecate public constructors in favour of using the builder pattern.
Deprecate FlowRuleExtPayLoad.

Change-Id: I2bd241f290c4bd841ed641ddf37f06a8bbd129b2
2017-02-07 19:18:53 +00:00
Jordan Halterman
c955df7a63 Implement Atomix AsyncAtomicCounterMap, AtomicCounterMap and state machine.
Change-Id: Ifd7f60ae8dcfe7239e034a92654b4ef30ffe46ae
2017-02-07 18:00:19 +00:00
Simon Hunt
441c9ae81e ONOS-5726: augmented implementation of "showIntent" overlay support.
- added acceptIntent() callback hook, to allow overlays to declare which intent types they can display.

Change-Id: I18d0b6f05b0a348623bd5a90d58d996d389bdd95
2017-02-06 17:23:54 +00:00
Thomas Vachuska
2323596967 Added code to intent unit tests to pre-emptively unbind ID generator to avoid cascading failures.
Change-Id: I2e5aff44a90ceeaaad71d7154b79f20edab620a7
2017-02-03 11:44:15 -08:00
jaegonkim
7e876633c8 [ONOS-5903] Intents always installs first path. Traffic path load is not distributed.
+ Adding HashPathSelectionConstraint
            + Adding '--hashed' option in add-point-intent cli for intent hashcode based path selection
            + hashed path selection % size bug fix

Change-Id: I2e867934a0bbed66301118973d7e1d1483d7cb0e
2017-02-03 02:01:49 +00:00
Yuta HIGUCHI
eb28a7c208 marker resource for annotating installable intent
To be used for ONOS-5827

Change-Id: I1faa76915aacae42ade98533525108d22511aa38
2017-01-27 21:54:54 +00:00
Yuta HIGUCHI
051be02dd2 Allow LinkCollectionIntent to accept other types of resources.
Change-Id: I54331506a8e58efa7235da86e604d174fd5a72ec
2017-01-27 21:54:54 +00:00
Yuta HIGUCHI
dcfa31ab0e ONOS-5603 ProtectedTransportIntentCompiler
Change-Id: I681f24662d8e9be06f1e216fa9aa45b1dd44757d
2017-01-27 21:54:54 +00:00
Yuta HIGUCHI
b360bb0665 ONOS-5602 ProtectedTransportIntent
- Intent to create a linear protected transport entity.
  virtual Link is expected to be created as result of installation.

Change-Id: I34ec042072f131e745b9adf773620ab85aea1162
2017-01-27 21:54:54 +00:00
Yuta HIGUCHI
fadb9a34a4 intent-details command
- Intended to be used by ONOS-5221, ONOS-5827

Change-Id: I33ab29946907e1963cc66c451d5f1aa77760f4fe
2017-01-26 18:28:47 +00:00
Yuta HIGUCHI
d9340033c4 ONOS-5908 exclude removed Devices
- MastershipService#getDevicesOf is created based on Leadership topic,
  which can contain removed Device.

Change-Id: I2760d2af5cd766f5eb48fb1cba964300476bd64e
2017-01-25 19:46:22 +00:00
Yuta HIGUCHI
1d0d9cc89e ONOS-5604 ProtectionConfig listener
- It should now be possible to call ProtectionBehaviour via netcfg REST

  $ onos-netcfg $OCI protection_config.json

  For example JSON file, see
   core/net/src/test/resources/org/onosproject/net/behaviour/protection/protection_config.json

Change-Id: Ida78eff32ed66ebb6618a4ad52f42c0d97c7340c
2017-01-25 18:52:34 +00:00
Jihwan Kim
cf8f6b2cd3 [ONOS-3558] Add AtomicCounterMap to DistributedPrimitive
Change-Id: If2a0af0d48a3aa2c6a20412bf1c232724ace0bcb
2017-01-25 18:50:09 +00:00
Yuta HIGUCHI
895f695003 ONOS-5905 transient field 'driver' shouldn't be serialized
Change-Id: I2a54a6515fa98c11b1579c2fed95e8ffaf6d9a85
2017-01-25 17:16:01 +00:00
Victor Silva
0282ab8e95 [ONOS-5797] GroupService: add setBucketsForGroup
Add method to set all buckets from a group, overwriting the
previous group buckets entirely. Useful for edits that before
required two operations: removing the buckets and then adding
others. It can all be done with one OF message in the end.

Change-Id: Ic5669603ed4fd18b8efaa8d0253ab9d7b1e870f5
2017-01-25 17:13:44 +00:00
Yuta HIGUCHI
a255bb4f69 ONOS-5595 netcfg for protection
- ProtectionConfig
- TransportEndpointDescriptionCodec

Change-Id: I79e304a20e9d1f95a4b432542738c64102550650
2017-01-25 17:12:30 +00:00
Chanhee Lee
940104828e [ONOS-5907] Implementing unit test on Security-Mode ONOS
Change-Id: I1bd8e1df60ad3e5115f0a46ff9f621ec8fd82c36
2017-01-25 17:06:16 +00:00
Michele Santuari
c372c223a4 Enable REST to manage devices under a proxy
This commit integrates the REST proxy within the standard REST
protocol and provider, supporting multiple devices managed by
a single REST end point (e.g. a REST-based second level controller).

It introduces the concept of RestSBServer, that represents
the REST service exposed by a single or a set of devices.

Change-Id: I0b187151848c20bc1fd8c39a33d57a500f667533
2017-01-25 17:03:17 +00:00
Luca Prete
13465646a4 ONOS-5775: Partial failure constraint in VPLS
Change-Id: I6a4b6e9468e6e3ae028a1d2fc2e4d51c63c50776
2017-01-25 17:01:17 +00:00
Jordi Ortiz
67546fbe50 [ONOS-5310] FullMetersAvailable
For cases in which MeterFeatures are not available but device supports Meters

Change-Id: Ie10ca85643ea35a43df1f76d92cd3931a15b32c8
2017-01-24 13:32:27 -08:00
Jordi Ortiz
aa8de49765 [ONOS-5599] Store meter features into MeterStore
Change-Id: I22f7366b87cad6fc706b6ff7b0ccff1a0e85ad6a
2017-01-24 12:08:25 -08:00