497 Commits

Author SHA1 Message Date
reedip
2b95e363d3 Subnet: Add "subnet set" command using SDK
This patch adds "subnet set" command to osc using sdk.

Implements: blueprint neutron-client

Closes-bug: #1542363

Change-Id: Id3b7f4b9190b4d73ca3ae423321a65f94a6da62e
2016-03-24 02:21:40 +00:00
Jenkins
a60e31ad4b Merge "Add option to allow filtering by router on port list" 2016-03-17 06:05:34 +00:00
Jenkins
bc5b0846f8 Merge "[compute] Add set host command" 2016-03-17 03:06:12 +00:00
Jas
62a02466c3 Add option to allow filtering by router on port list
Added support to allow filtering ports via --router
option to list ports that are applicable to specific router.

Partial-bug: #1519909
Partially-implements: blueprint neutron-client

Change-Id: I6dd958603909f641735c821a62fc0d45afd5c7ec
2016-03-16 13:20:40 -05:00
root
9bafea555d Add support for deleting Image-property
OSC does not support to delete volume's image property.
This patch will provide support for deleting image property
to existing volume.

Closes-Bug:#1554879
Change-Id: I9256913948fae9e9a03fed173b826dfa918f78e9
Implements: bp cinder-command-support
2016-03-16 10:22:00 -04:00
root
4d5c5d9dcb Add support for setting Image-property
OSC does not support to set volume's image property.
This patch will provide support for adding image property
to existing volume.

Closes-Bug:#1554877

Implements: bp cinder-command-support

Change-Id: I4ff5532c228f010789b81c7587dd4a2838a90f20
2016-03-16 14:17:34 +00:00
Jenkins
d88284c86d Merge "Add project options to security group create" 2016-03-16 05:19:15 +00:00
Jenkins
add66dc132 Merge "Add incompatibility info for "ip floating list" command" 2016-03-16 05:18:57 +00:00
Jenkins
e49c3f6682 Merge "Sort commands in docs" 2016-03-14 22:27:53 +00:00
Jenkins
71796a0c4b Merge "Doc: Fix documentation errors for command object" 2016-03-14 21:11:23 +00:00
Dean Troyer
8c3138390a Sort commands in docs
No changes are intended other than sorting the sections...

* image add/remove project
* flavor set

Change-Id: I1ac240e12889227f2f470b9167904ce35609a227
2016-03-14 15:20:46 -05:00
Jenkins
006d34fc82 Merge "Support "--long" option in ListService" 2016-03-14 20:17:04 +00:00
Richard Theis
1f021427de Doc: Fix documentation errors for command object
Fix documentation errors impacting the "os ip floating",
"os subnet pool" and "os configuration show" commands.

Change-Id: Id033416df7ed06ef4b8a89e4f486fc9d546d9caf
2016-03-14 13:39:22 -05:00
Jenkins
bbdef271b7 Merge "Add "os subnet create" command using SDK" 2016-03-14 16:09:56 +00:00
Rui Chen
8664a2f8ae Support "--long" option in ListService
Add "--long" option in ListService so that compute service
disabled reason can be showed.

Change-Id: I1ace8f1c4e4efe0a1a8f6710425d73eb5db9e5e1
Closes-Bug: #1556815
2016-03-14 18:07:23 +08:00
Jenkins
76081239d2 Merge "Add doc describing how to handle API errors" 2016-03-12 03:44:20 +00:00
Dean Troyer
3d6b072111 Add doc describing how to handle API errors
Include the following scenarios:
* general external errors
* a command with multiple API calls

Change-Id: Ie5c4b775e11898bacf2156a34457f5397fd2c891
2016-03-11 13:35:41 -06:00
Richard Theis
a7c76878da Add project options to security group create
Add the --project and --project-domain options to the
'os security group create' command. These options are for Network v2
only.

Change-Id: I9e1667080a1a49389d51ade2e76a08b08a09870b
Closes-Bug: #1519511
Implements: blueprint neutron-client
2016-03-11 08:28:53 -06:00
Tang Chen
515cc87174 Add incompatibility info for "ip floating list" command
Commit d8abec33ada8b2b028d52eb8bfad2640812b9af8 changed
the output of "ip floating list" command. But forgot to
add any backward incompatibility info.

