733 Commits

Author SHA1 Message Date
Huanxuan Ao
43a07e133d Add missing '(name only)' message for keypair in computev2
In 'keypair show' command. One help message had '(name only)'
but the doc had not. And another had not '(name only)' but the
doc had. This patch Fixs them and keeps the consistent between
doc and help message.

Change-Id: Ic88219ae25a6f545a1db39e6b585e1857ae9e2e0
2016-07-04 14:45:40 +08:00
Jenkins
605efe6711 Merge "Add command to unset information from Subnet-pools" 2016-07-01 15:20:18 +00:00
Jenkins
9c8307ea31 Merge "Add "--snapshot" option to "backup create" command in volumev2" 2016-07-01 04:08:45 +00:00
Huanxuan Ao
6364df4cbd Add "--snapshot" option to "backup create" command in volumev2
Add "--snapshot" option to "backup create" command to support
backing up a snapshot.

Change-Id: Ibecbf1902599875f422d372d529835f73211d3ec
Closes-Bug: #1597184
2016-07-01 10:06:10 +08:00
Steve Martinelli
46b14afc3f update plugin documentation
- add watcher, gnocchi and aodh
- organize sphinx docs based on alphabetical order
  of the library

Change-Id: Ibdd500da0e488ce3256320d53b3354ee7c66468a
2016-06-30 12:57:42 -04:00
Jenkins
fc804a58bf Merge "Fix doc issue for "compute agent list" command" 2016-06-30 13:48:42 +00:00
Jenkins
ba6951222a Merge "Add "--property" option to "flavor create" command" 2016-06-30 10:36:55 +00:00
reedip
063c722a11 Add command to unset information from Subnet-pools
This patch introduces the ``subnet pool unset`` command to
clear the pool prefix information from the subnet-pools.

Change-Id: I84b7259d6e26e695343d41cea6d807396faaf69a
Implements: blueprint network-property-unset
2016-06-30 08:14:58 +00:00
Huanxuan Ao
3ddb973292 Fix doc issue for "compute agent list" command
"--hypervisor" is a optional argument but in the doc it
was wrong format, this patch modify it.

Change-Id: I527feff73eca5834b2fee4efb2462562581210ed
2016-06-30 12:05:30 +08:00
Jenkins
4b61efe3f9 Merge "Add "--device-owner" option to "port list"" 2016-06-29 17:28:39 +00:00
Jenkins
4b38753a92 Merge "Add command to unset information from Subnets" 2016-06-29 12:58:05 +00:00
Huanxuan Ao
dbed97a24d Add "--property" option to "flavor create" command
Add "--property" option to "flavor create" command to support
adding properties to a new falvor.

Change-Id: I4f06b364375d5a81584fe41122d48e9568fa712a
Closes-Bug: #1596798
2016-06-29 19:16:35 +08:00
reedip
45b026d7c8 Add command to unset information from Subnets
This patch introduces the ``subnet unset`` command to
clear the host-routes, allocation-pools and dns-nameservers
from subnets.
Implements: blueprint network-property-unset

Change-Id: I31324a2423f6d2315eed27445dfdcfe863e0b550
2016-06-29 03:22:25 +00:00
Jenkins
6920c9e839 Merge "Add command to unset information from Routers" 2016-06-28 22:29:31 +00:00
Jenkins
9422f8bdea Merge "Add "--force" option to "volume qos delete" command" 2016-06-28 18:26:03 +00:00
Jenkins
bc4acba15e Merge "Add Tox prerequisites and installation" 2016-06-28 12:57:51 +00:00
Jenkins
161d37b42a Merge "Add "--force" option to "backup create" command in volumev2" 2016-06-28 08:35:31 +00:00
Jenkins
21ad61ddd9 Merge "Support bulk deletion for delete commands in computev2" 2016-06-28 08:24:36 +00:00
Jenkins
1ce547103a Merge "Change "ID only" to "name or ID" for backup commands" 2016-06-28 08:24:03 +00:00
Huanxuan Ao
4e46c04f92 Add "--force" option to "volume qos delete" command
Add ``--force`` option to ``volume qos delete`` command in volume
v1 and v2 to allow users to delete in-use QoS specification(s).

