summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | 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
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Fix --enable options on commandsRichard Theis2016-06-026-18/+34
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The --enable option on commands is ignored when the arguments are parsed. This is related to the --enable-beta-commands option. Renaming the option to --os-beta-command fixes the problem. There's no need to handle backwards compatibility for the option name change because there hasn't been an OSC release yet with beta commands. Change-Id: I0327ba8a2058858a83e9a42e231470ed733cc834 Closes-Bug: #1588384
* | | | | | | Merge "Fix some missing i18n support problems in compute"Jenkins2016-06-031-9/+9
|\ \ \ \ \ \ \
| * | | | | | | Fix some missing i18n support problems in computeHuanxuan Ao2016-06-031-9/+9
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found and Fix some missing i18n support problems in compute/client.py Change-Id: I54374f4eddafd9f80b6ccdaf8f8c30e098df105e Partial-bug: #1574965
* | | | | | | Modify the style of translated messagesJackie Yuan2016-06-031-2/+2
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Translated messages should not be combined with orther literal strings to create partially translated message. Although this change is very small, but this is the only one in the directory VOLUME. Change-Id: If798aacde9d5d5e8ac2edd49e75099ec255c858e
* | | | | | Update v2 endpoint show helpDean Troyer2016-06-021-2/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://review.openstack.org/#/c/319821/ updated v2 endpoint show and the doc, but not the v3 help. Change-Id: Ifaa90f6266eabafb9de544199759f4ee8bcc1c83
* | | | | Merge "Add support for removing flavor-access"Jenkins2016-06-022-7/+133
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Add support for removing flavor-accessHuanxuan Ao2016-06-022-7/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "--project" and "--project-domain" options in "flavor unset" command to remove flavor access. Change-Id: Ia5c5a80d9890d5af066b75b4e202647c18c7d915 Partial-Bug: #1575461
* | | | | Merge "Add FakeQos class and update unit test for qos_specs in VolumeV2"Jenkins2016-06-022-204/+207
|\ \ \ \ \
| * | | | | Add FakeQos class and update unit test for qos_specs in VolumeV2Huanxuan Ao2016-05-312-204/+207
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I108c8d343678f3d19d1ca1f93d998c46c7c32eff
* | | | | | Merge "Trivial: Fix i18n support in network/common.py"Jenkins2016-06-012-7/+17
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Trivial: Fix i18n support in network/common.pyTang Chen2016-05-312-7/+17
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Some missing i18n problems in network. Change-Id: I45a09a6ada1aad5a64256c0d0a0a2b6e250df670
* | | | | Merge "Fix unit test for volume commands in volumev2"Jenkins2016-05-311-27/+21
|\ \ \ \ \
| * | | | | Fix unit test for volume commands in volumev2Huanxuan Ao2016-05-311-27/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some issues in test_volume.py in volumev2, I make three changes in this patch: 1.modified some codes that not used FakeVolume class. 2.added a fake image by FakeImage class for this test. 3.added a fake snapshot by FakeSnapshot class for this test. Change-Id: I02ba73d3aaee95624b0e2307b255e0e485b0c3a3
* | | | | | Merge "Fix output and error log in server.py"Jenkins2016-05-311-9/+17
|\ \ \ \ \ \
| * | | | | | Fix output and error log in server.pyTang Chen2016-05-281-9/+17
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes 2 problems: 1. The '\n' should be in the end of a message, not the beginning. i.e.: The original code was: sys.stdout.write(_('\nError deleting server')) It will make the output look like this: [root@tangchen /]# openstack server delete aaa bbb Error deleting server Error deleting server[root@tangchen /]# We change it to: sys.stdout.write(_('Error deleting server\n')) Then the output will become: [root@tangchen /]# openstack server delete aaa bbb Error deleting server Error deleting server [root@tangchen /]# which is much better. 2. Record the error in log for those who didn't. Change-Id: I38b00c2321014757970183205f95f026e20a8090
* | | | | | Merge "Do not require an scope when setting a password"Jenkins2016-05-312-0/+8
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Do not require an scope when setting a passwordAlvaro Lopez Garcia2016-05-272-0/+8
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changing the password in Keystone V3 is an unscoped operation, but we were requiring a scope. Change-Id: If0653ac7b59320c2cd9d42a2c73dd29c3626d389 Closes-Bug: 1543222
* | | | | Merge "add unit test for compute agent command"Jenkins2016-05-312-0/+255
|\ \ \ \ \ | |_|/ / / |/| | | |