Output of command "ip floating list" for nova network
has been changed. And it is different from the output
of neutron network.

This patch adds this incompatibility info.

Change-Id: I45858fda3b9bcc0bdf4d0891637fa7dd712872af
Partial-Bug: 1519502
Related-to: blueprint neutron-client
2016-03-11 16:38:48 +08:00
Brad Behle
71b8919054 Add "os subnet create" command using SDK
Implement the openstack client subnet create command using SDK
calls.

Co-Authored-By: Terry Howe <terrylhowe@gmail.com>
Partially implements: blueprint neutron-client
Closes-Bug: #1542364

Change-Id: Ia6120b8dccf2ee83dc89b3f496f7180d4dc5199a
2016-03-10 16:20:03 -06:00
Jenkins
c6e46aa8da Merge "[Subnet pool] Add 'subnet pool create' command support" 2016-03-10 00:38:27 +00:00
Jenkins
cf0f229cad Merge "[Subnet pool] Add 'subnet pool set' command support" 2016-03-10 00:38:09 +00:00
Stephen Finucane
13e2bb9b96 Trivial: Use 'SSH' rather than 'Ssh'
This is reflected in the '--help' screen.

Change-Id: Ic22a65ff6a56b069b37a0ea8365cce2b3f93621c
2016-03-09 14:55:55 +00:00
Jenkins
c8e4a1407f Merge "Add --reason for disable service" 2016-03-09 07:12:51 +00:00
jichenjc
b711c3a0ca Add --reason for disable service
disbale service allow a reason to be input as disable reason.
This patch add support for it.

Change-Id: I59622c3970e055ebd46bf03c33c864b6d064db28
2016-03-09 05:19:41 +00:00
Jas
e0d58641bb Add 'port set' command
Add CLI support for the 'port set' command

Change-Id: I2bea508e11290284aa64b1ab548a0bb61e7290d3
Partial-bug: #1519909
Partially-implements: blueprint neutron-client
2016-03-08 09:48:50 -06:00
Tang Chen
3d741d3757 [Subnet pool] Add 'subnet pool create' command support
This patch supports creating a new subnet pool,
with pool prefixes, default prefix length, minimum
prefix length, and maximum prefix length specified.

Change-Id: I9150797c8cfa794d5264ad07965aa967d9a8f5bc
Partial-Bug: #1544586
Related-to: blueprint neutron-client
2016-03-08 21:22:13 +08:00
Tang Chen
f2fb007e82 [Subnet pool] Add 'subnet pool set' command support
This patch supports setting a new name, pool prefix,
default prefix length, minimum prefix length,
and maximum prefix length for a subnet pool.

Change-Id: I65bd71e0f54f2f65acefbc542df67a1b1ec26397
Partial-Bug: #1544591
Related-to: blueprint neutron-client
2016-03-08 21:22:13 +08:00
Jas
d548942645 Add port list command
This patch adds the ability to list all created ports

Change-Id: Ie1a48c203cabc96346a4950f21b83493d58a66a5
Partial-bug: #1519909
Partially-implements: blueprint neutron-client
2016-03-07 11:17:31 -06:00
Jenkins
fa3a34322c Merge "[compute] Support restore server" 2016-03-04 23:41:42 +00:00
Jas
d1d4a40808 Add 'port create' command
This patch adds usage of 'port create' in CLI

Change-Id: I888af50784c3b6c7ec30552ade79f05a5e974711
Partial-bug: #1519909
Partially-implements: blueprint neutron-client
2016-03-04 10:41:26 -06:00
Tang Chen
359dfa1a06 Support "network create" command in nova network
This patch only provide network name and subnet setting for
"network create" command.

The other options, such as --project which depends on
identity v2 or v3, will make the unit tests too complicated.
So I prefer to implement them in other patches.

Change-Id: I9ec93f0af813c8fae4170c36e16bbe8f0f53cbb6
Partial-Bug: 1543672
2016-03-02 14:39:00 +08:00
Richard Theis
fbe5dc657b Devref: Options with Choices
Add a developer reference for options with choices. This patch set
also includes RST doc formatting fixes.