Change-Id: I46036e5f55ced8b8a1be54c521f2a5c242b89160
Closes-Bug: #1596821
2016-06-28 08:12:40 +00:00
Jenkins
6eef299899 Merge "Fix typo in openstackclient/network/v2" 2016-06-28 07:39:37 +00:00
Jenkins
e38a6e3740 Merge "Modify few words and change output format for command "ip floating list"" 2016-06-27 21:56:09 +00:00
Huanxuan Ao
af7ab03693 Support bulk deletion for delete commands in computev2
Support bulk deletion and error handling for "keypair delete"
and "service delete" commands in computev2.
Up to now, all the delete commands in computev2 support bulk
deletion.

Change-Id: I6d5c960e9716188e56615514d0921618a15a88ec
Partially-Implements: blueprint multi-argument-compute
Partial-Bug: #1592906
2016-06-27 20:39:23 +00:00
zhang.xiuhua
1dce52ace8 Modify few words and change output format for command "ip floating list"
According to OpenStack Documentation, preferred word choice:
Link: http://docs.openstack.org/contributor-guide/writing-style/word-choice.html
Change from 'etc.' to 'and so on'

Change-Id: Id8a5cc99a8bba8ac7531636248edaca8f98da917
2016-06-27 19:44:28 +00:00
Huanxuan Ao
1d85a3f089 Change "ID only" to "name or ID" for backup commands
Tested "find_resulce()" can find a backup by name or ID.
But some help messages and doc were "ID only", this patch
modify them.

Change-Id: I22dcc3a0b40f2bafabb6d26498158e2468037312
2016-06-27 20:00:50 +08:00
reedip
ed64788cf1 Add command to unset information from Routers
This patch introduces the ``router unset`` command to
clear the routing information from the routers.
Implements: blueprint network-property-unset

Change-Id: Iac8d32ca42fb28878805b4b58ab411b67fa6555b
2016-06-27 10:41:13 +00:00
Huanxuan Ao
fc719f998c Add "--force" option to "backup create" command in volumev2
Cinder V2 API supports creating volume backup with "--force"
option. However, OSC doesn't support this argument. So this
patch add the "--force" option to allow users to back up a
in-use volume.

Change-Id: I326f8d6172b2830da4cf1317348af50142cc5490
Closes-Bug: #1596443
2016-06-27 16:59:51 +08:00
Huanxuan Ao
c7b137e421 Modify some unusual help messages in computev2
Some command help messages are unusual, for example:
common help message for a list command:
"list objects"
unusual help message:
"list obejcets command"
I think we should keep help message consistent, so I modify
the unusual help messages in computev2.

Change-Id: Ic5f11eba1a4397949e85d91cc067519752e89bff
2016-06-27 15:27:34 +08:00
Jenkins
21ac9230e8 Merge "Support multi-delete for commands in identity V2" 2016-06-24 21:24:49 +00:00
sunyajing
6df09fd377 Support multi-delete for commands in identity V2
Commands are "ec2 credentials delete", "service delete", "endpoint delete".
Also update their unit tests and functional tests.

Partial-Bug: #1592906
Change-Id: I1a0b7160b803a523646d09d030e6f112c81c4c24
2016-06-23 23:57:49 -04:00
SongmingYan
ee156b5fe3 Fix the problem of router delete
Change "Remove" to "Delete" when using it in route-interface-delete.

Change-Id: I9ebc38c787acbcb42d2f8efeee41f6cb943e4b9b
Related-bug: #1560446
2016-06-24 03:52:49 +00:00
Jenkins
5b144334bf Merge "Support JSON data for port binding profile" 2016-06-23 21:31:05 +00:00
Jenkins
28f261eeca Merge "support multi-delete for volume-type" 2016-06-23 20:55:08 +00:00
Jenkins
377daebaa4 Merge "Fix errors for "host set" command" 2016-06-23 15:27:37 +00:00
Cao Xuan Hoang
5534e29342 Fix typo in openstackclient/network/v2
This patch adds the missing "." to some docstring/text.

Trivial fix

Change-Id: Iffb470dcce7200ddc9e439c465adc652a8322708
2016-06-23 09:37:36 +07:00
Dean Troyer
ccbb2dd1e8 Remove OSCGenericPassword plugin
The need for this has passed plus with 3.0 we can take the breakage hit,
if any.

