summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Improve output of supported API versions"Jenkins2016-10-071-3/+5
|\
| * Improve output of supported API versionsKyrylo Romanenko2016-10-071-3/+5
| | | | | | | | | | | | | | Sort supported versions properly for better look. Change-Id: I6c2f5ecc04cf14ea5bf1b214cb303fcc9783af3f Closes-Bug: #1630962
* | Mask passwords in debug logs for auth_config_hookMatt Riedemann2016-10-051-1/+5
|/ | | | | | | | | | | The auth config hook can have credentials in it so we have to mask the config before logging it. To avoid doing the work of masking the password if we aren't going to log it, there is a conditional put around the actual debug statement. Change-Id: I8e626672ec94fc837610216bccb4354dbdedca17 Closes-Bug: #1630822
* Refactor qos spec unit test in volume v1Huanxuan Ao2016-10-042-159/+124
| | | | | | | Refactor qos spec unit test with FakeQos class in volume v1. Change-Id: Ia76bf41a911457282b293dfaf0af311b1a9194ce
* Merge "Add --ha option to os router create command"Jenkins2016-09-302-2/+33
|\
| * Add --ha option to os router create commandNam Nguyen Hoai2016-10-012-2/+33
| | | | | | | | | | | | | | | | This patch added --ha option which the 'os router create' command was missed. Change-Id: I77635fb17af32beb0d8ed9aa080ef79285719fdc Closes-Bug: #1610161
* | Merge "Replace 'MagicMock' with 'Mock'"Jenkins2016-09-302-13/+13
|\ \ | |/ |/|
| * Replace 'MagicMock' with 'Mock'Nguyen Phuong An2016-09-272-13/+13
| | | | | | | | | | Change-Id: I35ebb2f0c83ec4300e26a72d9217ed0208f526eb Closes-Bug: #1475722
* | Merge "Support "--no" option in aggregate set"Jenkins2016-09-293-15/+117
|\ \
| * | Support "--no" option in aggregate setRui Chen2016-09-243-15/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Supporting "--no-property" option will apply user a convenience way to clean all properties of aggregate in a short command, and this kind of behavior is the recommended way to devref. The patch add "--no-property" option in "aggregate set" command, and update related test cases and devref document. Change-Id: I7614a23c0db05144562330dc600dbab7d003d5d8 Implements: blueprint support-no-property-in-aggregate
* | | Merge "Remove beta label for network segment resource"Jenkins2016-09-295-137/+18
|\ \ \
| * | | Remove beta label for network segment resourceRichard Theis2016-09-285-137/+18
| | |/ | |/| | | | | | | | | | | | | | | | | | | With Ocata development opened, neutron network segments are no longer beta resources. Change-Id: I25be51c30df17c746136471b88840f64a03187b9 Partially-Implements: blueprint routed-networks
* | | Merge "Add and modify options for "volume create" command"Jenkins2016-09-294-24/+266
|\ \ \
| * | | Add and modify options for "volume create" commandHuanxuan Ao2016-09-284-24/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.Add mutually exclusive options into a mutually exclusive group. 2.Add "--source-replicated", "--consistency-group", "--hint" and "multi-attach" options 3.Make --size option to be optional under some cases Closes-Bug: #1568005 Closes-Bug: #1627913 Implements: bp implement-cinder-features Co-Authored-By: Roman Vasilets <rvasilets@mirantis.com> Change-Id: I2c4c3073195d33774e477f4d7f22e383b14b41dd
* | | | Merge "Implement "consistency group list" command"Jenkins2016-09-293-0/+234
|\ \ \ \ | |/ / /
| * | | Implement "consistency group list" commandHuanxuan Ao2016-09-283-0/+234
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "consistency group" object in volume v2 (v2 only) and implement "consistency group list" command Change-Id: Ifa90d97f4b223f9a5b00708cff07fa2c5e2635f0 Implements: bp cinder-command-support Partial-Bug: #1613964 Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
* | | Merge "Update default nova api version to 2.1"Jenkins2016-09-282-2/+3
|\ \ \
| * | | Update default nova api version to 2.1qtang2016-09-282-2/+3
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref:https://review.openstack.org/#/c/311653/ We should use 2.1 as the default nova version now The API_MIN_VERSION of novaclient has already changed to 2.1 Change-Id: I9ff16cf052556e5d3756f81e02a8e76e8f315df5 Closes-bug: #1588171
* | | Add option "--name" to command "openstack object create"Rajasi Kulkarni2016-09-264-3/+46
|/ / | | | | | | | | | | | | | | | | | | | | Option "--name" can be used to set as the object name of the file to be uploaded in the container. Similar to option "--object-name" in command "swift upload". Added unit test case to ensure an exception is raised when using option "--name" for uploading multiple objects. Change-Id: Ied7827841f6ca1cf9d4b48e304cbe5d62eda38ab Closes-Bug: #1607972
* | Merge "Add default limit for container/object"Jenkins2016-09-272-0/+21
|\ \
| * | Add default limit for container/objectzheng yin2016-09-262-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Default container name length less than or equal to 256 in link[1], as the same time,default object name length less than or equal to 1024 in link[2]. Thereforce, I check the length of container and object in take_action. and if it's greater than 256/1024 I warn the user. [1] https://github.com/openstack/swift/blob/master/swift/common/constraints.py#L39 [2] https://github.com/openstack/swift/blob/master/swift/common/constraints.py#L35 Change-Id: I304b77cbc464eaba041321654cc29248cbe4b9a6
* | | Add warning message for --state option of set command in volumeHuanxuan Ao2016-09-263-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | There are some set commands can set object state, it maybe a danger behavor for users, so add explanation and warning in the help message of the "--state" option to talk users be caution when using (cinderclient have done this too) Change-Id: I6a902887ea98879999c9972f36b1b7ef332173c3
* | | Add functional test for snapshot in volume v1Huanxuan Ao2016-09-252-3/+92
| |/ |/| | | | | | | | | | | Add functional test for snapshot commands in volume v1. Tests can always help to find or avoid bugs. Change-Id: Ieb0ab9c763d381a6343b4c4a8a5874f3e682f24f
* | Merge "Add unit tests for backup commands in volume v1"Jenkins2016-09-232-0/+435
|\ \
| * | Add unit tests for backup commands in volume v1Huanxuan Ao2016-09-232-0/+435
| | | | | | | | | | | | | | | | | | | | | | | | There was not any unit tests for backup commands in volume v1 so that sometimes some small bugs maybe ignored, this patch add unit tests for them. Change-Id: Ic67c1b80243f7b3d15dabd25e4e4a1b1517a8b59
* | | Merge "Fix unset commands to pass normally when nothing specified"Jenkins2016-09-237-5/+571
|\ \ \ | |/ /
| * | Fix unset commands to pass normally when nothing specifiedHuanxuan Ao2016-09-237-5/+571
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After I found this problem appear in "volume unset", I checked all the volume command and also found some same problems. This patch fix them all. The main reason of we ignored this problem before is there was not any tests for it. So I add tests for "nothing unset" for them all to test and aviod this problem. Also, I add unit tests for all snapshot commands in volume v1 by the way in this patch. We will need more tests to avoid some ignored problem. Change-Id: I46775f24643d715e168b30785b8b531c0431a55b Partial-bug: #1588588
* | Merge "Add --description to Neutron commands"Jenkins2016-09-235-2/+37
|\ \
| * | Add --description to Neutron commandsAnkur Gupta2016-09-235-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added simple option for floating ip description when creating a floating ip. Added option for create and set router as well. Partially Implements: blueprint neutron-client-descriptions Partially Implements: blueprint network-commands-options Change-Id: Ib8cd8af449e9ff33b980017b2527a6b196894a00
* | | Merge "Use assertGreater replace assertTrue"Jenkins2016-09-231-1/+1
|\ \ \
| * | | Use assertGreater replace assertTruezheng yin2016-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | we can use assertGreater(a,b) to replace assertTrue(a>b) Change-Id: Idd92a99bf5fd25785a47645d46bcfcad23ed870a
* | | | Merge "Introduce overwrite functionality in ``osc port set``"Jenkins2016-09-232-11/+62
|\ \ \ \
| * | | | Introduce overwrite functionality in ``osc port set``reedip2016-09-212-11/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The overwrite functionality allows user to overwrite either the binding-profile or the fixed-ips of a specific port. Change-Id: I8ec3d04eeaf28972ee545fcdda4d5f7bd9deb915 partially-implements: blueprint allow-overwrite-set-options
* | | | | Merge "Overwrite/Clear support for subnets"Jenkins2016-09-232-4/+59
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Overwrite/Clear support for subnetsReedip2016-09-212-4/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the overwrite/clear functionality for allocation-pool and host-routes in subnets. Change-Id: Idfa41173d0c054c5bfb4eda8c5f614928012555a implements: blueprint allow-overwrite-set-options
* | | | | Merge "Add "volume backup set" command in volume v2"Jenkins2016-09-222-0/+128
|\ \ \ \ \
| * | | | | Add "volume backup set" command in volume v2Huanxuan Ao2016-09-222-0/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "volume backup set" command in volume v2 (v2 only) to set backup name, description and state Change-Id: If17e8457db9a4704fb5bb9c75921ed82fd0069cf Closes-Bug: #1613261
* | | | | | Merge "Add filtering options to os network list command"Jenkins2016-09-222-6/+239
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Add filtering options to os network list commandHa Van Tu2016-09-222-6/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the following filtering options: '--name', '--internal', '--share' and '--no-share', '--enable' and '--disable', '--project' and '--project-domain', '--status'. Change-Id: I7e9dd372ee572c6ee8cdba7fac3182f9dc0a137b Partially-Implements: blueprint network-commands-options Closes-Bug: #1578819
* | | | | | Merge "Implement "volume transfer request show/accept" command"Jenkins2016-09-228-6/+368
|\ \ \ \ \ \
| * | | | | | Implement "volume transfer request show/accept" commandHuanxuan Ao2016-09-228-6/+368
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "volume transfer request show" and "volume transfer accept" commands in volume v1 and v2. Also add the unit tests, docs, release note and functional tests Implements: bp cinder-command-support Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com> Change-Id: I5787fc486b3401307125caa316f517b9c96a95a5
* | | | | | Merge "Add network segment create, delete and set support"Jenkins2016-09-225-25/+551
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add network segment create, delete and set supportRichard Theis2016-09-095-25/+551
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add network segment create, delete and set in support of routed networks. This patch set includes documentation, unit tests and functional tests for the following new commands: - "os network segment create" - "os network segment delete" - "os network segment set" This patch set also includes support for the name and description properties. These new commands are currently marked as beta commands. Change-Id: I86bc223c4adc5b5fe1b1ee5c9253e43ba52fb5ed Depends-On: Ib194125162057fccb4e951587c2fa4ec2e2f098c Partially-Implements: blueprint routed-networks
* | | | | | Merge "Fix "volume unset" command pass normally when nothing specified"Jenkins2016-09-222-2/+99
|\ \ \ \ \ \
| * | | | | | Fix "volume unset" command pass normally when nothing specifiedHuanxuan Ao2016-09-212-2/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When nothing specified in "volume unset" command, there will be an error message says that the "--properties" option is required, it is unusual behaviour, this patch fix it and also add unit test for it. Also, this patch add unit test for "volume show" command by the way. Change-Id: I5b5d587670acf0af4262b8521292455bf9f60fe5 Partial-bug: #1588588
* | | | | | | Merge "Refactor volume unit test with FakeVolume class in volume v1"Jenkins2016-09-222-136/+131
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Refactor volume unit test with FakeVolume class in volume v1Huanxuan Ao2016-09-212-136/+131
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FakeVolume class has been added in the fake.py in volume v1, this patch refactors the volume command unit tests with the FakeVolume class. Change-Id: Ic3c1a46d5bff9048d0095f5739ae9e5a34ca6b5b
* | | | | | Merge "Use correct router add/remove interface methods"Jenkins2016-09-212-14/+13
|\ \ \ \ \ \
| * | | | | | Use correct router add/remove interface methodsrabi2016-09-212-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the correct openstacksdk method names. Change-Id: I07b463753eedf41f79c6e00e9224d0f7697a1bd3 Closes-Bug: #1625954
* | | | | | | Merge "replace metavar "volume-id" with "volume" to avoid ambiguity"Jenkins2016-09-211-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |