773 Commits

Author SHA1 Message Date
Jenkins
0af779a91b Merge "Command doc: mapping" 2015-01-08 23:06:13 +00:00
Jenkins
c1f28bf7ca Merge "Command doc: backup" 2015-01-08 23:04:59 +00:00
Jenkins
e252bae4c7 Merge "Fixup backup list output" 2015-01-08 23:04:51 +00:00
Steve Martinelli
6025fa83f1 Request token creation docs + tweaks
Added command docs, and changed request token to take in name or
id of a project, and also support a domain option.

Change-Id: I87363274e5b7a0c687e234f5a4bcaaf166d28840
2015-01-08 22:28:26 +00:00
Steve Martinelli
c885c72cba Command doc: consumer
Change-Id: Ie687e1d7f80810106a64204828299f9d143b8d7c
2015-01-08 17:28:09 -05:00
Steve Martinelli
0ff28d5251 Allow user list to filter by project
Adds a --project filter to `os user list`, which really
calls the role assignment manager behind the scenes.

Change-Id: I57a75018f12ed3acdf8f6611b6b58bd974f91da2
Closes-Bug: #1397251
2015-01-08 16:49:17 -05:00
Steve Martinelli
a0c63dedf4 Command doc: federation protocol
Change-Id: I1289eb0caf31fca21c5c377cf13aebd1434a00ee
2015-01-08 21:41:43 +00:00
Steve Martinelli
c9cf126a83 Command doc: identity provider
Change-Id: Ie73accfaa3d45205a2521e6e61efd16142c460b2
2015-01-08 16:41:28 -05:00
Steve Martinelli
e8be3b64c1 Command doc: mapping
Also tweaked the code for `mapping set` as it was previously
using cliff Show instead of cliff Command.

Change-Id: I0ea1383a9f2dddf4b2f717b2aa16bbd60ab1720c
2015-01-08 16:39:06 -05:00
Steve Martinelli
79d0e21a45 Command doc: backup
Change-Id: Iecd4dbddea637bd6540d94b37253a9ba434c9db3
2015-01-08 21:05:19 +00:00
Steve Martinelli
55b8540374 Fixup backup list output
Name and Description were not appearing at all, and we didn't have
a --long alternative, which had a bunch of useful information.

Closes-Bug: #1408585
Change-Id: I7ca42a8d23ad60f6b9cc862799cb08a3e491b6e8
2015-01-08 21:03:47 +00:00
Steve Martinelli
265ca582f0 Command docs: volume
Change-Id: Id1e500d5fb19ffdeb0d1bde9e22c3143c0873d0c
2015-01-07 16:58:12 -05:00
Steve Martinelli
ca92608974 Command doc: volume type
Change-Id: I7e36daa027639d6a782043d4181c1b328335975a
2015-01-05 21:46:32 -05:00
Jenkins
32c15633f4 Merge "Add endpoint v3 docs" 2015-01-04 05:07:50 +00:00
zhiyuan_cai
369ae3f9f0 Check if service.name available before access
Currently v3 endpoint commands access service.name directly, while
name is not a required attribute of service. So if we associate an
endpoint to a service without name, we will get an AttributeError
executing v3 endpoint commands later. This patch addresses this
issue by checking if service.name is available before accessing it.

Change-Id: I3dd686ef02a2e21e2049a49cb55634385c2ecfaf
Closes-Bug: #1406737
2015-01-04 11:26:18 +08:00
Jenkins
cbb26724fc Merge "Command docs: group" 2015-01-03 03:24:11 +00:00
Dean Troyer
3807354cfe Command docs: group
Fix up formatting for group command docs and help

Change-Id: Icda79842d52da90d5eac2b0fdbc0d576d371378d
2015-01-03 02:09:28 +00:00
Jenkins
6698f14fdb Merge "type should be required for v2.0 service create" 2015-01-03 00:47:25 +00:00
Jenkins
79f8ce6893 Merge "Command docs: ec2 credentials" 2015-01-02 23:03:42 +00:00
Jenkins
9d5a7c7c1b Merge "Rename column to default project id for long listing v3 user" 2015-01-02 19:11:45 +00:00
Jenkins
8132072630 Merge "Add docs for usage show/list" 2015-01-02 17:54:30 +00:00
Dean Troyer
b56da8dde2 Add endpoint v3 docs
(update: change version description formats for API versioning)

Change-Id: I499ea1d80ad6ad6392468305f761e695d7261e33
2015-01-02 11:29:07 -06:00
Dean Troyer
4f7777ca0e Command docs: ec2 credentials
Add ec2 credentials docs

Change-Id: I1699d1c8e9859153557081966654646966a3268d
2015-01-02 11:01:36 -06:00
Jenkins
6c0d4b82e0 Merge "Command docs: region" 2015-01-02 09:17:00 +00:00
Jenkins
ee912035ca Merge "Command docs: domain" 2015-01-02 08:50:15 +00:00
Steve Martinelli
e7ec6bc6e4 Rename column to default project id for long listing v3 user
Previously this column was coming up as empty, since user's
have a `default project id`, not just `project id`.

