779 Commits

Author SHA1 Message Date
Charles Chan
bae2cb2a18 Implement vlan-untagged, vlan-tagged, vlan-native in interface config
Existing vlan config is ambiguous and different apps could have different interpretation.
In this commit, we introduce three more vlan configs and hope this will eventually replace the original one.

Change-Id: If8dd985cc3a420601073797eb617ffd1adf90d1d
2017-01-31 21:23:04 +00:00
Jordi Ortiz
1d8cc49da5 meter-remove cli command
Change-Id: I79a12149195717dfee90fd5f5a1a299363763e32
2017-01-31 21:09:18 +00:00
Yuta HIGUCHI
a107172b3c CLI to add ProtectedTransportIntent
+ debug tool to install ProtectionEndpointIntent (installable Intent)

Change-Id: Ib9d5b37e624db497c1aa76d4cfa08af971002c7e
2017-01-27 21:54:54 +00:00
Jonathan Hart
a98ae9ddfe Add null to driverlistcommand completer
Change-Id: I4186c9cc6fa19fb83437e5d5704d5ce48c50b84c
2017-01-27 17:21:47 +00:00
Luca Prete
5db2e87b5f Improving output for intents and intents -s
Change-Id: I32c4fb739b83fbce422bcd14c1755a5f9e284f75
2017-01-26 18:56:03 +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
33485fb8bf Add support for disjoint Paths to paths CLI
+ minor changes

Change-Id: I9fa65ed3e8633327c44d0f8142f98f6be9b35a48
2017-01-26 17:18:11 +00:00
Yuta HIGUCHI
1560384ea3 Correct parent class for portstats CLI
- Fixes issue, where --help looked as this command support -s,
  even if it actually didn't
- cosmetic fixes

Change-Id: I28df33be41b97e49ccc2c47b876076ac87c7742a
2017-01-26 14:47:40 +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
Jordi Ortiz
3bbfd99396 Extend add-meter command options
Change-Id: I80177150a4bf59ebb04b8f61e499c718e3159eba
2017-01-24 13:40:42 -08:00
Ray Milkey
8e78f465f8 Fix NPE when a driver has no parents
Change-Id: I15161fdcc89c5f36600fc6df225d42a373724507
2017-01-20 22:53:17 +00:00
Yuta HIGUCHI
61bb7f4d6a Print all parent drivers
Change-Id: Iceb343f33c81c4fb0d8548a0ac12eb247249323b
2017-01-20 16:23:17 +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
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
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
Yuta HIGUCHI
3e8e03567a ONOS-5810 provide a way to consume protected links
- Add option to add constraint to use protected link only

Change-Id: Id4684b839b02f3b46583d524289ce238e78d92e1
2017-01-11 18:56:58 +00:00
Yuta HIGUCHI
5f3c033590 annotate-link command
- Utility to add annotations to existing links.
  for ONOS-5810, etc.

Change-Id: I0a10e5cffe376fe935552dc9c1812741522746ee
2017-01-11 18:51:01 +00:00
yoonseon
bc0d76f21c [ONOS-5820] Add command for flow lists for virtual network
Changes.
1. "vnet-flows" command is added

Change-Id: I968df2dfd35d7d8ca02c9d40931e5db8e98a63dd
2017-01-11 18:08:45 +00:00
kavitha Alagesan
1f1fef77be ONOS-5728
Change-Id: If6da56301f669011a40290a280defeadd4f4dd78
(cherry picked from commit c3a904f9fcc54849a450756a8d30475deed4c9bf)
2017-01-11 17:51:34 +00:00
Carolina Fernandez
fb4b04a53b Fix wrong random priority generation
Change-Id: I62d5c518fe0117534e79ae197a50b3d84a1e620f
2017-01-11 17:49:40 +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
Yuta HIGUCHI
bacea91117 Fix wrong format String
Change-Id: I16bbb8953203ebb8092db3e12906d116b7009335
2017-01-03 17:45:13 +00:00
Charles Chan
218b9f314f Display the source in routes CLI command
Change-Id: Ic00c7a5dbbaf0d279499796c5067c5ef849c1775
2016-12-07 23:48:53 +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
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
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
Ray Milkey
58c6af2321 Starting snapshot 1.8.0-SNAPSHOT 2016-11-22 17:26:52 -08:00
Ray Milkey
8b8b30ce29 Tagging 1.8.0-rc1 2016-11-22 17:08:32 -08:00
Ray Milkey
85267006aa checkstyle rule to check copyrights
Change-Id: Ia9bab40b5fe64fca539058a4316371f7acc0f387
2016-11-18 18:40:44 +00:00
Simon Hunt
d0fa284190 Layout and Region configs.
- Listen for topo-layout config changes.
- Augmenting UiTopoLayout to include fields for geomap/sprite, scale/offset

