459 Commits

Author SHA1 Message Date
Alex Gaynor
a8087a6c8b Fixed several typos throughout the codebase
Change-Id: I048ee857fc1215fea7f60978364894e1b5abdf66
2014-05-21 07:47:52 -07:00
Christian Berendt
3b485de6b0 replace string format arguments with function parameters
There are files containing string format arguments inside
logging messages. Using logging function parameters should
be preferred.

Change-Id: Ic749ac9eb55564ed631d57055a5a4dfc3aebd169
2014-05-20 13:49:56 +02:00
Matt Fischer
dc44ec1ddf Add tests for identity endpoints
Change-Id: If15cc74fafbbe52fa86aa353f2598aa31daf0695
Closes-Bug: #1319450
2014-05-15 12:20:30 -04:00
Dean Troyer
870e7ddbcc Change volume create --volume-type to --type
This makes it consistent with the other --type options in OSC.  Also
add a few more volume_create tests.

Change-Id: I50ef927932cabf157ecdfd6c4faa1914b4fdf413
2014-05-15 09:25:07 -05:00
Jenkins
a93851d6af Merge "Implement CRUD operations for Identity Providers" 2014-05-09 21:38:20 +00:00
Dean Troyer
da5e31dbb6 Fix server image create
The final find_resource() call errored because servers.create_image()
returns an image ID rather than an Image resource.  Reset expectations
and arguments.

Change-Id: I1b9132f66091f9df76198724156acb7a6fb2f6fe
2014-05-08 15:04:22 -05:00
Jenkins
03b9a7282b Merge "Fix help message for ip floating delete" 2014-05-07 16:40:41 +00:00
Yejia Xu
3b57117f8e Display all server log when --lines option is None
Without --lines option, `console log show xxx`
cmd will break.

Change-Id: I4027aacac245e6916c1808fd9f878fb708c8a5f0
Closes-Bug: #1316870
2014-05-07 05:15:22 +00:00
Yejia Xu
f7f8fe4e7c Fix help message for ip floating delete
Previously, the help message incorrectly had the
string "IP address to add to server". This should
probably read "IP address to delete".

Change-Id: If592b736448199f84c30e0cbc8110a0a76e2c140
Closes-Bug: #1316877
2014-05-07 05:13:41 +00:00
Jenkins
834867b8bf Merge "volume type create should display properties" 2014-05-06 06:27:28 +00:00
Terry Howe
37231b5801 volume type create should display properties
The volume type create command should properly output the
properties.  The code was doing a create on the volume type and
then setting the properties, but it was printing out the volume
object from the create.

Change-Id: I23c8a0182e77bb71903ad87c1b01ba2b62405f3b
Closes-Bug: #1303978
2014-05-05 14:21:50 -06:00
Yejia Xu
2cc3a2fdbd Skip auth in cinderclient
cinderclient can't work well with keystone v3 auth
info. We should do it in openstackclient just like
compute extension.

Closes-Bug: #1315963
Change-Id: I46f794c5315f6a9fe1d9a0e5dc7b84f067d7f792
2014-05-05 17:09:28 +00:00
OpenStack Proposal Bot
6c5f2e39e2 Updated from global requirements
Change-Id: Idde32a0bdcee8843c09a968dff69b246b5e784f7
2014-05-01 13:50:49 +00:00
Marek Denis
ef9496a4fc Implement CRUD operations for Identity Providers
Operations for:
    * adding Identity Provider
    * listing Identity Providers
    * showing Identity Provider
    * updating Identity Provider
    * deleting Identity Provider

