summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | | | Merge "i18n support for help and error messages in cinder"Jenkins2016-05-2413-223/+257
|\ \ \ \ \
| * | | | | i18n support for help and error messages in cinderSheel Rana2016-05-2313-223/+257
| |/ / / / | | | | | | | | | | | | | | | Change-Id: I98fbc959034fe0530966291643b381855801de20
* | | | | Merge "Add network support for "quota set""Jenkins2016-05-233-9/+112
|\ \ \ \ \
| * | | | | Add network support for "quota set"Fang Zhen2016-05-193-9/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "quota set" command support compute and volume quotas previously. This patch add support network. Partially-implements: blueprint neutron-client-quota Closes-bug: 1489441 Change-Id: I9d297f52bc30614b3493f09ed15f8f1d3f8ff952
* | | | | | Merge "Add FakeType class and update volumetype test in VolumeV2"Jenkins2016-05-232-117/+158
|\ \ \ \ \ \
| * | | | | | Add FakeType class and update volumetype test in VolumeV2Huanxuan Ao2016-05-232-117/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds FakeType class and update unit tests for volume type with FakeType class Change-Id: I86ecc68dd1a1e919f3325cd9456974a0cfadbe61
* | | | | | | Merge "Add FakeSnapshot class and update snapshot test in VolumeV2"Jenkins2016-05-232-122/+196
|\ \ \ \ \ \ \ | |/ / / / / / | | | / / / / | |_|/ / / / |/| | | | |
| * | | | | Add FakeSnapshot class and update snapshot test in VolumeV2Huanxuan Ao2016-05-212-122/+196
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add FakeSnapshot class and update unit tests for snapshot commands with the FakeSnapshot class. Change-Id: If039a48b9d5f8430cc3d041b8c7ec30af8ff0e03
* | | | | Fix image tests to use warlock resourcesDean Troyer2016-05-202-43/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have been testing (incorrectly) Image v2 using our usual FakeResource objects, when the v2 API actually uses warlock schema modelled resources. Bring this to the tests (TestImageSet was already doing this) Change-Id: Ia6ed3a8e28a8961f770c241b49d47cce9ff328d3
* | | | | Merge "Avoid TypeError on message object additions"Jenkins2016-05-201-16/+20
|\ \ \ \ \
| * | | | | Avoid TypeError on message object additionsMadhu Mohan Nelemane2016-05-191-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I634c1e158e93eeb55ab17fef8a0715b6678dffec Closes-Bug: #1575787
* | | | | | Merge "Fix i18n support for help and log.warning in image"Jenkins2016-05-193-139/+143
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | |
| * | | | | Fix i18n support for help and log.warning in imageXiaoyang Zhang2016-05-193-141/+145
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: I6e2764aaf4b8c0efa78872646a7b3482ba044dc8
* | | | | Merge "remove #noqa from i18n imports"Jenkins2016-05-1922-22/+22
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | remove #noqa from i18n importsSteve Martinelli2016-05-1322-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hacking checks no longer fail on `import _` Change-Id: Idd60f0a0e71e5081691eacb39e5091ab08fcce6d
* | | | | Merge "Add support of setting snapshot state"Jenkins2016-05-182-3/+31
|\ \ \ \ \
| * | | | | Add support of setting snapshot stateXi Yang2016-03-092-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is going to add the functionality of setting snapshot state which OSC currently lacks. Closes-Bug:#1535239 Change-Id: I2afd6567416e75ba0c70b73351cf1eb5394b3373
* | | | | | Merge "Add ip version filter to subnet list"Jenkins2016-05-172-1/+29
|\ \ \ \ \ \
| * | | | | | Add ip version filter to subnet listManjeet Singh Bhatia2016-05-162-1/+29
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add argument ip-version to command subnet list Change-Id: If7458d4979e53aec7e2633c4f1779c3810f9a3f1 Closes-Bug: #1581179
* | | | | | Merge "Add FakeBackup class and updata backup unittest in volumeV2"Jenkins2016-05-172-113/+193
|\ \ \ \ \ \
| * | | | | | Add FakeBackup class and updata backup unittest in volumeV2Huanxuan Ao2016-05-172-113/+193
| |/ / / / / | | | | | | | | | | | | | | | | | | Change-Id: I39762bedaeaaf1894f48912ca1b7d59ab50f9f78
* | | | | | Merge "Enhance exception handling for "network delete" command"Jenkins2016-05-174-26/+199
|\ \ \ \ \ \
| * | | | | | Enhance exception handling for "network delete" commandTang Chen2016-04-144-26/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch rework "network delete" command following the rules in doc/source/command-errors.rst. In "network delete" command, there are multiple REST API calls, and we should make as many of them as possible. And log error for each one, give a better error message. Also return a non-zero exit code. Change-Id: I39ae087dd7bd08d049d513abfa6c5cab2bd13b2b Partial-Bug: #1556719
* | | | | | | Merge "Fix i18n support for help and error msg in network"Jenkins2016-05-167-14/+14
|\ \ \ \ \ \ \
| * | | | | | | Fix i18n support for help and error msg in networkTang Chen2016-05-167-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iab0dc489226601ac4ff123bb758f84ff16989395
* | | | | | | | Merge "Support X.latest format for OS_COMPUTE_API_VERSION"Jenkins2016-05-161-19/+26
|\ \ \ \ \ \ \ \