summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | 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
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | add unit test for compute agent commandsunyajing2016-05-312-0/+255
| |/ / / | | | | | | | | | | | | Change-Id: I966d5a3a307fcd7f4efb1267aa2896efd53be50d
* | | | Merge "Add support for setting flavor-access"Jenkins2016-05-303-6/+148
|\ \ \ \
| * | | | Add support for setting flavor-accessHuanxuan Ao2016-05-303-6/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds "--project" option in "flavor set" command to support for setting flavor access. Change-Id: I75b473600080d8ab1dd6ad01561c4f989ed3c3bd Partial-Bug: #1575461
* | | | | Fix i18n support in cinderHuanxuan Ao2016-05-303-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I checked all the cinder files and found some small issues of i18n support.So I fix them. Change-Id: I2df06cb9db4643bd734105664d83299726f7b4e9 Partial-bug: #1574965
* | | | | Merge "Add network segment command object"Jenkins2016-05-305-0/+381
|\ \ \ \ \
| * | | | | Add network segment command objectRichard Theis2016-05-275-0/+381
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add network segment command object in support of routed networks. This patch set includes documentation, unit tests and functional tests (currently skipped until segments enabled in neutron by default) for the following new commands: - "os network segment list" - "os network segment show" These new commands are currently marked as beta commands. Change-Id: I1a79b48dc6820fe2a39fcceb11c8cae3bda413a0 Partially-Implements: blueprint routed-networks
* | | | | Merge "Add "image unset" command"Jenkins2016-05-303-2/+182
|\ \ \ \ \
| * | | | | Add "image unset" commandsunyajing2016-05-283-2/+182
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch add a command that supports unsetting image tags and properties Change-Id: I6f2cf45a61ff89da6664f3a34ae49fdd85d8c986 Closes-Bug:#1582968
* | | | | Merge "[compute] Add server backup function"Jenkins2016-05-303-0/+407
|\ \ \ \ \
| * | | | | [compute] Add server backup functionjichenjc2016-05-273-0/+407
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add server backup function There is no return value for this command per following doc http://developer.openstack.org/api-ref-compute-v2.1.html#createBackup, also novaclient can't be updated now due to backward compatible issue http://lists.openstack.org/pipermail/openstack-dev/2016-March/089376.html, so we have to get the information ourselves. The Image tests were not using warlock images, so that needed to be fixed before we could completely test things like --wait. Change-Id: I30159518c4d3fdec89f15963bda641a0b03962d1
* | | | | Merge "Support to set server state"Jenkins2016-05-302-0/+70
|\ \ \ \ \
| * | | | | Support to set server stateRui Chen2016-05-282-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a server is unexpected state, OSC don't support reset the server to active or error state, that's supported by novaclient, and it's an important command for operators, the patch implement this function. Change-Id: I3e7800feb192832b0719ef9a353945beb6bfd509 Implements: blueprint server-reset-state
* | | | | | Merge "Support deleting multi address scopes in networkv2"Jenkins2016-05-303-12/+101
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Support deleting multi address scopes in networkv2Huanxuan Ao2016-05-283-12/+101
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for deleting multi address scopes by using "address scope delete" command. Change-Id: Ic8d3ebc17db44ca5d42c336d2c4d5633f70d4e8b Partially-Implements: blueprint multi-argument-network
* | | | | Merge "Fix help message for "server group delete" command"Jenkins2016-05-281-1/+1
|\ \ \ \ \
| * | | | | Fix help message for "server group delete" commandHuanxuan Ao2016-05-281-1/+1
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Server group delete" command supported deleting multi server groups, but the help message was "Delete an existing server group", so I change it in this patch. Change-Id: I05b1a7e3f29b84b9190e7cc05c01734e3daa7a6d
* | | | | i18n support for leftover exception messages in volumeSheel Rana2016-05-271-1/+1
|/ / / / | | | | | | | | | | | | Change-Id: I7be168fc587cb717075095cf6e12db19b0884dda
* | | | Merge "fix endpoint show help"Jenkins2016-05-261-2/+3
|\ \ \ \ | |/ / / |/| | |
| * | | fix endpoint show helpsunyajing2016-05-261-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | endpoint show command can also work on service name or type or ID option Change-Id: I43c8df4bc093d4130cf33fd2520736ce9077dc82
* | | | Merge "keystone: fix catalog output when region is unset"Jenkins2016-05-254-6/+27
|\ \ \ \
| * | | | keystone: fix catalog output when region is unsetJulien Danjou2016-05-254-6/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If no region is set in Keystone, null is deserialized as None and the region has None has value, which triggers a type error when building the output string. This patch fixes that. Change-Id: I7637dc2595655cf452f38308f99fe66ac782e16d
* | | | | Merge "Refactor service unit tests"Jenkins2016-05-252-73/+101
|\ \ \ \ \
| * | | | | Refactor service unit testsTang Chen2016-05-252-73/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a FakeService class, and refactor service unit tests to use this class. Change-Id: I650ad83386a58205ebe42274d2bf2f508436bfa6
* | | | | | Merge "Search by user defined ID for service providers"Jenkins2016-05-252-1/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Search by user defined ID for service providersSteve Martinelli2016-05-242-1/+3
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IDs for service providers can be user defined (like, Bob). This causes issues with the usual get by ID method. Keystone server side has implemented changes to search by ID when listing, which should resolve the issue with minimal changes to the client side. Change-Id: Ic705806e4bc7bb24f946a1fce803a0a0a4d788c1 Closes-Bug: 1555830
* | | | | Merge "Devref: Command Beta"Jenkins2016-05-251-0/+5
|\ \ \ \ \
| * | | | | Devref: Command BetaRichard Theis2016-04-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The devref proposes OSC support for beta commands. Change-Id: I538a38be33734faf6eb69a3cb50946b2396b0c57
* | | | | | Merge "Refactor TestVolumeShow with FakeVolume"Jenkins2016-05-243-9/+54
|\ \ \ \ \ \
| * | | | | | Refactor TestVolumeShow with FakeVolumeting.wang2016-05-173-9/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the meantime, add some static methods in FakeVolume for ease of use and add info() method with "property" decorator in FakeResource to allow those static methods to get fake information. Change-Id: I98ad520f32afd529fda77a4592f645130282537f Co-Authored-By: xiexs <xiexs@cn.fujitsu.com> Implements: blueprint improve-volume-unittest-framework
* | | | | | | Merge "Search by user defined ID for identity providers"Jenkins2016-05-242-1/+3
|\ \ \ \ \ \ \
| * | | | | | | Search by user defined ID for identity providersSteve Martinelli2016-05-232-1/+3
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IDs for service providers can be user defined (like, Bob). This causes issues with the usual get by ID method. Keystone server side has implemented changes to search by ID when listing, which should resolve the issue with minimal changes to the client side. Change-Id: Ic58df22b3445d3293a8e1c76c5da79badebf6528 Closes-Bug: 1479837
* | | | | | | Fix i18n support for help and error messages in computeTang Chen2016-05-2411-133/+184
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id6eebcb48d1b7b49b6636524506294edbc44a83f Partial-bug: #1574965