Change-Id: I4557168309f93e4670116b5c3c0e29252ff0c40f
Implements: bp/add-openstackclient-federation-crud
2014-04-24 14:55:54 +02:00
Jenkins
c744abdbda Merge "Updated from global requirements" 2014-04-23 23:11:50 +00:00
Jenkins
2643df7405 Merge "Make endpoint commands more consistent" 2014-04-23 23:11:49 +00:00
Jenkins
845f6705bf Merge "Fix the project option to user list so it filters" 2014-04-23 23:11:48 +00:00
OpenStack Proposal Bot
dde02b8a38 Updated from global requirements
Change-Id: Ib4416938530bd1037cc4b7e84bf81475d91e6b16
2014-04-20 09:59:03 +00:00
Jenkins
8ec78a10f8 Merge "Pass arguments to v3 keystoneclient by kwarg" 2014-04-17 02:40:36 +00:00
Jenkins
3c3f212d8b Merge "Make bash comple command best effort to authorize" 2014-04-17 02:06:11 +00:00
Jenkins
398dc6c0bd Merge "In anticipation of network agents, rename compute" 2014-04-17 02:04:18 +00:00
Steve Martinelli
01db6d977f move read_blob_file_contents to utils
Thinking ahead, a few other upcoming keystone features could
benefit from reading contents from a file. Thus, moving the
function from policy to utils.

Change-Id: I713ab0e5a00c949ad996daf83b775a7c19044888
2014-04-14 22:16:59 -05:00
Jamie Lennox
022b6d95d1 Pass arguments to v3 keystoneclient by kwarg
Keystoneclient has added the positional decorator which emits a warning
if arguments aren't passed by keyword. This means we are getting
warnings in certain places in openstackclient.

Change-Id: Ic5446cd6f122cbb56fce543011386d53bc31fe18
Closes-Bug: #1302199
2014-04-04 08:09:43 +10:00
Terry Howe
e72072adc3 Fix the project option to user list so it filters
The --project option to the user list command was not implemented
* Allow users to be filted by project
* Support id or name of project with the find_resource command
* Make sure the report does not contain duplicates

Change-Id: Ic0e10cccd7749d38a7d4b80bbdc68e61a660084b
Closes-Bug: #1177255
2014-04-01 09:03:45 -06:00
Terry Howe
bea6e6ac23 Make endpoint commands more consistent
Make endpoints more consistent across create, show, etc
* Make the name option required for create
* Use a common function to fetch services by id, name or type
* Have show work by endpoint id or by service id, type or name
* Have show display all the fields by default
* Remove capability to filter queries by attribute value pairs

Change-Id: Idaa4b8d930ba859fd62de777e44a10b1ed58c79b
Partial-Bug: #1184012
2014-03-28 12:33:58 -06:00
Jenkins
ee22070473 Merge "Correct display of project/tenant id on display of credentials" 2014-03-23 18:43:24 +00:00
Chris Johnson
8117256d7d Correct display of project/tenant id on display of credentials
This change corrects the display of ec2 credentails within the
ListEC2Creds method. Added explicit headers and corrected data listt o
specify tenant_id instead of project id.

Change-Id: I2ea579082bee800d774f202bdc38e2d546e57e77
Closes-Bug: #1292337
2014-03-21 11:22:22 -04:00
Terry Howe
4900c64d09 Produce a useful error message for NoUniqueMatch
Most of the CLIs use a NoUniqueMatch, so produce a useful
error message if that happens.  Added some tests for
find_resource as well.

Change-Id: I85ba61d5f6d1be5bd336a1cc4b02501492905f33
Closes-Bug: #1293846
2014-03-17 17:32:41 -06:00
Steven Hardy
0c0803d363 identity v3 allow project list filtering by domain
The underlying keystoneclient interface allows filtering by domain,
so support it in the cli interface because it makes project list
much nicer to use in a multi-domain deployment.

