592 Commits

Author SHA1 Message Date
Yuta HIGUCHI
f0e09cd7fa intents --mini-summary
Example Output:

onos> intents --mini-summary
All (0)
	installed: 0 withdrawn: 0 failed: 0
	compiling: 0 installing: 0 recompiling: 0 withdrawing: 0
	installReq: 0 withdrawReq: 0 unknownState: 0
...

Change-Id: Ifc0686061660c08a1dd5bea2b442d6a5bc999639
2017-02-13 13:29:46 -08: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
Yuta HIGUCHI
46e30cc82e CLI action to pretty print JSON
onos> intents -s -j | pp

Change-Id: Iaf398711dfe65acaf517a52cd9ce638d3f30bafb
2017-02-08 00:45:48 +00:00
Pier Luigi
b69b6ccdf7 Fix for [ONOS-5824]
Changes:
- Redesigns DefaultSingleTablePipeline;
- Changes the timeout of test to reduce the false-negatives;

Change-Id: I15fa20fd8a15908e70bc22de7913367b9ef113c7
2017-02-07 18:30:36 +00: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
Jonathan Hart
b5132faa4c Fix spelling of actions in application command
Change-Id: Iae17e1842f92ecd0b6112f1999d11dcff0f5c26a
2017-02-02 13:20:35 -08:00
sangyun-han
3ccd373066 Implement json cli in PacketProcessors and PacketRequests
Change-Id: Iea833fa2b5ecc9abf65d56f869c8c5f33c4bbb4b
2017-02-02 19:34:03 +09:00
Yuta HIGUCHI
315baadb76 Allow app activation by last component
Examples:
onos> app activate events
activate-ed org.onosproject.events

onos> app activate netconf
Did you mean one of: [org.onosproject.drivers.netconf, org.onosproject.netconf]

Change-Id: I6bdee9f5fed3b65c36f676bee4e97f6a77d37643
2017-02-01 19:59:13 +00:00
Jonathan Hart
fce514764d Added completer for interface names
Change-Id: Id76efe63f11c6f3fb2d307fedb00c9700418c59f
2017-01-31 21:34:31 +00:00
Jordi Ortiz
4c93e27635 meter-add cli command instead of add-meter
Change-Id: Ib65090dfd4f9c95fdf07ff780a85cf2a11f728c9
2017-01-31 21:31:06 +00:00
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