1950 Commits

Author SHA1 Message Date
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
Andrey Komarov
2398d960b9 Vector cost proposed to TST on 2016-07-13
First part implemented: weight interface introduced and integrated, default weight implementation added.

Change-Id: Ia46f1b44139069aa171a3c13faf168351bd7cc56
2017-01-23 17:27:20 +00:00
Charles Chan
cefcf776de Cosmetic fix for VLAN_POP instruction
Change-Id: I224916db270d080df5c86da095e7b85f2b2948be
2017-01-23 07:28:12 +00:00
Simon Hunt
8eac4ae4da ONOS-4972: Augmented UiModelEvents to hold context and memo about the event subject.
Change-Id: Id0e28d8d5d3eb80fba36e0392cc80167effd39bc
2017-01-20 21:38:26 +00:00
Ray Milkey
287b4ae810 Starting snapshot 1.9.0-SNAPSHOT 2017-01-19 15:21:17 -08:00
Ray Milkey
2557ba3375 Tagging 1.9.0-b1b 2017-01-19 15:20:17 -08:00
Jon Hall
cbd1b39f58 Sonar fixes
Rule: Use isEmpty() to check whether the collection is empty or not.

Change-Id: Ib5ab56b2263623b297db56c5cac2c2ee80e12725
2017-01-19 20:24:18 +00:00
Yuta HIGUCHI
a36f10b03a Remove executable bit from source files, etc.
Change-Id: Ic1a1d9390ca6790f0644504e3bf2569faac1fa11
2017-01-19 18:28:43 +00:00
Saurav Das
d5ec9e992f Adding to the 'devices' cli command an output that displays the local connectivity of a device.
For example, "id=of:0000000000000203, available=true, local-status=connected 18m7s ago, role=STANDBY, ..."
Also increasing the resolution of the TimeAgo utility.

Change-Id: Ie1b89bd193552e0edd38a9ca28c5ce99b1d27c19
2017-01-17 22:41:43 +00:00
Sho SHIMIZU
a6285547f5 Remove unnecessary semicolons
Change-Id: I2b4429d7a2d61b5ba7fe89e73735db14b8244bb8
2017-01-16 18:27:18 +00:00
Pier Luigi Ventre
6fd1ca95aa Revert "Allows duplicating packets when requesting packet-in via PacketService"
and makes wipeDeferred as default.

This reverts commit 874900ec363da57928d6f087527e6e9cbfbc0645.

Change-Id: I080ece4f2f316a95c36bdd09f91c0482fbe6f8d9
2017-01-16 17:02:01 +00:00
Charles Chan
874900ec36 Allows duplicating packets when requesting packet-in via PacketService
If false, the original packet is always sent to the controller.
If true, a copy of the packet is sent to the controller, as long as the packet can be duplicated.
If duplication is not supported, the original packet will be sent to the controller.

Change-Id: I566c799bb0afed03c3fae5815aa926b338cad953
2017-01-11 17:44:15 +00:00
Brian O'Connor
c590ebbc12 ONOS-5691 ONOS-5742 Fixing intent framework difficulties
- Refactoring AbstractAccumulator to use less blocking synchronization
- Fixing bug in AbstractAccumulator that could leave some items
  without firing
- Updated IntentStore for resubmitting pending operations

Change-Id: Iaf240da65e11ceb7d7d745cf4e25bfb8c26ed1eb
2017-01-10 17:42:08 -08:00
Simon Hunt
c53681836a More removal of deprecated sid.
Change-Id: I0ae84f1154e394f91b9f54249bd7d4ce43a43bfc
2017-01-10 13:32:04 -08:00
Jimmy Yan
da878fcbf0 Add ROADM application
Change-Id: I50fa93cf3a69122f6434b46e831b254771159294
2017-01-10 19:21:29 +00:00
Simon Hunt
8a0429ad47 Remove deprecated "sid" parameter in UI events.
Change-Id: Ib39fe563109068e7a97df809e9dd1f9f7506fbc6
2017-01-06 18:10:40 -08:00
Yuta HIGUCHI
73ae7d7458 Fixing CondecContext javadoc description.
Change-Id: I58125babff31dcf5dd0ba773beee1c7775f11f4d
2017-01-06 15:39:02 -08:00
Yuta HIGUCHI
d0598ee4ed toString for PartialFailureConstraint
- for better representation on CLI, etc.