Change-Id: If3f5cf1205c1e9cf314f8286a3ae81bda4456b8f
Closes-Bug: #1289513
2014-03-13 09:32:21 +00:00
Jenkins
ce63fa0121 Merge "Add ability to set key value pairs in projects" 2014-03-13 06:33:24 +00:00
OpenStack Jenkins
65f094e738 Updated from global requirements
Change-Id: I73f40a5fd569d0a5e341aabbece1885a7478d7f5
2014-03-10 21:37:10 +00:00
Jenkins
cf8506d2bd Merge "Fix 'keypair show' command output" 2014-03-10 16:40:50 +00:00
Jenkins
46322387b6 Merge "Fixed spelling error, compatability to compatibility" 2014-03-08 03:50:55 +00:00
Jenkins
3293138121 Merge "Add --volume option to image create command" 2014-03-08 03:50:54 +00:00
Jenkins
b03680aea5 Merge "Fixed Spelling errors - compatability to compatibility" 2014-03-08 00:33:11 +00:00
Jenkins
b0c0b48fdc Merge "Fixed spelling errors - occurance to occurence" 2014-03-08 00:33:10 +00:00
Dean Troyer
27ebdeb57d Fix 'keypair show' command output
The attempt to get the data dict out of the keypair resource object uses a
key 'keypair. This is incorrect, no key is required.

Closes-Bug: 1289594
Change-Id: I7887119c1d800d389cb6f63ea7847bea1e25bb52
2014-03-07 15:34:31 -06:00
Dolph Mathews
3435f188a4 add interface and url to endpoint list
endpoint list is not terribly useful without these details

Change-Id: I65b0bdf7667d73ceaad5856171678cabcde003f3
2014-03-07 11:51:15 -07:00
Alex Holden
00188f092c Fixed spelling error, compatability to compatibility
Change-Id: I72c1254666a741ffe1070cf8275af889fa323f52
2014-03-07 09:40:29 -08:00
Alex Holden
97667079dc Fixed Spelling errors - compatability to compatibility
Change-Id: I9da380cef8b798e21fd35882763bd05f5cf1e33e
2014-03-07 09:39:02 -08:00
Alex Holden
14548aa69a Fixed spelling errors - occurance to occurence
Change-Id: Ie0550a1168448d85043d9b4943edd732b1f10307
2014-03-07 09:38:05 -08:00
Terry Howe
211cd31d7a Make bash comple command best effort to authorize
If authorization fails for the complete command, generate the bash complete anyway.
* Added best_effort flag to command
* Attempts to authorize for bash complete, but if it fails, it tries anyway

Change-Id: I796258f8044f42abc6a51164d920a26f73397962
Partial-Bug: #1283550
2014-03-06 18:41:37 -07:00
Terry Howe
70e6333e7d Add ability to set key value pairs in projects
Add supporto of extra key value pairs for projects (aka tenants)
* Added option --property key=value to create and set commands
* Support for versions v2 and v3

Change-Id: I84064b8b308579d1b66c83b1ed3d1a37614ec087
Closes-Bug: #1220280
2014-03-06 14:22:17 -07:00
OpenStack Jenkins
64a33b0aa5 Updated from global requirements
Change-Id: Ic90d9682a9c15795928c0c5b64c41bd06d74243a
2014-03-05 19:30:08 +00:00
Terry Howe
e6e0dbf754 Add --volume option to image create command
Add ability to create an image from a volume.
* Added --volume command to image create
* Added --force option to image create
* Added block to access volume manager in image create
* Tests added for the volume option

Change-Id: I3910a2b5e04acd0d15dd230747ba6ebca07aa316
Closes-Bug: #1207615
2014-03-05 11:26:13 -07:00
Jenkins
808fa65210 Merge "Update release notes for 0.3.1" 2014-02-28 23:14:51 +00:00
Jenkins
9ccaacbe27 Merge "Fix format errors in nova security group rule list" 2014-02-28 01:44:48 +00:00
Dean Troyer
038269cf7f Update release notes for 0.3.1
* update README
* update man page
* fix doc errors

Change-Id: I5682654bf482289879c8ba9016e348f2b2782971
2014-02-27 17:36:28 -06:00
Terry Howe
e9015b94f9 In anticipation of network agents, rename compute
Rename the compute agents in anticipation of network agents

Change-Id: I201121915638d89dfbe46a7e0026aa4c2777e590
Closes-Bug: #1285800
2014-02-27 10:55:37 -07:00
Jenkins
b7f673cb81 Merge "Fix volume commands with multiple regions" 2014-02-26 23:18:34 +00:00