606 Commits

Author SHA1 Message Date
Jordi Ortiz
1002b0a63c [ONOS-5957] Add output to meter-remove command result
Change-Id: I428017b4b67ea14f55fe29a18a40e87025cb2009
2017-02-27 19:23:45 +00:00
Jordi Ortiz
161445a317 [ONOS-5957] Add output to meter-add command result
Change-Id: I8f9706181759e1e21ba3a0c1fb210279fa05e56b
2017-02-27 19:23:45 +00:00
Andrea Campanella
45f4d3d490 Enabling multi level inheritance in cli drivers list
Change-Id: Ib5e10d23aba588b59ca0a31b71c922b9cbb9b81e
2017-02-23 16:47:31 +00:00
Carolina Fernandez
0b1449dd3d CLI options: flows (remove), intents (remove/purge; details)
Change-Id: Id084c28451389a46826eced30f03dcce2c1afe86
2017-02-23 00:20:14 +00:00
Andrea Campanella
e6e2b7672a ONOS-6031 Fixing class loading problem when adding FullMeatersAvailable to corsa-v39 driver
Change-Id: I7c89f8bb85942f4a6e04034be010416752e2924e
2017-02-22 23:59:02 +00:00
Yuta HIGUCHI
0083a5120d Revisit parents handling in drivers command
Change-Id: I35050a0790e871be69bb5517bb49223def97f624
2017-02-22 00:27:26 +00:00
Yuta HIGUCHI
3120778d81 CLI to configure extra link attributes
Change-Id: I841857dc1f281a69565a68d38e99621ed15b62c9
2017-02-21 18:46:28 +00:00
Yuta HIGUCHI
8bda4d84e9 Sort links command output
Change-Id: Ia7839338ee7b4dc8c587187af035c15a24304c7c
2017-02-21 18:37:19 +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
Frank Wang
2cdf4e345c driversList Command doesn't display the driver info if it doestn't have a parent Driver
Change-Id: I59c7b47385aaa4d82fc17ec87827236c8a9a7f6d
2017-02-17 19:33:40 +00:00
Simon Hunt
e9717e6a1a Allow associating a background map/sprite with the root layout.
Change-Id: I9216846e01d7126ffaad9125790f413d8ea8c496
2017-02-16 16:54:58 -08: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
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