summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Add command to unset information from Subnetsreedip2016-06-292-0/+189
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the ``subnet unset`` command to clear the host-routes, allocation-pools and dns-nameservers from subnets. Implements: blueprint network-property-unset Change-Id: I31324a2423f6d2315eed27445dfdcfe863e0b550
* | | | | | Merge "Add command to unset information from Routers"Jenkins2016-06-282-0/+94
|\ \ \ \ \ \
| * | | | | | Add command to unset information from Routersreedip2016-06-272-0/+94
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the ``router unset`` command to clear the routing information from the routers. Implements: blueprint network-property-unset Change-Id: Iac8d32ca42fb28878805b4b58ab411b67fa6555b
* | | | | | Merge "Add "--force" option to "volume qos delete" command"Jenkins2016-06-284-5/+49
|\ \ \ \ \ \
| * | | | | | Add "--force" option to "volume qos delete" commandHuanxuan Ao2016-06-284-5/+49
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ``--force`` option to ``volume qos delete`` command in volume v1 and v2 to allow users to delete in-use QoS specification(s). Change-Id: I46036e5f55ced8b8a1be54c521f2a5c242b89160 Closes-Bug: #1596821
* | | | | | Merge "Make set/unset command in volume pass normally when nothing specified"Jenkins2016-06-281-3/+0
|\ \ \ \ \ \
| * | | | | | Make set/unset command in volume pass normally when nothing specifiedsunyajing2016-06-271-3/+0
| | |_|/ / / | |/| | | | | | | | | | | | | | | | Change-Id: Iac2d1b4ba9fa6358dc9317054af970eae8d49e84
* | | | | | Merge "Add "--force" option to "backup create" command in volumev2"Jenkins2016-06-282-3/+14
|\ \ \ \ \ \
| * | | | | | Add "--force" option to "backup create" command in volumev2Huanxuan Ao2016-06-272-3/+14
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cinder V2 API supports creating volume backup with "--force" option. However, OSC doesn't support this argument. So this patch add the "--force" option to allow users to back up a in-use volume. Change-Id: I326f8d6172b2830da4cf1317348af50142cc5490 Closes-Bug: #1596443
* | | | | | Merge "Support bulk deletion for delete commands in computev2"Jenkins2016-06-285-16/+165
|\ \ \ \ \ \
| * | | | | | Support bulk deletion for delete commands in computev2Huanxuan Ao2016-06-275-17/+166
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support bulk deletion and error handling for "keypair delete" and "service delete" commands in computev2. Up to now, all the delete commands in computev2 support bulk deletion. Change-Id: I6d5c960e9716188e56615514d0921618a15a88ec Partially-Implements: blueprint multi-argument-compute Partial-Bug: #1592906
* | | | | | Merge "Change "ID only" to "name or ID" for backup commands"Jenkins2016-06-282-4/+4
|\ \ \ \ \ \
| * | | | | | Change "ID only" to "name or ID" for backup commandsHuanxuan Ao2016-06-272-4/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested "find_resulce()" can find a backup by name or ID. But some help messages and doc were "ID only", this patch modify them. Change-Id: I22dcc3a0b40f2bafabb6d26498158e2468037312
* | | | | | Merge "Fix typo in openstackclient/network/v2"Jenkins2016-06-282-5/+5
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fix typo in openstackclient/network/v2Cao Xuan Hoang2016-06-232-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the missing "." to some docstring/text. Trivial fix Change-Id: Iffb470dcce7200ddc9e439c465adc652a8322708
* | | | | | Merge "Update Fakes.py and unit tests for commands in identity V2.0"Jenkins2016-06-276-383/+319
|\ \ \ \ \ \
| * | | | | | Update Fakes.py and unit tests for commands in identity V2.0sunyajing2016-06-276-383/+319
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update remaining commands:role, service, user, token. Change-Id: I06eed60dd2f312bad6076c78b53cd07bcd4cd55c Partially-Implements: blueprint refactor-identity-unit-test
* | | | | | Modify some unusual help messages in computev2Huanxuan Ao2016-06-273-8/+8
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some command help messages are unusual, for example: common help message for a list command: "list objects" unusual help message: "list obejcets command" I think we should keep help message consistent, so I modify the unusual help messages in computev2. Change-Id: Ic5f11eba1a4397949e85d91cc067519752e89bff
* | | | | Merge "Support multi-delete for commands in identity V2"Jenkins2016-06-245-14/+73
|\ \ \ \ \
| * | | | | Support multi-delete for commands in identity V2sunyajing2016-06-235-14/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commands are "ec2 credentials delete", "service delete", "endpoint delete". Also update their unit tests and functional tests. Partial-Bug: #1592906 Change-Id: I1a0b7160b803a523646d09d030e6f112c81c4c24
* | | | | | Fix the problem of router deleteSongmingYan2016-06-241-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change "Remove" to "Delete" when using it in route-interface-delete. Change-Id: I9ebc38c787acbcb42d2f8efeee41f6cb943e4b9b Related-bug: #1560446
* | | | | Merge "Support JSON data for port binding profile"Jenkins2016-06-232-6/+128
|\ \ \ \ \
| * | | | | Support JSON data for port binding profileRichard Theis2016-06-202-6/+128
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the "--binding-profile" option on the "port create" and "port set" commands to support both <key>=<value> and JSON input for the port custom binding profile data. The JSON input is sometimes needed to maintain the value type (e.g. integer) for more advanced data. The port custom binding profile data is unique across neutron so a custom argparse.Action class was created instead of writting a generic class in osc-lib. Change-Id: I82ac6d4f95afdc866f5282fc00d390f850f54d21 Implements: blueprint neutron-client
* | | | | Merge "Add FakeObject classes to fakes.py, update unit tests in identity V2."Jenkins2016-06-235-275/+422
|\ \ \ \ \
| * | | | | Add FakeObject classes to fakes.py, update unit tests in identity V2.sunyajing2016-06-225-275/+422
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up fakes.py , use FakeCatalog, FakeProject, FakeService, FakeEndpoint, FakeRole classes instead, also update their unit tests. Change-Id: I510d175ec194165b0595ebd430e8cc596d363587 Partially-Implements: blueprint refactor-identity-unit-test
* | | | | Merge "Improve masking of secrets in configuration show"Jenkins2016-06-232-7/+20
|\ \ \ \ \
| * | | | | Improve masking of secrets in configuration showAlvaro Lopez Garcia2016-06-212-7/+20
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The command "configuration show" tries to redact some of the secrets that are shown on the screen. However, this failed redacting options that were marked as secrete by the auth plugins (if any) and it redacted other options that were not redacted at all. For example, when using the OpenID Connect plugins, it redacted the "access_token_endpoint" as the word "token" appears there, but it failed to redact "client_secret" even when this option is marked as secret in the corresponding plugin. Change-Id: Idfad4fbbe5ddcff5e729e1dcd756d0379ad31dee
* | | | | Merge "support multi-delete for volume-type"Jenkins2016-06-233-14/+54
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | support multi-delete for volume-typeSteve Martinelli2016-06-203-14/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added the ability to delete multiple volume types at once. Note there are no unit tests exist for v1 volume-types, so instead a functional test was created. Partial-Bug: #1592906 Change-Id: I99f3f22901ab35252b91a3072b14de7d19cb17ca
* | | | | Merge "Use resource id when name given for identity show"Jenkins2016-06-238-5/+110
|\ \ \ \ \
| * | | | | Use resource id when name given for identity showDavid Rosales2016-06-228-5/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently a user is allowed to specify either a resource ID or name when running openstack identity comands. In some cases, when a name is specified instead of an ID, the command will return as not able to find the resource when it in fact does exist. The changes here are to check the client against the token on such requests and to extract the ID of the resource specified if enough information exists between the two. We then use the ID associated with the resource to complete the user requests. Change-Id: I40713b0ded42063b786dc21247e854224b9d2fe2 Closes-Bug: #1561599
* | | | | | Merge "Fix errors for "host set" command"Jenkins2016-06-233-18/+19
|\ \ \ \ \ \
| * | | | | | Fix errors for "host set" commandHuanxuan Ao2016-06-223-18/+19
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Host set" command cannot work. Because: 1.Host has no 'ID' attribute, so 'ID' attribute cannot be found in "host set" command. 2.value "True" and "Flase" are invalid in updata() method of host. 3.Some update functionalities is not supported in host API now. This patch solves the problems 1 and 2 in OSC. But the problem 3 is a API problem and can't be solved in OSC, only XenServer driver support to set enable/disable and maintenance host, it is a normal problem. After this patch the output of "host set" command is: The requested functionality is not supported. (HTTP 501) (Request-ID: req-14031fce-8c90-48a0-8492-dc8e3dd349f3) Just the same as the "host-update" command in novaclient. Change-Id: Ibe94c4d3d492d3d63355de803810edb988e1b4e9 Closes-Bug: #1594689
* | | | | | Merge "Standardize logger usage of catalog in identity"Jenkins2016-06-232-4/+12
|\ \ \ \ \ \
| * | | | | | Standardize logger usage of catalog in identitysunyajing2016-06-232-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5307f949b3a350e41840a4a5c191ceacf1b3b291 Partially-Implements: blueprint log-usage
* | | | | | | Merge "Remove OSCGenericPassword plugin"Jenkins2016-06-232-46/+2
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Remove OSCGenericPassword pluginDean Troyer2016-06-222-46/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The need for this has passed plus with 3.0 we can take the breakage hit, if any. Change-Id: Ic019842f00033d2cd67b75f036e7e817e4b7c075
* | | | | | | Merge "Refactor unit test of "compute service list" command"Jenkins2016-06-233-9/+42
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Refactor unit test of "compute service list" commandHuanxuan Ao2016-06-223-9/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The unit test of "compute service list" only checked the "Disabled Reason" columns and its data. It is not enough. This patch change the test to check all datas in the list. Also, this patch modify the "Id" to "ID" in this command. Change-Id: I988fd6365f2652185dd96d9417f294eba9c31cd9
* | | | | | | Merge "Fix token/endpoint auth plugin"Jenkins2016-06-221-25/+30
|\ \ \ \ \ \ \
| * | | | | | | Fix token/endpoint auth pluginDean Troyer2016-06-211-25/+30
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [This is not quite reduced from the original proposed fix as some changes have merged that complicate the switch to OSC_Config and v2 auth broke anyway.] Fix the --os-token --os-url breakage in the switch to ksa. Closes-bug: 1593664 Change-Id: I3ac23234fbf647fb145c7bd151d53c5c105462bf
* | | | | | | Merge "Make set/unset commands in compute/image/common return normally when ↵Jenkins2016-06-225-21/+13
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | nothing specified"
| * | | | | | Make set/unset commands in compute/image/common return normally when nothing ↵Tang Chen2016-06-215-21/+13
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specified After this patch, all set/unset commands will return normally when nothing specified. Change-Id: Id94d0329faa1a674006a9aae901f834b41917317 Close-bug: #1588588
* | | | | | Merge "Support bulk deletion for "flavor/aggregate delete""Jenkins2016-06-225-33/+185
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |
| * | | | | Support bulk deletion for "flavor/aggregate delete"Huanxuan Ao2016-06-215-33/+190
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support bulk deletion and error handling for "aggregate delete" and "flavor delete" commands. Change-Id: I3f6105cbeeab1c9f8cd571c63ce0e7ac3d4252b3 Partially-Implements: blueprint multi-argument-compute Partial-Bug: #1592906
* | | | | Merge "Add "--project" option to the "flavor create" command."Jenkins2016-06-212-1/+53
|\ \ \ \ \ | |_|_|/ / |/| | | |
| * | | | Add "--project" option to the "flavor create" command.Huanxuan Ao2016-06-212-1/+53
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Add ``--project`` and ``--project-domain`` options to the ``flavor create`` command. We can use these options to add the flavor access to a givin project when we create the flavor. Change-Id: Ic1907272c1d1ae526f9c9e86f32ba06c6da147c0
* | | | Merge "Refactor setting defaults for some scope parameters"Jenkins2016-06-213-37/+48
|\ \ \ \
| * | | | Refactor setting defaults for some scope parametersAlvaro Lopez Garcia2016-06-213-37/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code is setting defaults for some scope parameters, cheking if the name ends with some specific substring (namely ending in "password") causing failures in some plugins that end with the same string, but do not allow those parameters (like "user_domain_id" in "v3oidcpassword"). Closes-Bug: #1582774 Change-Id: Id7036db3b783b135353d035dc4c1df7c808d6474
* | | | | Merge "Refactor check_valid_auth_options function"Jenkins2016-06-211-22/+21
|\ \ \ \ \ | |/ / / /