Change-Id: I3d7f7eb600e9526b9c6cc2a8c5d6009b9100b1f5
2015-01-02 02:39:44 -05:00
Steve Martinelli
480921d0e8 Add docs for usage show/list
Change-Id: Iaf911d69a0b63d705f8789a4640018a428b87be6
2014-12-31 14:21:48 -05:00
Dean Troyer
0720c78199 Command docs: flavor
Change-Id: Ie85ff7706ef08b70ab8ba99533465d90904cf393
2014-12-31 12:09:50 -06:00
Dean Troyer
f18f264ed7 Command docs: domain
Change the implementation of --enable|--disable on domain create
and set commands to our usual style.

Change-Id: I10f2b96281a114fa3cf3b001394844770b2a8632
2014-12-31 10:08:51 -06:00
Dean Troyer
b5ce0f145f Command docs: region
Fix up formatting fro region command docs and help

Change-Id: Icf8c03da38b30fc69e7fe70f9c14aaa99881d320
2014-12-31 10:07:14 -06:00
Steve Martinelli
caef59a4a8 Add docs for listing availability zones
Change-Id: I4c005e1d8089b46feca6cd3266f63c408648f074
2014-12-31 02:54:36 -05:00
Jenkins
60aec78c6f Merge "Catch exception when getting quota" 2014-12-31 02:43:43 +00:00
Jenkins
50a8377969 Merge "list availability zones for compute" 2014-12-31 01:54:05 +00:00
lin-hua-cheng
4a07e63e7e type should be required for v2.0 service create
Updated the service name to be optional, mostly matching the cli arguments
with v3 service create.
Implemented the following changes on service create:
- if only a single positional is present, it's a <type>.
  This is not currently legal so it is considered a new case.
- if --type option is present the positional is handled as <name>;
  display deprecation message
- if --name option is present the positional is handled as <type>.
  Making --type optional is new, but back-compatible
- Made --name and --type mutually exclusive.
- only '--name <service-name> <type>' shall appear in the help output

Change-Id: I8fd4adba3d8cd00d5a8cacc2c494d99d492c45a3
Closes-Bug: #1404073
2014-12-30 17:31:29 -08:00
Jenkins
5206278992 Merge "Add usage show command" 2014-12-31 00:02:11 +00:00
Jenkins
95313d0a2d Merge "Fix a few issues with 'usage list'" 2014-12-31 00:02:04 +00:00
Jenkins
694cd12cbd Merge "Command object docs: container, object" 2014-12-30 22:33:22 +00:00
Dean Troyer
d5caa6a26b Command object docs: container, object
Change-Id: Ie3df543a28cbee0cc809310a05f431c97b2c7e70
2014-12-30 16:09:54 -05:00
Jenkins
457f4c8998 Merge "Properly format 'attached to' column list when listing volumes" 2014-12-30 21:01:10 +00:00
Jenkins
8593b0a56a Merge "Allow service description to be set for KS V3" 2014-12-30 21:01:03 +00:00
Jenkins
be8cac9cea Merge "add doc for domain command" 2014-12-30 17:06:07 +00:00
zhiyuan_cai
7ea5f89043 Catch exception when getting quota
Quota show command will list both the quotas of nova and cinder.
But if cinder service is not enabled, EndpointNotFound exception
will be raised and thus the command is broken. Catch this exception
so quotas of nova can be listed.

Change-Id: If2d2820675aa6a12e407d608fed846b21c953b2d
Closes-Bug: #1390507
2014-12-30 09:53:26 +08:00
Steve Martinelli
5761a0f0b7 Add usage show command
Should show basic usage by project id, if not specified then
use the project id the user is authN'ing with.

Change-Id: I0284a5efd84075b18e1a7117cc9f8f7fecf16274
Closes-Bug: #1400796
2014-12-26 03:25:51 -05:00
Steve Martinelli
6e3c9a3d2d Fix a few issues with 'usage list'
* Added number of servers column, was missing
* Added a new line character after the initial usage message

Change-Id: I6c4e5bda6ba9ceafa92ecf13987c56d0bbe99961
2014-12-26 03:23:10 -05:00
Jenkins
3cb8b0ca6f Merge "Compute calls ignore region selection" 2014-12-24 18:00:20 +00:00
Jenkins
26dbad5cfb Merge "add doc for role assignment command" 2014-12-24 15:15:26 +00:00
Terry Howe
1927b03cc7 Compute calls ignore region selection
Calls to compute commands ignore region selection.  The region is
not passed to the get_endpoint call.

Change-Id: I1ccfc56d7cb27a00b8982232a40ace21f2c0e9a2
Closes-Bug: 1405416
2014-12-24 06:08:19 -07:00
wanghong
e5d71221ad add doc for group command
Change-Id: Iaaa0aeb42f9f940af63863f5d09011b5f7529281
2014-12-24 14:31:12 +08:00
wanghong
e3ba13b320 add doc for role assignment command
Change-Id: I594d444b6d1ec4e72bed03394178293737f26069
2014-12-24 14:23:25 +08:00
wanghong
d240b709b9 add doc for domain command
Change-Id: I8b5575a5f27362fa375746b955e1f17a5a8b29a6
2014-12-24 11:55:27 +08:00