summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Display all server log when --lines option is NoneYejia Xu2014-05-071-3/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | Without --lines option, `console log show xxx` cmd will break. Change-Id: I4027aacac245e6916c1808fd9f878fb708c8a5f0 Closes-Bug: #1316870
* | | Merge "volume type create should display properties"Jenkins2014-05-061-9/+4
|\ \ \
| * | | volume type create should display propertiesTerry Howe2014-05-051-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Skip auth in cinderclientYejia Xu2014-05-051-0/+11
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Make endpoint commands more consistent"Jenkins2014-04-235-118/+74
|\ \ \
| * | | Make endpoint commands more consistentTerry Howe2014-03-285-118/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Fix the project option to user list so it filters"Jenkins2014-04-232-5/+26
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix the project option to user list so it filtersTerry Howe2014-04-012-5/+26
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Pass arguments to v3 keystoneclient by kwarg"Jenkins2014-04-1713-72/+83
|\ \ \
| * | | Pass arguments to v3 keystoneclient by kwargJamie Lennox2014-04-0413-72/+83
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Make bash comple command best effort to authorize"Jenkins2014-04-171-1/+12
|\ \ \
| * | | Make bash comple command best effort to authorizeTerry Howe2014-03-061-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "In anticipation of network agents, rename compute"Jenkins2014-04-171-4/+4
|\ \ \ \
| * | | | In anticipation of network agents, rename computeTerry Howe2014-02-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the compute agents in anticipation of network agents Change-Id: I201121915638d89dfbe46a7e0026aa4c2777e590 Closes-Bug: #1285800
* | | | | move read_blob_file_contents to utilsSteve Martinelli2014-04-142-8/+12
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Correct display of project/tenant id on display of credentials"Jenkins2014-03-231-2/+4
|\ \ \ \
| * | | | Correct display of project/tenant id on display of credentialsChris Johnson2014-03-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Produce a useful error message for NoUniqueMatchTerry Howe2014-03-172-0/+76
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | identity v3 allow project list filtering by domainSteven Hardy2014-03-132-1/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Add ability to set key value pairs in projects"Jenkins2014-03-134-0/+178
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add ability to set key value pairs in projectsTerry Howe2014-03-064-0/+178
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Fix 'keypair show' command output"Jenkins2014-03-101-1/+1
|\ \ \
| * | | Fix 'keypair show' command outputDean Troyer2014-03-071-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Add --volume option to image create command"Jenkins2014-03-082-16/+119
|\ \ \
| * | | Add --volume option to image create commandTerry Howe2014-03-052-16/+119
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | add interface and url to endpoint listDolph Mathews2014-03-071-14/+2
| |/ |/| | | | | | | | | endpoint list is not terribly useful without these details Change-Id: I65b0bdf7667d73ceaad5856171678cabcde003f3
* | Merge "Fix format errors in nova security group rule list"Jenkins2014-02-281-7/+15
|\ \ | |/ |/|
| * Fix format errors in nova security group rule listTerry Howe2014-02-201-7/+15
| | | | | | | | | | | | | | | | | | | | * port range was throwing exception for None to/from ports * ip_range didn't always have cidr causing error * ip_protocol None at times and looked bad Closes-Bug #1256935 Change-Id: I451a0f038a3e9646bca3f278c5d6f6d7e3097a83
* | Merge "Fix volume commands with multiple regions"0.3.1Jenkins2014-02-261-0/+1
|\ \
| * | Fix volume commands with multiple regionsTerry Howe2014-02-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The region_name was not passed into the the client causing volume commands to fail if there were multiple regions. Change-Id: I066dbbc4852f412e017daeeb16a3f186d3f91d2f Closes-Bug: #1241177
* | | Use cacert values when creating identity clientJamie Lennox2014-02-261-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | These were ignored when the client was created with a username and password. Change-Id: Id7557a5b07a41c7f79ab1a05ede385da31889940 Closes-Bug: #1284957
* | | Merge "Fix some help strings"Jenkins2014-02-2315-32/+32
|\ \ \
| * | | Fix some help stringsAndreas Jaeger2014-02-2115-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes some errors and inconsistencies I found reviewing the help strings: * Capitalize help strings * Add missing space between words (in multi-line strings) * Improve wording Change-Id: I2fb31ab4191c330146e31c1a9651115a6657769a
* | | | Merge "Add ability to prompt for passwords for user create and set"Jenkins2014-02-226-0/+269
|\ \ \ \ | |_|/ / |/| | |
| * | | Add ability to prompt for passwords for user create and setTerry Howe2014-02-216-0/+269
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add get_password method to the utilities * Add --password-prompt option * Call the get_password method if a prompt is requested * Various tests Change-Id: I1786ad531e2a2fbcc21b8bc86aac0ccd7985995a Closes-Bug: 1100116
* | | | Merge "Update oslo incubator bits"Jenkins2014-02-213-1964/+368
|\ \ \ \ | |_|/ / |/| | |
| * | | Update oslo incubator bitsDean Troyer2014-02-203-1964/+368
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | * update gettextutils.py, strutils.py, install_venv_common.py * remove cfg.py, openstackkeyring oslo-incubator commit 630d3959b9d001ca18bd2ed1cf757f2eb44a336f Change-Id: I0ae9b9dc72ec88ed64a8c353b9c51734ee2cd24c
* | | Merge "Rename Openstack to OpenStack"Jenkins2014-02-211-4/+4
|\ \ \ | |/ / |/| |
| * | Rename Openstack to OpenStacktanlin2014-02-141-4/+4
| | | | | | | | | | | | Change-Id: I9e5b245141290a4b642900fbc46b98bd4f44c321
* | | Merge "Glance client no longer isa http client"Jenkins2014-02-201-1/+1
|\ \ \
| * | | Glance client no longer isa http clientTerry Howe2014-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If the client has-a http_client, then is must not be an is-a. This has been tested with the current version of glanceclient and the master branch. Closes-Bug: #1269821 Change-Id: I14d67eb094bfb4c2dbc07106343488298b6a9409
* | | | Python 3: the content of a FakeResponse must be bytesCyril Roelandt2014-02-181-0/+3
| |_|/ |/| | | | | | | | | | | | | | Encode '_content' if necessary. Change-Id: I25c1e1cd5330f0519bf062be840045d0ef520b28
* | | Merge "Python 3: fix a syntax error"Jenkins2014-02-111-1/+1
|\ \ \
| * | | Python 3: fix a syntax errorCyril Roelandt2014-02-111-1/+1
| | |/ | |/| | | | | | | | | | | | | "raise AttributeError, name" is invalid in Python 3. Change-Id: Id61bd3747f49c2bd810cbfeae56506e7ed9d2bd0
* | | Merge "FakeResponse: use a default status code"Jenkins2014-02-111-1/+1
|\ \ \
| * | | FakeResponse: use a default status codeCyril Roelandt2014-02-111-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running some tests from test_restapi.py, the following error happens: TypeError: unorderable types: NoneType() < int() In Python 2, comparing NoneType and integers is possible: >>> None < 2 True But in Python 3, it's not allowed. Fix this by using a default status code. Change-Id: Ic0fad5c68f3bf2dd8a2b98423549903f982192c9
* | | Merge "Fix misspellings in python openstackclient"Jenkins2014-02-113-5/+5
|\ \ \
| * | | Fix misspellings in python openstackclientShane Wang2014-02-073-5/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Fix misspellings detected by: * pip install misspellings * git ls-files | grep -v locale | misspellings -f - Change-Id: Ic0d3efa26eb9a05ce16a8319c142f5bd1ce23821 Closes-Bug: #1257295
* | | Use six.iteritems() rather than dict.iteritems()Cyril Roelandt2014-02-111-1/+2
|/ / | | | | | | | | | | This is compatible with both Python 2 and 3. Change-Id: I6fe3e9bf9ece699badbdb9933118af90642a91e9
* | Add token create subcommand for identity v3 apiQiu Yu2014-01-293-0/+115
| | | | | | | | | | | | | | | | | | | | Implements token create subcommand which is an equivalent of keystone token-get command. Original "wrap" parameter for keystone token-get is not implemented yet due to cliff Bug #1269299 This is a part of: blueprint add-identity-token-support Change-Id: I2255021c9d1f10f757686583b1ebe40b5f3a9ecb