summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Moving authentication from keystoneclient to keystoneauth"Jenkins2016-06-1317-145/+329
|\ \ \ \
| * | | | Moving authentication from keystoneclient to keystoneauthNavid Pustchi2016-06-0917-145/+329
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently OpenStackClient uses keystoneclient for authentication. This change will update OpenStackClient to use keystoneauth for authentication. All dependant test have been updated. Updating how auth_ref is set in the tests to use KSA fixtures had some racy side-effects. The user_role_list tests failed when they picked up an auth_ref that was a fixture. This exposed a weakness in ListUserRole that needed to be fixed at the same time re handling of unscoped tokens and options. Change-Id: I4ddb2dbbb3bf2ab37494468eaf65cef9213a6e00 Closes-Bug: 1533369
* | | | Use osc-lib and set up deprecation warningsDean Troyer2016-06-102-520/+16
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The initial use of osc-lib is behind the compatibility/deprecation modules that we will leave in place for a time for plugins to catch up. * openstackclient.common.exceptions * openstackclient.common.utils Module-level warnings are emitted directly on stderr since logging has not been configured yet. Change-Id: I79e57ce9523a20366bccaf9b949ab5906792ea0d
* | | Merge "Make set/unset commands in network return normally when nothing ↵Jenkins2016-06-0912-38/+50
|\ \ \ | | | | | | | | | | | | specified"
| * | | Make set/unset commands in network return normally when nothing specifiedTang Chen2016-06-0812-38/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set/unset commands should ends up normally instead of raising an exception when nothing is specified to modify. The main reason is: When nothing is specified, the command sets/unsets nothing, which is a normal behavior, and ends up normally. No API call fails. No error happens. This patch also adds a releasenote for both network, and volume commands that fix patch has been merged. Change-Id: I78c348066078decd350417a431f3b8bea8fcf9ef Partial-bug: #1588588
* | | | Merge "Fix network"Jenkins2016-06-094-7/+7
|\ \ \ \
| * | | | Fix networksunyajing2016-06-084-7/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | modify ``columns, data`` to ``(columns, data)`` in network, to keep code consistence. Change-Id: I0522c499d1651b4ea948bebccbdfd520934e8e6a
* | | | Merge "Remove duplicate file logger formatter setting"Jenkins2016-06-081-2/+0
|\ \ \ \
| * | | | Remove duplicate file logger formatter settingRui Chen2016-06-081-2/+0
| |/ / / | | | | | | | | | | | | Change-Id: Ia7851a4266fa61658c48cc894163c6afb7252750
* | | | Clean up fakes.py in volumev2Huanxuan Ao2016-06-081-188/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | All of volumev2 fake classes are completed. Now the unit tests of volumev2 are using fake classes so that the old codes are useless and can be removed. Change-Id: I502a8a0b0404975744d3b208af3e95c8692e6c47
* | | Merge "Fix compute service set command"Jenkins2016-06-081-1/+1
|\ \ \
| * | | Fix compute service set commandsunyajing2016-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | add ``Binary name`` to help msg of compute service set command. Change-Id: I5ed3824ec5bede250ce41f187835e8901b5e11fd
* | | | Merge "Error handling for KeyValueAction class."Jenkins2016-06-082-11/+10
|\ \ \ \
| * | | | Error handling for KeyValueAction class.Huanxuan Ao2016-06-082-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The set --property command requires that the input match the "key=value" type, but if the type don't match, the return value will be None, and the command still can be implemented successfully, this may confuse the users. I think we should raise exception if the argument type don't match "key=value". So I make some changes in KeyValueAction class in this patch. Change-Id: I14e64922faa7e083bc8b5e7e1cac41ef8117c224 Closes-Bug: #1589935
* | | | | Merge "Update unit test test_extension with fake class"Jenkins2016-06-085-159/+222
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Update unit test test_extension with fake classHuanxuan Ao2016-06-075-159/+222
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Add FakeExtension class in networkv2, computev2, volumev2, identityv2_0 and update unit test test/common/test_extension.py Change-Id: I94815de7801860edb7fa91a7d146455cab946652
* | | | Merge "Fix i18n supports in commom"Jenkins2016-06-078-50/+83
|\ \ \ \
| * | | | Fix i18n supports in commomHuanxuan Ao2016-06-078-50/+83
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | I checked all the files in openstackclient/common and fixed the missing i18n supprots. Change-Id: Id7f76a24aae663f5832ef9bcf1bd5a6b7081af24 Partial-bug: #1574965
* | | | Merge "Support error handling for "port delete" command"Jenkins2016-06-072-9/+76
|\ \ \ \ | |/ / / |/| | |
| * | | Support error handling for "port delete" commandHuanxuan Ao2016-06-072-9/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Port delete" command supported deleting multi ports before but didn't support error handing, This patch add the error handling following the rules in doc/source/command-errors.rst. Change-Id: I4ea69f2279763626d6a27cad1ca0ee99822d016d Partially-Implements: blueprint multi-argument-network
* | | | Fix i18n support problems in identityTang Chen2016-06-0725-319/+364
| | | | | | | | | | | | | | | | | | | | Change-Id: I3b48d17850343051239b5b69e8b890dba32d3ac8 Partial-bug: #1574965
* | | | Merge "Fix errors for "volume type unset" command"Jenkins2016-06-072-2/+5
|\ \ \ \
| * | | | Fix errors for "volume type unset" commandHuanxuan Ao2016-06-062-2/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Normally, we can unset multi properties but the "volume type unset" command could not, because the action "append" was missed. So I add it and also fix the unit test and doc in this patch. Change-Id: I20470f2b7bb2a8d7f292cea498826669c3418c77
* | | | Merge "Refactor SetService --enable/disable option"Jenkins2016-06-062-46/+49
|\ \ \ \
| * | | | Refactor SetService --enable/disable optionTang Chen2016-06-042-46/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch changes the following: 1. --enable/disable option should follow the rules in the doc below: http://docs.openstack.org/developer/python-openstackclient/command-options.html#boolean-options 2. "--disable-resion" is specified but not "--disable", an exception is raised instead of igoring "--disable-reason" option. Change-Id: I92e9234111e661bfe7119a8e19389a87c874ab0c
* | | | | Merge "Make set/unset commands in volume return normally when nothing specified"Jenkins2016-06-069-47/+0
|\ \ \ \ \
| * | | | | Make set/unset commands in volume return normally when nothing specifiedTang Chen2016-06-049-47/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | set/unset commands should ends up normally instead of logging an error when nothing is specified to modify. The main reason is: When nothing is specified, the command sets/unsets nothing, which is a normal behavior, and ends up normally. No API call fails. No error happens. Change-Id: Ib03a512650e5da90aa1ef38019772448383d0d33 Partial-bug: #1588588
* | | | | | Merge "Add server set/unset unit test cases"Jenkins2016-06-061-0/+87
|\ \ \ \ \ \
| * | | | | | Add server set/unset unit test casesRui Chen2016-06-061-0/+87
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Unit test cases don't cover compute "server set/unset" commands, the patch add some test cases for them. Change-Id: I440c32968bd41b948352a9764a37c9af3e68803d
* | | | | | Merge "Add newline to strings in stdout/stderr.write()"Jenkins2016-06-067-7/+7
|\ \ \ \ \ \
| * | | | | | Add newline to strings in stdout/stderr.write()Lu lei2016-06-067-7/+7
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Function stdout/stderr.write() can't break line automatically. Change-Id: I903c2d1cc1a669adb6be5aa4eb783d3b9943e685
* | | | | | Merge "fix keypair help msg"Jenkins2016-06-061-2/+2
|\ \ \ \ \ \
| * | | | | | fix keypair help msgsunyajing2016-06-061-2/+2
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | keypair delete and keypair show commands cannot work on keypair ID Change-Id: I958fcd2ed184706b28d63cc9c73a8b566e86a16c Closes-Bug:#1588701
* | | | | | Merge "Add network availability for osc"Jenkins2016-06-063-0/+333
|\ \ \ \ \ \
| * | | | | | Add network availability for oscManjeet Singh Bhatia2016-06-033-0/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch implements openstack client for network ip availability. Implements: blueprint neutron-ip-capacity Depends-On: I3b40d8edea87c068c4e8133e436511765064d5f8 Change-Id: Iffaa2e20ff495fbd205d3397e027e8141d04385e
* | | | | | | Merge "modify server group"Jenkins2016-06-061-9/+1
|\ \ \ \ \ \ \
| * | | | | | | modify server groupsunyajing2016-06-061-9/+1
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make column_headers equal to columns, to keep code consistence Change-Id: Ia96b398ad822fc5fac3753e28709c370165bda8a
* | | | | | | Merge "fix image unset"Jenkins2016-06-061-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | fix image unsetzheng yin2016-06-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modify "target" to "tagret" Change-Id: I80674b23804b26430aed13b5e6c6dc2b240771cd
* | | | | | | Merge "Support multiple argument for compute agent delete command"Jenkins2016-06-052-8/+75
|\ \ \ \ \ \ \
| * | | | | | | Support multiple argument for compute agent delete commandsunyajing2016-06-032-8/+75
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3b19e4914d475b86d7e8aa8d76e62a2ac811272f Partially-Implements: blueprint multi-argument-compute
* | | | | | | Merge "Add support for volume transfer request list"Jenkins2016-06-046-4/+436
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Add support for volume transfer request listSheel Rana2016-06-046-4/+436
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC does not support to list volume transfer from one user to other user. This patch will provide support for listning volume transfer requests. Closes-Bug:#1554886 Implements: bp cinder-command-support Change-Id: Ie659bc39cb1d1e931cca7a40b2f126a067ee484c
* | | | | | | Merge "Fix wrong test in flavor unit tests"Jenkins2016-06-041-5/+3
|\ \ \ \ \ \ \
| * | | | | | | Fix wrong test in flavor unit testsTang Chen2016-06-031-5/+3
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In test_flavor_set_no_project(), we aimed to test a situation like this: User specifies "--project" option, but didn't specifies the project name or ID. But in the source code, it becomes "--project ''". The test could past because if project and property are both None, the command will raise an exception. Change-Id: I39567306debb901e8bad420fa2492f1b207efddc
* | | | | | | Merge "Check port name in set port tests"Jenkins2016-06-041-1/+5
|\ \ \ \ \ \ \
| * | | | | | | Check port name in set port testszhouqi2016-06-031-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1bf11245b107f82fedee70dacc37c4c6dc5210ea
* | | | | | | | Merge "Imported Translations from Zanata"Jenkins2016-06-043-1549/+41
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Imported Translations from ZanataOpenStack Proposal Bot2016-06-043-1549/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Icda8a1c87ded27c1ba061d5692e95a1477206b92
* | | | | | | | Merge "Fix --enable options on commands"Jenkins2016-06-046-18/+34
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |