summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* openstack catalog list always returns publicURL for internalURL and adminURLMartin Schuppert2015-07-082-9/+11
| | | | | | | | With this change 'openstack catalog list' returns the correspoding URL for publicURL, internalURL and adminURL in _format_endpoints . Change-Id: I5d946c9d70a2d3c22a7cc77067fec8e2e9aa4940 Closes-Bug: 1472629
* Merge "Add --os-endpoint-type cli optional argument"Jenkins2015-07-0313-4/+85
|\
| * Add --os-endpoint-type cli optional argumentRoxana Gherle2015-07-0213-4/+85
| | | | | | | | | | | | | | | | | | | | | | | | User should be able to specify the endpoint type through a CLI optional argument/ENV variable setting. We will name this new optional argument: --os-endpoint-type (Env: OS_ENDPOINT_TYPE) and based on the value given, the service API will use that specific endpoint type. Possible values: public, admin, internal. DocImpact Closes-Bug: #1454392 Change-Id: Ife3d4e46b44c0ddcd712b1130e27e362545a9a29
* | Merge "Move update code from image create command"Jenkins2015-07-022-105/+169
|\ \
| * | Move update code from image create commandMarek Aufart2015-07-022-105/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Openstack image create command updates existing image (with same name) by default. That might be confusing since glance allows create multiple images with same names and may lead to unwanted image update by image create command. Image update code was moved from image create action to image set action. BackwardsIncompatibleImpact Change-Id: I1686c6544c366262efab9e33c066d5f8a667f707 Closes-Bug: #1461817
* | | Merge "Add functional tests for image set"Jenkins2015-07-012-2/+7
|\ \ \
| * | | Add functional tests for image setTerryHowe2015-06-162-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch includes functional tests for image set and it includes a change to use the OSC utils.format_dict method to format the properties. This will give a more user friendly format to the image commands and it gives a more consistent testable format to the output. Instead of: {u'a': u'b', u'c': u'd'} The user will see: a=b, c=d Change-Id: Ib396316586ffc5dbab231064d5b6dc9425507934
* | | | Merge "Add tests for 'list' and 'show' for volume qos v1"Jenkins2015-07-012-0/+111
|\ \ \ \
| * | | | Add tests for 'list' and 'show' for volume qos v1David Moreau Simard2015-06-292-0/+111
| | | | | | | | | | | | | | | | | | | | Change-Id: I1b4d998f3ec1bd5cb8dd4c9e0d04fd3b3049e9d7
* | | | | Merge "Add support for volume API v2 QoS commands"Jenkins2015-06-303-0/+792
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add support for volume API v2 QoS commandsDavid Moreau Simard2015-06-293-0/+792
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following commands: volume qos associate volume qos create volume qos delete volume qos disassociate volume qos list volume qos set volume qos show volume qos unset Change-Id: If3c679557ac9abb0dfc75d290b96fb9c8d46c7b7 Partial-Bug: #1467967
* | | | | Alphabetize tests for v1 qos_specsDavid Moreau Simard2015-06-291-74/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a follow up of sorting the methods for volume v1 qos_specs. Change-Id: I428167297e7110e586d139bf38fd22d321836e80
* | | | | No need for get_parser on QoS listSteve Martinelli2015-06-281-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are no arguments so there's no need to define the get_parser function. Change-Id: Icfa8accf6dbb7f8d1a0472926403b405da3cc611
* | | | | Alphabetize QoS specsSteve Martinelli2015-06-281-104/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | setup.cfg and the implementation had some functions that were not in alphabetical order. Since the rest of OSC is alphabetized, let's stick to that. Change-Id: Ief5d4694c7b6bc20a0898437b96305885104d45c
* | | | | Merge "Add support for volume API v1 QoS commands"Jenkins2015-06-273-0/+695
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add support for volume API v1 QoS commandsDavid Moreau Simard2015-06-263-0/+695
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following commands: volume qos associate volume qos create volume qos delete volume qos disassociate volume qos list volume qos set volume qos show volume qos unset Change-Id: I72ea1b9a4d0bd0e35eda03071ea438b75439fce9 Partial-Bug: #1467967
* | | | fix confused domain argument for network create v2Guojian Shao2015-06-262-18/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we have used domain scope arguments --project-domain, --user-domain and --group-domain in identity commands, for example, role add v3, to prevent resources conflict from same resource name existence. To keep with the style of identity commands, it's better to rename --domain to --project-domain. Closes-Bug: #1468988 Change-Id: Ic6ccb895cf9be4a3d5f0001525e3b80cd340da8b
* | | | Merge "Enables retrieval of project's parents and subtree"Jenkins2015-06-254-9/+201
|\ \ \ \
| * | | | Enables retrieval of project's parents and subtreeRodrigo Duarte Sousa2015-06-094-9/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the possibility to retrieve a project and list its parents and subtree in the hierarchy. Co-Authored-By: Rodrigo Duarte <rodrigods@lsd.ufcg.edu.br> Co-Authored-By: Samuel de Medeiros Queiroz <samuel@lsd.ufcg.edu.br> Implements: bp hierarchical-multitenancy Change-Id: I874f6faffc8a2db9d99f12cbe0a69c0a30c0d9df
* | | | | Add support to inherited project role grant callsSamuel de Medeiros Queiroz2015-06-223-0/+57
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once inherited project role grant calls are implemented on python-keystoneclient, python-openstackclient also should support such calls. This patch add such support as well as its related tests. Co-Authored-By: Raildo Mascena <raildo@lsd.ufcg.edu.br> Change-Id: Id72670be8640e5c6e2490a6ef849e9ec3493b1a9 Implements: blueprint hierarchical-multitenancy
* | | | Merge "Add support for volume backup v2 command"Jenkins2015-06-183-1/+285
|\ \ \ \
| * | | | Add support for volume backup v2 commandAmey Bhide2015-06-043-1/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openstack backup create openstack backup list openstack backup restore Implements: blueprint volume-v2 Change-Id: I77965730065dd44f256c46bcc43c1e6a03b63145
* | | | | Merge "Refactor option handling for user|group|project domain scoping"Jenkins2015-06-175-122/+48
|\ \ \ \ \
| * | | | | Refactor option handling for user|group|project domain scopingSteve Martinelli2015-06-175-122/+48
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | put the common options in identity.common, this way the help is consistent Change-Id: I5b09cfb56fa0f8d16feb95150f216fccbe9f2b22
* | | | | Merge "Add support for volume snapshot v2 command"1.5.0Jenkins2015-06-163-6/+397
|\ \ \ \ \
| * | | | | Add support for volume snapshot v2 commandAmey Bhide2015-06-043-6/+397
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openstack snapshot create openstack snapshot set openstack snapshot unset openstack snapshot list Implements: blueprint volume-v2 Change-Id: Ia1d9f4426baa0099281a9931f4eec99ebe1969b1
* | | | | reference corect ec2 helper functionSteve Martinelli2015-06-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec2creds.py was referencing a function on self, but wasn't there. Correctly reference the right function. Change-Id: I62f09c497be9dbb394341914388d60634e8b80c2 Closes-Bug: 1465561
* | | | | Merge "Improve the hint message"1.4.0Jenkins2015-06-141-2/+4
|\ \ \ \ \
| * | | | | Improve the hint messageDave Chen2015-06-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we can get scoped token (domain scoped, project scoped) as well as unscoped token. When we use OSC to get a domain scoped token without explicitly set domain information, the hint message show us we need to set a scoped domain or project, but it miss that the parameters to be set in order to get project or domain scoped token is not the same. Thus, the hint message could be improved to make it more clear to end user. Change-Id: I94768c619b30be18737fec189ae6d81e81ba090d
* | | | | | Merge "Fix the typo in `openstackclient/shell.py`"Jenkins2015-06-141-2/+2
|\ \ \ \ \ \
| * | | | | | Fix the typo in `openstackclient/shell.py`Dave Chen2015-06-141-2/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ia101f6d50ecd4a195aa93b1f289def581b0c6f38
* | | | | | Add oidc plugin for listing federation projectsSteve Martinelli2015-06-111-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the oidc plugin should be included in the list of valid federation protocols that can leverage `federation project list` Change-Id: I3f5c5ab262c7097273716a81618a2dcbb159dd6f
* | | | | Skip trying to set project_domain_id if not using passwordSteve Martinelli2015-06-111-0/+2
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | This is already fine for user_domain_id, and needs to be replicated for project_domain_id. Also added more logging. Change-Id: I3fa8f29edb3fc430d453bd0fc835312c0c8401f4
* | | | Merge "Enable specifying domain for group and role commands"Jenkins2015-06-093-245/+208
|\ \ \ \ | |_|_|/ |/| | |
| * | | Enable specifying domain for group and role commandsJuan Antonio Osorio Robles2015-06-083-245/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many of the commands for the group and role resources were lacking an option to specify the specific domain groups, projects or users belong to. This commit fixes that. Change-Id: I461d2bcfd01ad2dea970de38ec7ad6f4a631ceb1 Closes-bug: #1446546
* | | | Not use the deprecated argumentDave Chen2015-06-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `project` argument is deprecated in keystoneclient for V3 API, and use `default_project` instead, should use `default_project` as the argument name in the openstackclient accordingly. Change-Id: Ib9d70801c933a184afcdab75204393efa764fa87 Closes-Bug: #1462389
* | | | Merge "add --domain argument to v3 project set"Jenkins2015-06-042-0/+23
|\ \ \ \ | |_|/ / |/| | |
| * | | add --domain argument to v3 project setGuojian Shao2015-05-292-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently argument 'domain' is not supported by command 'os project set', but it is required by keystone v3 update project API to match the domain id. Closes-Bug: #1460122 Change-Id: I1b32f67f78b369f6134a74cdf9a4811b7539d44b
* | | | Merge "Allow --insecure to override --os-cacert"Jenkins2015-06-042-10/+20
|\ \ \ \ | |_|/ / |/| | |
| * | | Allow --insecure to override --os-cacertDean Troyer2015-06-042-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change --insecure to ignore the --os-cacert setting. This is a change from before where OSC followed the requests pattern of cacert taking priority. This logic is also introduced in os-client-config 1.3.0; we do not require that release yet so it is duplicated here for now. That change will come with the upcoming global options refactor. Closes-Bug: #1447784 Change-Id: Iaa6d499ed0929c00a56dcd92a2017487c702774a
* | | | Merge "Clean up ec2 credentials help text"Jenkins2015-06-032-29/+47
|\ \ \ \ | |_|_|/ |/| | |
| * | | 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
* | | | Merge "Add domain support for ec2creds in v3 identity"Jenkins2015-06-031-47/+88
|\ \ \ \ | |/ / /
| * | | 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
* | | | Merge "Add EC2 support for identity v3 API"Jenkins2015-06-031-0/+196
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | 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 "Fix security group list command"Jenkins2015-06-031-1/+1
|\ \ \
| * | | Fix security group list commandTerryHowe2015-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Security group list command tries to get a project list and this may fail with a multitude of exceptions including but not limited to 401, 404, ConnectionRefused and EndpointNotFound. Rather than try to capture every possibility, this patch just catches the base class. Converting project ids to names is less important than having a working security group list command. Change-Id: I68214d2680bad907f9d04ad3ca2f62cf3feee028 Closes-Bug: #1459629
* | | | Merge "Get rid of oslo_i18n deprecation notice"Jenkins2015-06-031-2/+2
|\ \ \ \
| * | | | Get rid of oslo_i18n deprecation noticeTerryHowe2015-06-021-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: I12aa58b808c05d3eb6f5efcdc84df57f54a9782e