Change-Id: Ic019842f00033d2cd67b75f036e7e817e4b7c075
2016-06-22 13:54:32 -05:00
Jenkins
de909e4afc Merge "Support bulk deletion for "flavor/aggregate delete"" 2016-06-22 06:48:50 +00:00
Huanxuan Ao
7177014fcc Fix errors for "host set" command
"Host set" command cannot work. Because:
1.Host has no 'ID' attribute, so 'ID' attribute cannot be found
in "host set" command.
2.value "True" and "Flase" are invalid in updata() method of host.
3.Some update functionalities is not supported in host API now.

This patch solves the problems 1 and 2 in OSC. But the problem 3
is a API problem and can't be solved in OSC, only XenServer driver
support to set enable/disable and maintenance host, it is a normal
problem.
After this patch the output of "host set" command is:
The requested functionality is not supported. (HTTP 501)
(Request-ID: req-14031fce-8c90-48a0-8492-dc8e3dd349f3)
Just the same as the "host-update" command in novaclient.

Change-Id: Ibe94c4d3d492d3d63355de803810edb988e1b4e9
Closes-Bug: #1594689
2016-06-22 14:20:53 +08:00
Huanxuan Ao
014835930d Add "--project" option to the "flavor create" command.
Add ``--project`` and ``--project-domain`` options to the
``flavor create`` command. We can use these options to add
the flavor access to a givin project when we create the flavor.

Change-Id: Ic1907272c1d1ae526f9c9e86f32ba06c6da147c0
2016-06-21 16:28:18 +00:00
Huanxuan Ao
640014fa91 Support bulk deletion for "flavor/aggregate delete"
Support bulk deletion and error handling for "aggregate delete"
and "flavor delete" commands.

Change-Id: I3f6105cbeeab1c9f8cd571c63ce0e7ac3d4252b3
Partially-Implements: blueprint multi-argument-compute
Partial-Bug: #1592906
2016-06-21 11:04:13 +08:00
Jenkins
8c850cadcf Merge "Add "--network-segment" option to "subnet create"" 2016-06-20 21:42:52 +00:00
Richard Theis
c7fb3b3655 Add "--device-owner" option to "port list"
Add "--device-owner" option to the "port list" command to enable
listing ports based on device owner.

Change-Id: I0a538ec41800b9f842e86dceb6ca4180ef239c95
Implements: blueprint neutron-client
2016-06-20 16:32:20 -05:00
Richard Theis
5cc62d90b0 Support JSON data for port binding profile
Update the "--binding-profile" option on the "port create" and
"port set" commands to support both <key>=<value> and JSON input
for the port custom binding profile data. The JSON input is
sometimes needed to maintain the value type (e.g. integer) for
more advanced data.

The port custom binding profile data is unique across neutron
so a custom argparse.Action class was created instead of
writting a generic class in osc-lib.

Change-Id: I82ac6d4f95afdc866f5282fc00d390f850f54d21
Implements: blueprint neutron-client
2016-06-20 15:42:56 -05:00
Steve Martinelli
4e62e1e2e1 support multi-delete for volume-type
Added the ability to delete multiple volume types at once. Note
there are no unit tests exist for v1 volume-types, so instead
a functional test was created.

Partial-Bug: #1592906
Change-Id: I99f3f22901ab35252b91a3072b14de7d19cb17ca
2016-06-20 16:42:36 -04:00
Jenkins
8c1c2f46a9 Merge "Modify help msg and docs in identity" 2016-06-20 15:51:14 +00:00
Jenkins
40004b5d80 Merge "Add doc for logger usage" 2016-06-20 12:55:41 +00:00
sunyajing
6dbe911800 Modify help msg and docs in identity
Migrate 'change', 'update' to 'modify',
migrate 'user to delete' to 'user(s) to delete',
migrate '(name or ID)' to '(type, name or ID)'.

Change-Id: Ie425e178bb5ddf773e6e793fcd91c78e9c4a5053
2016-06-17 09:41:39 +00:00
Jenkins
c33a213cf1 Merge "Support bulk deletion for delete commands in networkv2" 2016-06-16 16:30:23 +00:00
Jenkins
5d23a1208a Merge "Add "--password-prompt" to user.rst" 2016-06-16 14:18:55 +00:00
Jenkins
b9a318156c Merge "Move server image create command to its own resource file." 2016-06-16 13:05:18 +00:00