summaryrefslogtreecommitdiff
path: root/openstackclient
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Use project_domain_id only in password auth"Jenkins2016-11-181-0/+1
|\
| * Use project_domain_id only in password authBoris Bobrov2016-11-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The method being changed constructs domain-related parameters that will further be passed to the auth plugin. If project domain is not passed, the method sets it to the default domain. token_endpoint does not expect any information about domain, because it uses only a token and URL. Passing it to auth plugin causes an exception. Construct domain-related parameters only for specific plugins, such as password or totp. Change-Id: I13db3bbe31a0ed843e9f4528d37c768546e2bee9 Closes-Bug: 1642301
* | translate all command help strings3.4.0Steve Martinelli2016-11-1787-422/+429
|/ | | | | | | | | | | | | | Leverage the new cliff command class attribute (_description) to get the help of a command, this allows us to mark strings for translation. We could not do this before since the help was grabbed from the docstring. This also depends on a new release of cliff and a bump to the minimum level in osc's requirements. Closes-Bug: 1636209 Depends-On: Id915f6aa7d95a0ff3dc6e2ceaac5decb3f3bf0da Change-Id: I8673080bb5625e8e3c499feaefd42dfc7121e96f
* Do proper deprecation for security group rule createDean Troyer2016-11-161-17/+47
| | | | | | | | | | | | | | Review I03fd0e14e470e7272930ac2651e73263b83bd4e1 renamed the --src-group and --src-ip options to --remote-group and --remote-ip but did not properly deprecate the old option names. Add deprecation warnings when the old option names are used. Also, format the warnings using the new proposed translation guideline for marking substrings to not be translated, such as literal names and option names. Change-Id: I63d085d190fc28b8637e7686016eda4efbdda1be
* Merge "network.common.NetworkAndComputeShowOne: catch HttpException"Jenkins2016-11-102-6/+25
|\
| * network.common.NetworkAndComputeShowOne: catch HttpExceptionJordan Pittier2016-11-102-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: if a user issue the cmd 'openstack floating ip create public' and has already maxed his quota for FIP, OSC exits with a not so useful message: >jordan@jordan-XPS13-9333:~ $ openstack floating ip create public >HttpException: Conflict This patches catch the HttpException earlier and prints a more verbose message: > jordan@jordan-XPS13-9333:~ $ openstack floating ip create public > Error while executing command: Quota exceeded for resources: ['floatingip'] Change-Id: I7c87524d871d230d92f007c32e06439b34c7194a
* | Merge "Not appropriate name sg rule attribute"Jenkins2016-11-102-17/+178
|\ \
| * | Not appropriate name sg rule attributejudy-yu2016-11-042-17/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For ingress rules set ip-prefix means src-ip- prefix, but for egress rules set ip-prefix means dst-ip-prefix. It is not appropriate to name src-ip directly. So as to src-group. Change-Id: I03fd0e14e470e7272930ac2651e73263b83bd4e1 Closes-bug: #1637365
* | | Merge "Add description field port create & port set"Jenkins2016-11-103-40/+56
|\ \ \
| * | | Add description field port create & port setAradhana Singh2016-10-173-40/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patchset 1. adds description field to openstack port create and openstack port set. 2. updates method _add_updatable_args with 4 spaces instead of existing 8 spaces Partially Implements: blueprint neutron-client-descriptions Partially Implements: blueprint network-commands-options Change-Id: I4598e555722b1de7bc47f3a9be0fd81eacfcb572
* | | | Merge "Support --provider-* options in the network list command"Jenkins2016-11-103-5/+97
|\ \ \ \
| * | | | Support --provider-* options in the network list commandYan Xing'an2016-10-273-5/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add --provider-network-type, --provider-physical-network, --provider-segment options into network list command. Change-Id: I02546170211fb3e7e55d5dc7e7cdc6d387fd26e5 Closes-Bug: #1635580 Partially-Implements: blueprint network-commands-options
* | | | | Merge "Add option to allow filtering by mac-address on port list"Jenkins2016-11-102-2/+31
|\ \ \ \ \
| * | | | | Add option to allow filtering by mac-address on port listYan Xing'an2016-10-192-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support to allow filtering ports via --mac-address option to the port list command. Change-Id: I903e443f2f9057571d46520c4cafb88d1972c0cb Partial-bug: #1634333 Partially-Implements: blueprint network-commands-options
* | | | | | Merge "Use FakeImage class to replace duplicated image info in volume test"Jenkins2016-11-102-31/+11
|\ \ \ \ \ \
| * | | | | | Use FakeImage class to replace duplicated image info in volume testHuanxuan Ao2016-10-212-31/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FakeImage class has been added in image v1 so that we can reuse it in volume v1 unit test to replace the duplicated image info in volume v1 fake. Change-Id: I0f96e568bd65e59241b57704fc2a379319a386d8
* | | | | | | Merge "Allow input the QoS policy name in network rbac create command"Jenkins2016-11-102-5/+44
|\ \ \ \ \ \ \
| * | | | | | | Allow input the QoS policy name in network rbac create commandHuanxuan Ao2016-10-202-5/+44
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We could input a QoS policy ID for the "rbac_object" parameter in "network rbac create" command but not name before. After this change, "rbac_object" parameter can be both QoS policy name or ID. Change-Id: I0fd6b5b5ae410074d85475ef49e5a0a9a52bf86f
* | | | | | | Merge "Add direction and protocol options to os security group rule list cmd"Jenkins2016-11-102-0/+84
|\ \ \ \ \ \ \
| * | | | | | | Add direction and protocol options to os security group rule list cmdNam Nguyen Hoai2016-10-142-0/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch added direction options (--ingress, --egress) and protocol option (--protocol) to filter rules by os security group rule list command. Change-Id: I56ace3f97eb927fd2a868f728c7347a29d028b67 Closes-Bug: #1613533 Partially-Implements: blueprint network-commands-options
* | | | | | | | Merge "Add "--read-only" and "--read-write" options in "volume set""Jenkins2016-11-104-28/+162
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
| * | | | | | | Add "--read-only" and "--read-write" options in "volume set"Huanxuan Ao2016-10-184-28/+162
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "--read-only" and "--read-write" options in "volume set" command to set volume access mode. Implements: bp cinder-command-support Change-Id: I76ba85c7d3ff0eb026a9cbd794368d8b2b0d17fe
* | | | | | | Merge "Add "volume migrate" command"Jenkins2016-11-104-0/+230
|\ \ \ \ \ \ \
| * | | | | | | Add "volume migrate" commandHuanxuan Ao2016-10-184-0/+230
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "volume migrate" command in volume v1 and v2 to support migrating volume to a new host Change-Id: Ie4e6037171a31a872006a13f9fd1e15eaa627c26 Implements: bp cinder-command-support
* | | | | | | Merge "Add 'description' option"Jenkins2016-11-093-0/+41
|\ \ \ \ \ \ \
| * | | | | | | Add 'description' optionSindhu Devale2016-11-083-0/+41
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--description' option to os security group rule create cmd. Change-Id: I604bcdeb4658d2dcc4d860a87e704e186cca5225 Partially-Implements: blueprint network-commands-options Partially-Implements: blueprint neutron-client-descriptions
* | | | | | | Merge "SDK refactor: Prepare floating ip commands"Jenkins2016-11-082-5/+13
|\ \ \ \ \ \ \
| * | | | | | | SDK refactor: Prepare floating ip commandsSindhu Devale2016-11-032-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "floating ip" commands for the SDK refactor. Change-Id: I02052185b3ce0b053acdcf76a0f68d49e6f7e608 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | Merge "SDK Refactor: Prepare subnet pool commands"Jenkins2016-11-083-15/+33
|\ \ \ \ \ \ \ \
| * | | | | | | | SDK Refactor: Prepare subnet pool commandsRichard Theis2016-10-053-15/+33
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "subnet pool" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I6d8cb7a079cf115ee25d48d9175e31f0f995c502 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | Merge "SDK Refactor: Prepare network segment commands"Jenkins2016-11-081-4/+9
|\ \ \ \ \ \ \ \
| * | | | | | | | SDK Refactor: Prepare network segment commandsRichard Theis2016-10-051-4/+9
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "network segment" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I426ecdad0f9d95b89e80fb1c5ba81ffe5fe274c9 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | Merge "SDK Refactor: Prepare address scope commands"Jenkins2016-11-084-12/+116
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | SDK Refactor: Prepare address scope commandsRichard Theis2016-10-054-12/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "address scope" commands for the SDK refactor. See [1] for details. [1] https://etherpad.openstack.org/p/osc-network-command-sdk-support Change-Id: I4e253e01f9b0b10452354f4e4152468090c76958 Partially-Implements: blueprint network-command-sdk-support
* | | | | | | | Add 'all-projects' option to 'volume backup list'Jordan Pittier2016-11-084-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to what 'volume list --all-projects' does, 'volume backup list --all-projects' list volume backups accross all projects. Change-Id: Id5dda9b5adc822c4ddfb2dda339946d3322858e2
* | | | | | | | Add options to "volume backup list" commandHuanxuan Ao2016-11-084-10/+174
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "--name", "--status", "--volume", "--marker" (v2 only) and "--limit" (v2 only) options to "volume backup list" command Change-Id: If20cb7650f2359d393ee314d9e055a8659c73009 Closes-Bug: #1612484 Closes-Bug: #1639712
* | | | | | | Add filtering options --name,--enable,--disable to router listYi Zhao2016-10-312-1/+80
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I171b6be4501b02c3df66589c45177200919117db Closes-Bug: #1637945 Partially-Implements: blueprint network-commands-options
* | | | | | Add --long option and more columns to the hypervisor list commandYan Xing'an2016-10-272-2/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support --long option and more columns in output of hypervisor list command, including 'Hypervisor Type', 'Host IP', 'State', and 'vCPU Used', 'vCPUs', 'Memory MB Used', 'Memory MB' with --long option. Change-Id: I0c790c7835309dded03e230cf497168e19404537 Closes-Bug: #1637074
* | | | | | Merge "Rename variable to avoid shadowing of built-in name"Jenkins2016-10-251-2/+2
|\ \ \ \ \ \
| * | | | | | Rename variable to avoid shadowing of built-in nameKyrylo Romanenko2016-10-181-2/+2
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: I06e2617db1d5508723bc343072a15586af89b390
* | | | | | Merge "Avoid duplicated project_id when show network"Jenkins2016-10-251-0/+1
|\ \ \ \ \ \
| * | | | | | Avoid duplicated project_id when show networkjudy-yu2016-10-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Project_id appear twice when show network. This patch check and not append if it already has one. Change-Id: I4400239f454522101b639a0412050dd60eb6a612 Closes-Bug: #1636123 Partially-Implements: blueprint duplicated-project-id
* | | | | | | Merge "Adds information about private key generation for instance access"Jenkins2016-10-252-13/+13
|\ \ \ \ \ \ \
| * | | | | | | Adds information about private key generation for instance accessAnne Gentle2016-10-252-13/+13
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Also updated the help text in the command itself. Change-Id: Ib3d4f94ef415a3f12024d0d7c000d2de20de001b Partial-Bug: 1549410
* | | | | | | Merge "Warning for empty password set for user create/set"Jenkins2016-10-252-0/+20
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Warning for empty password set for user create/setqtang2016-10-192-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Raise warning when empty password set for user Change-Id: If03516f3f1290e4c329fe3d1277dee0512de0410 Closes-Bug: #1607959
* | | | | | | Improve a network testcaseYan Xing'an2016-10-201-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a typo networ to network, and add assertEqual lines. Change-Id: I13c0c775c1d5f7a8f579d387cd9bea1bdd74aebc
* | | | | | | Correct help string of the subnet pool list optionsYan Xing'an2016-10-201-8/+10
| |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct help string of subnet pool list options, from "subnets" to "subnet pools". Change-Id: Ic6dd6649f411748cd0c6e6b08f0451c8a0fa220f Partially-Implements: blueprint network-commands-options
* | | | | | Reset allocation pools to [] instead of ''Carl Baldwin2016-10-191-1/+1
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the sdk expects subnet allocation pools to be reset to an empty array, not an empty string. Currently this results in an error message: "Invalid input for allocation_pools. Reason: Invalid data format for IP pool" Change-Id: I7cc84b9c8e4abdbd2c91e5d591ad31f0849c1a83 Closes-Bug: #1634672
* | | | | Merge "Fix --shared/block-migration options in server migrate command"Jenkins2016-10-171-8/+8
|\ \ \ \ \