Change-Id: I8575608832f7c97ee6123ddd8d217d02d35d3bb7
2016-12-22 19:14:20 +00:00
Yuta HIGUCHI
4d0f89acce ONOS-5215 protection behaviour
Change-Id: Ia76c034fa9bb95d0048828f6bb80ac965dd053d8
2016-12-15 19:25:56 +00:00
Steven Burrows
ad75aa2027 Topo2: Fixed instance device count and mastership
Change-Id: Ic6790df426765f929a2a0b42fe416501643659ba
2016-12-14 22:39:37 +00:00
Steven Burrows
2762b24ea5 Topo: Update details panel to use Serial # instead of Serial Number
Change-Id: I97d8b07b961a7a8a017b8a4d62ff87d367dd0e2b
2016-12-14 21:41:30 +00:00
Sangsik Yoon
b1b823fd3f [newOpenTAM] new Upgraded AFM and FlowStatisticService
New Upgraded AFM(Adaptive Flow Monitoring) and FlowStatisticService.
  .Reabsed from master 2016.12.06, and assumed avgPollInterval in FlowStatisticService with flowPollFrequency in case adativeFlowSampling is true or false
  .Fixed Yuta HIGUCHI comments, 2016.12.03
  .Fixed checkstyle warning
  .Rebased and added interrupted flag for exiting while() loop when IterruptException is caught in NewAdaptiveFlowStatsCollector.java

  .Fixed and added javadocs from Thomas Vachuska's comment
  .Removed synchronized block in OpenFlowRuleProvider.java for avoiding performance degradation
  .Rebased from master 2016.10.13 1.8.0.SNAPSHOT
  .Rebased from master 2016.09.09
  .Fixed Yuta HIGUCHI's comments
   (made default getFlowEntriesByLiveType interface,
    added checkArgument() for StoredFlowEntry,
    added @Deprecated annotation @deprecated javadoc,
    added Thread.currentThread.interrupt()
    and fixed Default Adaptive Flow Sampling value with false.)

  .Rebased from master branch
  .Fix typo in FlowRuleService.java comment line
  .Quick Bug fix in NewAdaptiveFlowStatCollector
  .master rebased for fixing build Failure
  .Removed synchronized block in FlowRuleProvider and NewAdaptiveFlowStatCollector for performance upgrade

  .Removed duplicated flow entries in NewAdaptiveFlowStatsCollector
  .Removed additional operation (add/remove/mod) of flow entry in OpenFlowRuleProvider
  .Set default adaptiveFlowSampling value with true
  .Added liveType (IMMEDIATE, SHORT, MID, LONG) member variable in FlowEntry
  .New added PollInterval static class for pollInterval value adjustment
  .Updated FlowEntryBuilder and FlowEntry constructor
  .Added liveType print in FlowListCommand CLI
  .Removed FlowStatisticStore, used existing StatisticStore
  .New added FlowEntryWithLoad for replacing the old TypedFlowEntryWithLoad
  .Added new interfaces in FlowStatisticService
  .Updated GetFlowStatistics CLI for using new interfaces
  .All Typedxxx classes are deprecated

  .new created review 9292 from review 9232
  .fixed Jian Li's review comment from review 9232
  .fixed Build failure in core/net/BUCK file

Change-Id: I7a0e39c5220a2b279b68a195347c183b5bdf1a49
2016-12-07 20:04:36 +00:00
Kavitha Alagesan
b0c3a1a149 FIX_FOR_ONOS-2300
Change-Id: I40763b5e7db57d38ea366653918c53eb3ae9acde
(cherry picked from commit c78d3cec4e5cf30e3e4652a1c20fc8de7a80bda8)
2016-12-06 17:28:03 +00:00
Simon Hunt
5361221a17 Working on Bay-Area-Region Demo.
- added latitude / longitude parameters to regions, so the icons can be "placed" on a GEO-map

Change-Id: I5cf939f22597d4658ab603459b2b3059ba0db0c9
2016-12-05 00:50:46 -08:00
Ray Milkey
72bcefefce Starting snapshot 1.9.0-SNAPSHOT
Change-Id: Iae30168353c72c4e2d5e395298ceca5dd7554984
2016-12-02 16:22:53 -08:00
Ray Milkey
bc3c6ba539 Starting snapshot 1.8.0-SNAPSHOT 2016-12-02 15:59:38 -08:00
Ray Milkey
a222d05a18 Tagging 1.8.0-rc4 2016-12-02 15:49:32 -08:00
Aaron Kruglikov
2f2e81e526 Fixing minor typo in static name.
Change-Id: Ib588575316d79893f6929d021b93dfb343a6e08d
2016-12-02 02:31:47 +00:00
Konstantinos Kanonakis
0a9031d8ae Introducing BandwidthProfileConfigBehaviour to manage policers/markers
- Creating BandwidthProfile Class to represent generic policers/markers
- BandwidthProfile can be Single/Two Rate, Two/Three Color depending on parameters
- Including fromMeter() method to convert a Meter into a BandwidthProfile
- Adding unit tests for BandwidthProfile class
- Creating BandwidthProfileAction class to represent a color (green/yellow/red) action
- BandwidthProfileAction allows remarking one of: DSCP class, IP precedence, Drop precedence
- Adding unit tests for BandwidthProfileAction class
- Creating DscpClass and IPPrecedence Enums and unit tests in org.onlab.packet
- Adding kBps/MBps/GBps methods in org.onlab.util.Bandwidth class

Change-Id: I54156329a527ebd9165d8f55e03e0782925caa2b
2016-12-02 01:55:37 +00:00
Ray Milkey
b547e06157 Starting snapshot 1.8.0-SNAPSHOT 2016-11-30 15:10:18 -08:00
Ray Milkey
4f6d428dc7 Tagging 1.8.0-rc3 2016-11-30 14:52:32 -08:00
chengfan
fdd497c697 ONOS-5622 fix the map Map selection dialog style problem
Change-Id: Iaafd49725dff74deade4dd7d28ee4e9b72604f27
2016-11-30 19:55:09 +00:00
Pier Ventre
ee4a8f21f2 [CORD-545] Adds ofdpa actions in ONOS core
Change-Id: I98edc27162d7309b9d21f2c939430608e3e85c6e
2016-11-30 18:58:44 +00:00