Change-Id: I2b1f747f41d39b64b0a1a53946c4cbd5750db9e5
2016-11-17 18:02:35 +00:00
Andreas Pantelopoulos
b6a2f78c05 Fixed issue ONOS-5263
Change-Id: I8c852e4d36b1daccaecfa17bca9f7e6e75a82e9c
2016-11-16 19:03:01 +00:00
Carolina Fernandez
fa56d1429f Adds loose filtering capability (-f) to cli commands (intents, flows)
- Multi-valued filtering
- Two search strategies (and/or) [defaults to add]

Change-Id: Ia9ad9233b65209b20550ba699c238b88ffb43f8d
2016-11-16 17:00:44 +00:00
Charles Chan
c78a0987ef Carry more information in NextHop
Also update the next-hop CLI to show more information

Change-Id: Ia0f2c7b4a40b75513a4ecb4cc022e580e590d9f3
2016-11-10 23:19:57 +00:00
Saurav Das
1ce0a7b8b5 CORD-414 Editing hash groups buckets in the OF-DPA driver instead of
creating new groups.
Also in this commit - fix for NPE in groups cli, and removal of unnecessary
cpqd-ofdpa3 driver.

Change-Id: I2a5dd183cb38ed901caa5a806791b77e9d92d93c
2016-10-25 12:47:23 +00:00
Charles Chan
1778b520a0 Improve the argument description in RouteRemoveCommand
such that it is consistent with RouteAddCommand

Change-Id: Iecabcb5391f68b2a293b6a36dc1cbe8d9e1030c7
2016-10-24 15:10:04 -07:00
Luca Prete
6c0ed24ee7 ONOS-5479 - Clarify description of push-random-intents command
Change-Id: I98d08d3f5cd462c483730bc4bf23ba40f638e9de
2016-10-24 21:23:09 +00:00
Sangsik Yoon
f0b3ad8447 [OpenTAM_DPIS] DPI Statistics Manager & dpis CLI
- Fixed Thomas Vachuska's comment
   .Removed DpiStatisticsJson.java and related codes for avoiding confusion within package because this does not need anymore.
   .Simplified execute() code and fixed comments in DpiListCommand
   .Added javadocs for public methods and fixed typos
 - Rebased from master 1.8.0-SNAPSHOT, 2016.10.14

 - Upgraded the function and performance.
   .changed List<DpiStatistics> to SortedMap<DpiStatistics>
   .added DpiStatisticsService interfaces to get DpiStatistics by receivedTime
   .added more options of dpis CLI: displays indivisual category by topn
   .and some bug fix

 - Fix javadocs and ONOS style method name.
 - Fix javadocs error.

Change-Id: I07a058e04f63bd9c547a5d605975b214eec0ce1f
2016-10-17 17:59:33 +00:00
Yoonseon Han
6c60389e14 In vnet CLI, separates virutal port creation and binding operations.
Original usage with specifiying a phyiscal port is also in supporting.

Changes.
1. vnet-create-port allow to create virtual port
   without a specific virtual port
2. vnet-bind-port command is added to newly bind or to update
3. Virtual binding point is changed from Port to ConnectPoint.

Change-Id: I4c8f9a2b9b2786ba519ead3559d7f005390fee86
2016-10-13 18:38:44 +00:00
sdn
5e935458fe Fix for ONOS-5033 hosts - dynamic or static
Change-Id: I3791370db0037968003abc23c918c63119d2dba2
2016-09-27 17:18:48 +00:00
Yuta HIGUCHI
f5908c9d12 resources cmd: option to show only available resource
Change-Id: I75fd80c2d3258b76ca1b99581b0b5ada8e203f11
2016-09-23 23:22:38 +00:00
Yuta HIGUCHI
b2ba8abb37 Print Port allocations
Change-Id: I590cdcef5d338294e6468e2c4bceb8fa2614b3ab
2016-09-23 23:20:45 +00:00
Yuta HIGUCHI
dd19371d6d Revise resouces command descripton to reflect actual behavior.
Change-Id: I5a0ccbfb857c957918697fb32d0bcceef556e67c
2016-09-21 11:36:09 -07:00
Brian O'Connor
bfc02ecd22 Bumping snapshot version to 1.8.0-SNAPSHOT
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
Brian O'Connor
b19fc86f82 Bumping version back to 1.7.0-SNAPSHOT
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00