779 Commits

Author SHA1 Message Date
Yuta HIGUCHI
65d9d0ebc6 [ONOS-6412] allocate resource by Intent.Key
- Allocate resources by Intent.Key instead of IntentId

- ONOS-5808 changed the IntentManager's Intent withdrawal behavior to
  release resouces allocated by Intent.Key
  (was releasing resource allocated by IntentId)

Change-Id: I62e048e4ee8f841b92d9985784c95abba3d37a0a
2017-05-04 22:31:56 +00:00
Thomas Vachuska
11b99fc941 Refining driver subsystem to facilitate coordinated start-up.
- for ONOS-6402

Change-Id: I7f64fc62ad1d451fcf55624b2422b60631a3c8e8
2017-05-04 15:55:16 +00:00
Ray Milkey
8fd28c7b80 Starting snapshot 1.10.0-SNAPSHOT 2017-05-02 14:37:34 -07:00
Ray Milkey
f0099022d2 Tagging 1.10.0-rc1 2017-05-02 14:35:27 -07:00
Yuta HIGUCHI
57ba1e1917 debug CLI command for NETCONF
Change-Id: I42e25899c42f02c1456580e19d34a4a3ea9e83a7
2017-05-02 04:43:52 +00:00
Andrea Campanella
449e63cd25 [ONOS-1381] SHowing more details for optical intents
Change-Id: Ia08ec789c72d85e01dbc776ede13ec1a3689e337
2017-04-24 19:16:51 +00:00
Palash Kala
dd70dfb2aa [ONOS-6210] Should be able to remove device from store if device is not reachable
Change-Id: I814741a1ee7ec0e6d743e5422e4dd29f354b8b49
2017-04-14 22:55:54 +00:00
Yuta HIGUCHI
537e47c370 Add option to create uni-directional link
Change-Id: I99eadbe2b663f4acb2d39dcce516a090de87fc0c
2017-04-13 01:04:49 +00:00
Claudine Chiu
1f036b8c99 ONOS-6096 initial impl of dist. virtual packet store; virtual PacketRequest CLI; PacketRequest codec
Change-Id: Iea0a159a977701685c4487e806b26c85a1fcc1a5
2017-04-12 22:41:00 +00:00
Simon Hunt
c4ca710a76 Europe Region Demo data script written.
- Added LayoutLocation class
- Added RegionAddPeerLocCommand class
Note: still need to plumb through peer locations to UI JSON.

Change-Id: Ic3513a3880f50b440fe318dce6896b66d7e79704
2017-04-10 10:34:57 -07:00
Saurav Das
36b3793fc7 NPE fix for groups command without the use of 'any'
Change-Id: I59dc93ac4e4bef98141b8abe377ae2fbfe5d7d1a
2017-04-08 02:14:45 +00:00
Jon Hall
a3fcf6754a Fix Sonar issue:
Strings literals should be placed on the left side when checking for
equality

Change-Id: I4537e08936731ace55aeecb3ad941269ec1eb191
2017-04-05 22:54:30 +00:00
Yuta HIGUCHI
7fc72462c9 Match channel spacing to resource management unit.
- for ease of testing lambda resource

Change-Id: I1bfa5fb203d938779165607f087192d16dbb14bb
2017-03-31 19:49:35 +00:00
Palash Kala
6f44279311 removing a dead local variable, refactoring
Change-Id: If48284ae996e74f63ca7b0993a7f9e69e4954cbd
2017-03-31 17:18:37 +00:00
Ray Milkey
88cc3432cf Update checkstyle to version 6.19
Change-Id: I32787f2a5f4f4b17fd4cdcf9bd2eb3903dcecfff
2017-03-31 00:59:32 +00:00
Harold Huang
652ea838aa ONOS-6159 Add command completers for v-net CLI
Change-Id: Ie048da32cdba6d2e9ed88b6d9d0404749750b0c8
2017-03-30 18:10:24 +00:00
Yi Tseng
fa394defdc Fix for ONOS-5175. GroupId refactoring.
Science DefaultGroupId was deprecated, remove it from ONOS

Change-Id: I82394e58ec1ba10c37492ed77546e233de9f934f
2017-03-24 21:13:57 +00:00
Jonathan Hart
f2e7a34ae8 Carry original route in ResolvedRoute object.
The original route may have information of interest to consumers, such
as the route source or VRF information.

Change-Id: I32df752c92e235423694b13d4ff239a38bae5a50
2017-03-22 20:23:45 +00:00
Charles Chan
92ca94dab0 Carry next hop VLAN in the resolved route
Also improve routes command to better display IPv6 routes

Change-Id: I72e78fc2a7ed19322c3b4281c7b93e19484f551e
2017-03-22 20:15:33 +00:00
Jonathan Hart
96c146bde5 Refactor route subsystem to support multiple routes for each prefix.
This resulted in a substantial refatoring of the route subsystem, including
some minor external API changes. The interface between the manager and the
store has been changed to deal with multiple routes per prefix. The distributed
route store has been updated to be able to distribute route table information.
The route subsystem no longer stores next hop information in the route store.
This information is already available from the host store so the routes system
simply fetches it from there.

Change-Id: I7657b3efb6dcb76afa6f17c931f154a970a16528
2017-03-22 20:15:07 +00:00
Simon Hunt
ed81ed63bb Added scale and offset parameters to LayoutAddCommand.
- Also, allow dot (.) to be used as a token for null.

Change-Id: Ic04e9624c03f7f45b14b0ec8a209b6804f6333c4
2017-03-22 15:55:36 +00:00
Yuta HIGUCHI
5d025c3e27 add option to remove netcfg from CLI
Change-Id: I476917eb69cc204f645d2b038bef8808e2eb4df4
2017-03-14 06:05:42 +00:00
Yoonseon Han
210583226d fix: (vNet) enable 'vnet-flows' cli command
Change-Id: I478efdf96568486fce5075962f8b5643d709a74c
2017-03-13 17:27:15 +00:00
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