summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Add "--remote-source" option to "volume snapshot create" commandHuanxuan Ao2016-12-122-7/+60
| | | | | | | | | | | Add "--remote-source" option to "volume snapshot create" command to support creating snapshot from an existing remote snapshot in volume v2 (v2 only), also add the doc, unit tests and release note. Change-Id: I9e5fad4f0db5b44d528eb6b930edbc816e392c3a Implements: bp cinder-command-support Closes-Bug: #1618676 Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
* Merge "Add extra filtering options to floating ip list"Jenkins2016-12-092-0/+166
|\
| * Add extra filtering options to floating ip listsongminglong2016-12-092-0/+166
| | | | | | | | | | | | | | | | | | | | The patch adds filtering '--long', 'status', '--project', '--project-domain' and '--router' options to floating ip list command. Closes-Bug: #1614379 Partially-Implements: blueprint network-commands-options Change-Id: I2a02cf23845ff435927d8b481f77249915bd94dc
* | Merge "Add unit tests for server create in computev2"Jenkins2016-12-091-0/+151
|\ \ | |/ |/|
| * Add unit tests for server create in computev2jiahui.qiang2016-11-281-0/+151
| | | | | | | | | | | | | | Unit tests for server create is not completed. Some of the code in take_action has not been tested. Change-Id: Ifd3f42400408d3437e0bc6cd42acbb6db861b1f3
* | Merge "Add '--force' option to 'volume snapshot delete' command"Jenkins2016-12-082-4/+28
|\ \
| * | Add '--force' option to 'volume snapshot delete' commandHuanxuan Ao2016-12-082-4/+28
| |/ | | | | | | | | | | | | | | | | Add '--force' option to 'volume snapshot delete' command in volume v2 (v2 only) to allow delete in state other than error or available. Change-Id: Ie8991e9a630d7c7e9ac6c6870aed787bbcebacf2 Closes-Bug: #1597195
* | Merge "Add "consistency group set" command"Jenkins2016-12-082-1/+102
|\ \
| * | Add "consistency group set" commandzhiyong.dai2016-12-062-1/+102
| | | | | | | | | | | | | | | | | | | | | | | | Add "consistency group set" command in volume v2 (v2 only). Change-Id: I53116015388b7a4b0e15813f52c1246166bb0fc1 Implements: bp cinder-command-support Partial-Bug: #1613964
* | | Merge "Fix description errors in volume fakes"Jenkins2016-12-081-3/+3
|\ \ \
| * | | Fix description errors in volume fakesjiahui.qiang2016-11-271-3/+3
| |/ / | | | | | | | | | | | | | | | | | | In volumev2 fakes.py. Description of some 'get_*' methods is incorrect. the error will mislead the user. this patch has already fixed it. Change-Id: I048e3c2b625c7b54ab19f2b923d4970427f277ff
* | | Merge "Add options to "volume snapshot list" command"Jenkins2016-12-084-11/+256
|\ \ \
| * | | Add options to "volume snapshot list" commandjiahui.qiang2016-11-264-11/+256
| |/ / | | | | | | | | | | | | | | | | | | | | | Add "--name", "--status" and "--volume" options to "volume snapshot list" command for filtering results. Change-Id: I72db1abce7701f31598deec34801a4d1f5713870 Closes-Bug:#1645252
* | | Merge "Adjust the code sequence in consistency_group.py"Jenkins2016-12-081-45/+42
|\ \ \
| * | | Adjust the code sequence in consistency_group.pyzhiyong.dai2016-12-041-45/+42
| |/ / | | | | | | | | | | | | | | | Place "CreateConsistencyGroup" above "DeleteConsistencyGroup" Change-Id: I554a8e445fee0760450b2da3b5c4a4f3b2434d60
* | | Merge "Add "consistency-group-snapshot" option to consistency group create"Jenkins2016-12-082-6/+56
|\ \ \
| * | | Add "consistency-group-snapshot" option to consistency group createHuanxuan Ao2016-12-072-6/+56
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "consistency-group-snapshot" option to "consistency group create" command to support for creating consistency group from existing consistency group snapshot Implements: bp cinder-command-support Partial-Bug: #1613964 Change-Id: I54c265d38299f4973945ba99e30042bcf47859c0
* | | Merge "SDK Refactor: Prepare ip availability commands"Jenkins2016-12-083-11/+20
|\ \ \
| * | | SDK Refactor: Prepare ip availability commandsAnkur Gupta2016-12-043-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepared the OSC "ip availability" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: Ia22e9fafec0a91ba1b0f1ce825fcaf1d8cbbbf88 Partially-Implements: blueprint network-command-sdk-support
* | | | Merge "Add "volume host set" command"Jenkins2016-12-082-0/+136
|\ \ \ \
| * | | | Add "volume host set" commandjiahui.qiang2016-11-252-0/+136
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Add "volume host set" command in volume v2 to support freeze(disable) and thaw(enable) the specified cinder-volume host Change-Id: Iee1604d72f9eccd9e327b0ef8d345909a733a647 Implements: bp cinder-command-support
* | | | Merge "Remove auth_with_unscoped_saml decorator"Jenkins2016-12-082-48/+0
|\ \ \ \
| * | | | Remove auth_with_unscoped_saml decoratorColleen Murphy2016-12-042-48/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The auth_with_unscoped_saml decorator existed to make sure the user selected the right auth plugin before trying to call either a 'federation domain' or 'federation project' command. This is outdated, because openstackclient now uses keystoneauth[1] and keystoneauth removed its entrypoints for the federation plugins[2] since its _Rescoped class no longer needs them. This patch removes the decorator since that validation check was the only thing standing in the way of the commands working correctly. Also removed the '*_list_wrong_auth' tests since those only existed to test the decorator, and stopped setting the plugin in the positive tests since the automatically-determined token plugin should now be fine. [1] http://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=6ae0d2e8a54fd5139e63a990ab4bdce634e73c5e [2] http://git.openstack.org/cgit/openstack/keystoneauth/commit/?id=d9e4d26bb86f8d48e43188b88bab9d7fe778d2c1 Change-Id: Id981739663113447a7bba8ddba81ba9394a19e07 Closes-bug: #1624115
* | | | | Merge "Add "dns-name" option to "os port create" and "os port set""Jenkins2016-12-082-0/+58
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | Add "dns-name" option to "os port create" and "os port set"Nam Nguyen Hoai2016-12-032-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added a "dns-name" option to "os port create" and "os port set" command. Change-Id: I360e2c9a1970e64fe17e4561d7618f860b937373 Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com> Partial-Bug: #1612136 Partially-Implements: blueprint network-commands-options
* | | | | Merge "Add '--project' and '--project-domain' options to os cmds"Jenkins2016-12-056-2/+176
|\ \ \ \ \
| * | | | | Add '--project' and '--project-domain' options to os cmdsNam Nguyen Hoai2016-12-016-2/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added '--project' and '--project-domain' options to filter subnets resulted by 'os subnet list', 'os floating ip create' and 'os security group list' commands. Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com> Change-Id: I727663d49ffa6aa042fdeb60797f18bb753b0372 Closes-Bug: #1613231 Closes-Bug: #1610909 Closes-Bug: #1613629 Partially-Implements: blueprint network-commands-options
* | | | | | Merge "Revert "Remove marker and loop from "image list" command""Jenkins2016-12-052-7/+29
|\ \ \ \ \ \
| * | | | | | Revert "Remove marker and loop from "image list" command"Steve Martinelli2016-12-052-7/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 0b6fdcbe4c3f3142fdd18bfd827653d894607941. Adapt "image list" to not loop when --marker is specified on command line. Update tests to work with current state of code. Change-Id: I8af58adf8637a9e34371c6280db40935d22bc3c3
* | | | | | | Avoid duplicated project_id when show network resourcesjudy-yu2016-12-043-11/+14
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Project_id appear twice when show network resources. This patch check and not append if it already has one. Change-Id: I744988f3f52d4a744e397a6a82fefdc4c17eacbf Closes-Bug: #1636123 Partially-Implements: blueprint duplicated-project-id
* | | | | | Merge "Refactor "snapshot" commands"Jenkins2016-12-039-58/+796
|\ \ \ \ \ \
| * | | | | | Refactor "snapshot" commandsHuanxuan Ao2016-11-039-58/+796
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.change the command name ``snapshot create/delete/list/ show/set/unset`` to ``volume snapshot create/delete/list/ show/set/unset``. 2.change the optional parameter "--name <name>" to a positional parameter "<snapshot-name>"; Change the positional parameter "<volume>" to a optional parameter "--volume <volume>" Change-Id: If03276ecdf6f0d96893d5ecf91c2aaa64929cff3 Implements: bp backup-snapshot-renamed-for-volume-resource Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com>
* | | | | | | Add "consistency group show" commanddaizhiyong2016-12-022-0/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "consistency group show" command in volume v2 (v2 only). Change-Id: If496eba2955c0aacd52600bb6fba39690ddd90cb Implements: bp cinder-command-support Partial-Bug: #1613964
* | | | | | | Add "consistency group delete" commandzhiyong.dai2016-12-023-0/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "consistency group delete" command in volume v2 (v2 only). Change-Id: Ieebc2417df0d45a578d5617bad245d7863f09190 Implements: bp cinder-command-support Partial-Bug: #1613964
* | | | | | | Merge "SDK Refactor: Prepare security group rule commands"Jenkins2016-12-021-9/+11
|\ \ \ \ \ \ \
| * | | | | | | SDK Refactor: Prepare security group rule commandsAbhishek Raut2016-11-191-9/+11
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "security group rule" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I5553e40fe90f3a26d3f462a69f1a424032479d49 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | Merge "SDK Refactor: Prepare network rbac commands"Jenkins2016-12-021-12/+14
|\ \ \ \ \ \ \
| * | | | | | | SDK Refactor: Prepare network rbac commandsAbhishek Raut2016-11-191-12/+14
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "network rbac" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I6f25e167d7f933667173b04a4b0ad55baf3c56f2 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | Merge "SDK Refactor: Prepare network qos policy commands"Jenkins2016-12-022-11/+19
|\ \ \ \ \ \ \
| * | | | | | | SDK Refactor: Prepare network qos policy commandsAbhishek Raut2016-11-192-11/+19
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "network qos policy" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I12dd8bda40801c26176a73646ed87aea66f09fcc Partially-Implements: blueprint network-command-sdk-support
* | | | | | | Merge "SDK Refactor: Prepare subnet commands"Jenkins2016-12-023-14/+27
|\ \ \ \ \ \ \
| * | | | | | | SDK Refactor: Prepare subnet commandsAbhishek Raut2016-11-193-14/+27
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "subnet" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Partially-Implements: blueprint network-command-sdk-support Change-Id: I5d58b189e822b2ee61c9c95ccf909113ff59de46
* | | | | | | Merge "Sort list images by name by default"Jenkins2016-12-022-2/+4
|\ \ \ \ \ \ \
| * | | | | | | Sort list images by name by defaultVijendra Soni2016-11-212-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the default key and dir for openstack image list, if no command line argument passed Changing sort_key to name(old value: created_at) Change-Id: I6c61f6e5a04824d655ccf43477afcec9652101df Closes-Bug: #1639231
* | | | | | | | Merge "Add "--type" and "--retype-policy" options to "volume set" command"Jenkins2016-12-022-0/+101
|\ \ \ \ \ \ \ \
| * | | | | | | | Add "--type" and "--retype-policy" options to "volume set" commandHuanxuan Ao2016-11-232-0/+101
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "--type" and "--retype-policy" options to "volume set" command in volume v2 (v2 only) to support changing the volume type for a volume Change-Id: I0153abdb967aee790586a57cef31930e32005c1b Implements: bp cinder-command-support
* | | | | | | | Merge "Add "Is Public" column in volume type list"Jenkins2016-12-024-8/+16
|\ \ \ \ \ \ \ \
| * | | | | | | | Add "Is Public" column in volume type listHuanxuan Ao2016-11-224-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think admin users will like to see the "Is Public" column in volume type list since they can know the volume type is public or private, so add "Is Public" column in volume type list Change-Id: I3f6e297a7adf82a275debbd87d2c4da415aa1360 Closes-Bug: #1643861
* | | | | | | | | Merge "Remove outdated comments in volume unit test"Jenkins2016-12-022-8/+1
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Remove outdated comments in volume unit testHuanxuan Ao2016-11-222-8/+1
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checked the volume create unit test has beed completed, so remove the TODO. Checked the FakeVolume class has been added in volume v1, so remove the note. Change-Id: I82b5f775d013e5e301bc1c18481ef516ca5baa7e