Change-Id: I5fd6a699806edf1d2d95110f0b8a2b8a385028ab
2016-03-01 09:31:43 -06:00
Jenkins
15d3b6f317 Merge "Fix 'code-block' tag format issues" 2016-03-01 15:17:21 +00:00
Jenkins
31ff21c511 Merge "add a checklist for creating a new plugin" 2016-03-01 13:16:21 +00:00
Jenkins
11490b79f4 Merge "TrivialOrder: Rearrange Class Names" 2016-03-01 10:09:07 +00:00
Rui Chen
c832e2a771 Fix 'code-block' tag format issues
Modify 'code-block' tag format so that the following python code
could be showed exactly, and reformat the more than 79 chars of lines.

Change-Id: Ic6721e4cc8f4c7a3e4a7c7dbd63d9089180cdc33
2016-03-01 08:48:47 +00:00
Jenkins
d91e104670 Merge "Make SetAggregate inherit from cliff.Command" 2016-03-01 08:29:04 +00:00
Jenkins
2ecbb738ef Merge "Refactor security group list to use SDK" 2016-03-01 07:18:10 +00:00
reedip
a1f2f4af58 TrivialOrder: Rearrange Class Names
As per the comment given by Steve Martinelli in
https://review.openstack.org/#/c/278209/ , the
following patch just rearranges the classes
as per the Alphabetical order.

TrivialFix

Change-Id: Ib8f0f703df4ef7d7ee6180ff8bd8a47062ae5b0f
2016-03-01 16:11:51 +09:00
Jenkins
1299319b76 Merge "Subnet: Add "subnet delete" command using SDK" 2016-03-01 07:03:10 +00:00
Steve Martinelli
3f95e2dd05 add a checklist for creating a new plugin
includes steps for both infra and osc changes.

Change-Id: I35ae2eb29cff87f5c971e64badd2927fc9a59bf4
2016-03-01 06:06:59 +00:00
Jenkins
7039cd3447 Merge "Make SetAgent inherit from cliff.Command" 2016-03-01 04:30:34 +00:00
reedip
88c92bf71a Subnet: Add "subnet delete" command using SDK
This patch adds "subnet delete" command to osc using sdk.

Change-Id: I6be27406b16909c6db2b95417355be302e218a8d
Implements: blueprint neutron-client
Closes-bug: #1542362
2016-03-01 11:26:27 +09:00
Richard Theis
842882f3cb Refactor security group list to use SDK
Refactored the 'os security group list' command to use the SDK
when neutron is enabled, but continue to use the nova client
when nova network is enabled.

This refactor also removes the logic for displaying project names
instead of project IDs when the --all-projects option is specified.
This logic was removed because it is inconsistent with the other
network commands.

Since neutron will always display security groups across all
projects for an admin, the --all-projects option is now hidden
when neutron is enabled and the Project column is always
displayed.

Change-Id: I934a1f5084ef3c5f929d0ffd38ebf5064d799941
Partial-Bug: #1519511
Related-to: blueprint neutron-client
2016-02-29 14:46:57 -06:00
Jenkins
5310cfb8b7 Merge "Make SetSecurityGroup inherit from cliff.Command" 2016-02-29 18:38:38 +00:00
Jenkins
8a3fc6c343 Merge "Make SetFlavor and UnsetFlavor inherit from cliff.Command" 2016-02-29 18:37:44 +00:00
Tang Chen
01c19ef0bc Router: Add --route and --clear-routes options to "router set" command
--route option is used to set routes to the router.

It is used like this:

    --route destination=subnet,gateway=ip-address

destination: destination subnet CIDR
gateway: nexthop IP address

--clear-routes is used to clear all routes on the router.

Change-Id: I97ce4871113c684b29c98cdad4dec9cc80ed20f7
Implements: blueprint neutron-client
Partial-bug: #1519503
2016-02-27 04:53:10 +08:00
Tang Chen
ba826fa04f Make SetAggregate inherit from cliff.Command
set/unset comamnd classes should inherit from cliff.Command class.

Also, this patch adds functional tests for aggregate.

And also, use utils.format_dict() to format the output of the
properties dict.

Change-Id: Idb50bef8990da95666960e2414dfd7c9be234bba
Partial-bug: #1519503
Closes-Bug: 1546065
2016-02-27 03:50:47 +08:00
Jenkins
2819450be5 Merge "Add shell --profile option to trigger osprofiler from CLI" 2016-02-26 19:49:21 +00:00