summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Clean up ec2 credentials help textDean Troyer2015-06-032-29/+47
| | | | | | | Re-sync the text in v2 and v3 help and the docs Depends-On: If4ac5356ade8cff347bb9eb9f88d1ace82bb7275 Change-Id: Iabef2f271fcf46748295c29713fea1811dcab29c
* Add domain support for ec2creds in v3 identitySteve Martinelli2015-06-031-47/+88
| | | | | | | | | | A follow up work item from I52ff2020ef2fcbdc8a98280b73c6fd4a93bc8e0f to support domain scoped users and projects for ec2creds in the v3 identity api. Related-Bug: 1236326 Change-Id: If4ac5356ade8cff347bb9eb9f88d1ace82bb7275
* Add EC2 support for identity v3 APIJamie Lennox2015-06-031-0/+196
| | | | | | | | | | | | EC2 support is provided for the v2 identity API and is available in almost exactly the same format in the v3 API and enabled by default. Supporting EC2 in the v3 identity API in OSC will make it much easier to transition devstack to a v3 only state. Closes-Bug: 1236326 Change-Id: I52ff2020ef2fcbdc8a98280b73c6fd4a93bc8e0f
* Merge "Add support for volume v2 API"Jenkins2015-05-3112-1/+758
|\
| * Add support for volume v2 APIAmey Bhide2015-05-3012-1/+758
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added following commands for volume V2 API: volume show volume delete volume type show volume type delete snapshot show snapshot delete backup show backup delete Implements: blueprint volume-v2 Change-Id: I68bd303c194f304ad15f899d335b72a8bf3ebe10
* | Add cli tests for --verify and friendsDean Troyer2015-05-282-3/+55
|/ | | | | | | | | | The tests that will change after the verify-always-true bug is fixed are currently commented out. The commented asserts show where we want to go. Also fixes --verify parser value Change-Id: I891e3ead5fc3da3ed2ecba5d2befd9e910778655
* Fix shell testsTerryHowe2015-05-281-9/+9
| | | | | | | | Personally, I think these tests should be removed, they are testing OCC. An internal OCC change on a private method broke this test. Change-Id: I760bf90ef8bd97e30be7838874337be695d45285
* Merge "Add support for v2 image set command"Jenkins2015-05-272-0/+187
|\
| * Add support for v2 image set commandAmey Bhide2015-05-272-0/+187
| | | | | | | | | | Partial-Bug: #1405562 Change-Id: Ie30802d720a247748c45099c38450cc6c76bbc2a
* | Merge "Remove oslo serialization requirement"Jenkins2015-05-271-1/+2
|\ \ | |/ |/|
| * Remove oslo serialization requirementSteve Martinelli2015-05-261-1/+2
| | | | | | | | | | | | | | | | | | Recently oslo serialization has started to also include python-msgpack. Since we were only using it for json support, we should just use python's json support. Especially since it's only used by our tests. Change-Id: I0f8d939d6fca7608eaa3eea7ea4ca93296aaab3a
* | Merge "Add missing properties to image set command"Jenkins2015-05-262-1/+33
|\ \ | |/ |/|
| * Add missing properties to image set commandAmey Bhide2015-05-252-1/+33
| | | | | | | | | | | | | | | | Enable user to update the following image properties from OSC: container-format, disk-format, size Closes-Bug: #1446362 Change-Id: Id9f40f15702e8f14f0327a37fcc7d7971338c258
* | Merge "Fix client error while rescuing an instance"Jenkins2015-05-231-3/+3
|\ \ | |/ |/|
| * Fix client error while rescuing an instanceAmey Bhide2015-05-221-3/+3
| | | | | | | | | | | | | | | | Typo server._info -> server Closes-Bug: #1457983 Change-Id: I606505d73b3aae90bac636e960275926284b4ea6
* | Merge "Enable specifing domains in "role add""Jenkins2015-05-222-44/+74
|\ \
| * | Enable specifing domains in "role add"Juan Antonio Osorio Robles2015-05-122-44/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If users, projects or groups are provided by name, there is a possibility of the existence other users/projects/groups with the same name in other domain. Even though this is not a problem if the actual ID is given instead of a name; this is mostly a usability enhancement. So, three options were added, one for specifying the domain where the user belongs, another one to specify the project's domain, and finally one to specify the group's domain. Change-Id: Iab04b0e04fa75ea5aa3723b8ea42a45f58a6cdb2 Closes-Bug: #1421328
* | | Merge "Fix insecure/verify options"Jenkins2015-05-221-11/+5
|\ \ \ | |_|/ |/| |
| * | Fix insecure/verify optionsTerry Howe2015-05-171-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The insecure and verify options are broken so that verify always gets set to True. One problem was that the parsed args not defaulted so os_cloud_config thinks there was always a command line specified. The other problem was getattr was called on cloud config instead of get. Closes-Bug: #1450855 Change-Id: Ib5f004f51a7453cc8f5a89759e2031ec42e04a30
* | | Send the correct user-agent to KeystoneRoxana Gherle2015-05-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we execute an Openstack CLI command, keystone should log in Keystone access log that the user-agent that made the request was 'python-openstackclient' instead of the default 'python-keystoneclient'. Therefore, when we create the authentication session we need to send the explicit user-agent. Closes-Bug: #1453995 Change-Id: I75087fd4bb1ff1e6f2a911bc70bf8008268276bb
* | | Merge "Add os-client-config cli tests"Jenkins2015-05-111-1/+255
|\ \ \
| * | | Add os-client-config cli testsDean Troyer2015-05-011-1/+255
| |/ / | | | | | | | | | | | | | | | | | | Add tests for --os-cloud handling and precedence between CLI, env vars and clouds.yaml. Change-Id: I91d96f483d395f19ffcf74ec0187718ba01a1c41
* | | Merge "Security group rule delete broken"Jenkins2015-05-071-35/+4
|\ \ \ | |_|/ |/| |
| * | Security group rule delete brokenTerryHowe2015-05-071-35/+4
| |/ | | | | | | | | | | | | | | | | | | Nova client was changed to take a rule id for security group rule delete. https://github.com/openstack/python-novaclient/blob/master/novaclient/v2/security_group_rules.py#L72 Change-Id: I0a69f3f196a36f267ee85a651b09aa8d3c328121 Closes-Bug: #1450872
* | Merge "Don't create empty quota set requests"Jenkins2015-05-061-2/+3
|\ \
| * | Don't create empty quota set requestsJamie Lennox2015-05-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The way that getattr is called with the None default you will always create a compute_kwargs dictionary with key: None values. This means that we will always send these empty requests to the servers. Change so that only actually changed values end up in the quota set requests and get sent. Change-Id: I33bc3f4e1a8013ec672e995648d27513064baf26 Closes-Bug: #1451640
* | | Merge "Add docs for service provider CRUD"Jenkins2015-05-061-16/+18
|\ \ \
| * | | Add docs for service provider CRUDSteve Martinelli2015-04-151-16/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds service providers to command-objects, and makes a few changes to the help text, to align it more with the already established identity provider resource. Change-Id: Ibf3d2bc04bf5588d1fc9c37b8ca28c007496c021
* | | | Merge "Federation Service Providers CRUD operations"Jenkins2015-05-063-0/+644
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Federation Service Providers CRUD operationsMarek Denis2015-04-153-0/+644
| | | | | | | | | | | | | | | | | | | | | | | | | | | Adds CRUD support for service providers as it's now available through keystoneclient Closes-Bug: 1435962 Depends-On: If802e8a47e45ae00112de3739334b4b5482d0500 Change-Id: Ic55101e50209070aa49ca2adc91c89ba754c8c68
* | | Merge "Add image show tests"Jenkins2015-05-014-8/+166
|\ \ \
| * | | Add image show testsDean Troyer2015-05-014-8/+166
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Image v2 uses warlock objects rather than the usua Resource objects so we need to test for those. This adds a subset of the Image v2 schema that should be enough to test for proper warlock image handling. Depends-On: Ic95db2f63d9f5f37e29f0d7e048397da311fbf8c Change-Id: Ib89cce87f110a554f40e726718e31d39b500a6ae
* | | Minor fix to openstack image show commandAmey Bhide2015-05-011-1/+1
|/ / | | | | | | | | | | | | | | | | | | image show using V2 api was failing. openstack --os-image-api-version 2 image show <image_id> ERROR: openstack _info Closes-Bug: #1450829 Change-Id: Ic95db2f63d9f5f37e29f0d7e048397da311fbf8c
* | Fix tiny typo in comment messageLin Yang2015-04-302-2/+2
| | | | | | | | | | | | | | compatability => compatibility Change-Id: I3181fb2b83df1e2cb60a9eedf319f2ad0a487dba Signed-off-by: Lin Yang <lin.a.yang@intel.com>
* | Merge "Add parent field to project creation"Jenkins2015-04-303-2/+123
|\ \
| * | Add parent field to project creationRodrigo Duarte2015-03-233-2/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding the possibility to create projects hierarchies by adding the parent field in the create project call. Co-Authored-By: Victor Silva <victor@lsd.ufcg.edu.br> Implements: bp hierarchical-multitenancy Change-Id: I4eac4f5bc067634cc38c305dacc59ab1da63c153
* | | Minor logging/debug cleanupsDean Troyer2015-04-281-6/+2
| | | | | | | | | | | | | | | | | | This removed the rarely useful cliff command list from the debug output. Change-Id: I48f22086733acf90e79a6ddac8712734ee2d0b60
* | | Raise exception if no session is createdJuan Antonio Osorio Robles2015-04-271-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the clientmanager is unable to create a keystone session (due to insufficient auth parameters or something else) then the exception caused by this shouldn't be ignored, as was the case. On the other hand, we don't want this behaviour in the case of the 'complete' command, so this is now properly detected. Change-Id: If4f453d23cc87900cda752e9ffbcf41ded59e26f Closes-Bug: #1444640
* | | Merge "Fix security group create description bug"Jenkins2015-04-233-1/+206
|\ \ \
| * | | Fix security group create description bugDean Troyer2015-04-223-1/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --description is optional in our CLI but the server requires it to be non-empty. Set a default value of the given name. Closes-Bug: #1434172 Change-Id: I81507a77ad8d815000ff411784ae71e229c77f78
* | | | Merge "Security group rule create fails"Jenkins2015-04-231-0/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Security group rule create failsRamaraja Ramachandran2015-04-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default the --dst-port value is set to None when no --dst-port argument is provided. By making the default value (0, 0), this allows novaclient to proceed without any error. Change-Id: Ibb58f5df5ed1890a8f499dd2467b12b0e79d547b Closes-Bug: #1443963
* | | | Merge "Refactor utility to find identity resources"Jenkins2015-04-221-56/+41
|\ \ \ \
| * | | | Refactor utility to find identity resourcesSteve Martinelli2015-04-201-56/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on the comments made in this patch: https://review.openstack.org/#/c/174908/2/ We should simplify and refactor the way we handle finding identity resources. Change-Id: I77db2e3564faa90a917082a6c6cb87269e93aebe
* | | | | Adds support for container selection for backupDag Stenstad2015-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed argument from parsed_args.volume to parsed_args.container as per what is expected in python-cinderclient. If not defined, defaults to "backup_swift_container" in cinder.conf. Stops there being a container for every volume you take backups off. Change-Id: I4a34894222f71b0f207d007c32427040589406aa Closes-Bug: 1446751
* | | | | Merge "Handle the pagination for image list"1.1.0Jenkins2015-04-204-15/+52
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Handle the pagination for image listTerryHowe2015-04-204-15/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle the paginatiion for image list. We were sorting the data here, so nothing lost for the generator. Change-Id: I2d7d4b3d5c9f650953f309c971ac53b64f6f7f77
* | | | | Merge "Update the docs for new nic options"Jenkins2015-04-191-1/+1
|\ \ \ \ \
| * | | | | Update the docs for new nic optionsSteve Martinelli2015-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4c8b93ede80f993eab8badfbba6bf1c530844d54
* | | | | | Merge "remove unnecessary conditionals"Jenkins2015-04-194-18/+10
|\ \ \ \ \ \