summaryrefslogtreecommitdiff
path: root/openstackclient/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge "network.common.NetworkAndComputeShowOne: catch HttpException"Jenkins2016-11-101-0/+14
|\
| * network.common.NetworkAndComputeShowOne: catch HttpExceptionJordan Pittier2016-11-101-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-101-1/+140
|\ \
| * | Not appropriate name sg rule attributejudy-yu2016-11-041-1/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-102-0/+9
|\ \ \
| * | | Add description field port create & port setAradhana Singh2016-10-172-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-102-4/+66
|\ \ \ \
| * | | | Support --provider-* options in the network list commandYan Xing'an2016-10-272-4/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-101-2/+24
|\ \ \ \ \
| * | | | | Add option to allow filtering by mac-address on port listYan Xing'an2016-10-191-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-101-0/+40
|\ \ \ \ \ \
| * | | | | | Allow input the QoS policy name in network rbac create commandHuanxuan Ao2016-10-201-0/+40
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-101-0/+54
|\ \ \ \ \ \
| * | | | | | Add direction and protocol options to os security group rule list cmdNam Nguyen Hoai2016-10-141-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-102-16/+90
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Add "--read-only" and "--read-write" options in "volume set"Huanxuan Ao2016-10-182-16/+90
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-102-0/+152
|\ \ \ \ \ \
| * | | | | | Add "volume migrate" commandHuanxuan Ao2016-10-182-0/+152
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-092-0/+33
|\ \ \ \ \ \
| * | | | | | Add 'description' optionSindhu Devale2016-11-082-0/+33
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-081-1/+1
|\ \ \ \ \ \
| * | | | | | SDK refactor: Prepare floating ip commandsSindhu Devale2016-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-082-4/+9
|\ \ \ \ \ \ \
| * | | | | | | SDK Refactor: Prepare subnet pool commandsRichard Theis2016-10-052-4/+9
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 address scope commands"Jenkins2016-11-082-0/+60
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | SDK Refactor: Prepare address scope commandsRichard Theis2016-10-052-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-082-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-082-6/+87
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-311-0/+52
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | 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-271-1/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Adds information about private key generation for instance accessAnne Gentle2016-10-251-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Also updated the help text in the command itself. Change-Id: Ib3d4f94ef415a3f12024d0d7c000d2de20de001b Partial-Bug: 1549410
* | | | | Improve a network testcaseYan Xing'an2016-10-201-1/+3
|/ / / / | | | | | | | | | | | | | | | | | | | | Fix a typo networ to network, and add assertEqual lines. Change-Id: I13c0c775c1d5f7a8f579d387cd9bea1bdd74aebc
* | | | Merge "Add necessary info to Floating IP list"Jenkins2016-10-171-0/+4
|\ \ \ \
| * | | | Add necessary info to Floating IP listReedip2016-10-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the Network ID and Project ID for the listed floating IPs when Neutron is enabled for OpenstackClient. Change-Id: I823090f2e6d30acd72247d30956f48f4d7672a50 Closes-Bug:#1566090
* | | | | Merge "Add security groups options to "port create/set/unset""Jenkins2016-10-171-0/+220
|\ \ \ \ \
| * | | | | Add security groups options to "port create/set/unset"Nguyen Phuong An2016-10-121-0/+220
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--security-group' and '--no-security-group' options to "port create", "port set" and "port unset" commands. Change-Id: Iff60d8f29227017b0a3966efca6cdecba69abcea Partial-Bug: #1612136 Partially-Implements: blueprint network-commands-options
* | | | | Add support make a router HAReedip2016-10-161-0/+6
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently router set CLI does not provide the support make a router highly available. The following patch enables the same. Checking for setting a router as HA is left on the neutron server itself. Partially-Implements: blueprint network-commands-options Change-Id: I0d0548cf037a14e5ccb2f732918ee9d1f63f43b4 Closes-Bug:#1631492
* | | | Merge "Add a new column and a new option the 'os port list' cmd"Jenkins2016-10-121-0/+41
|\ \ \ \ | |/ / / |/| | |
| * | | Add a new column and a new option the 'os port list' cmdNam Nguyen Hoai2016-10-121-0/+41
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will add a new column called status to the result of the 'os port list' command and --long option to 'os port list' command. Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com> Change-Id: I4f942414e969687304b578ed7f003dd219c0f2f8 Closes-Bug: #1613995 Closes-Bug: #1614321 Partially-Implements: blueprint network-commands-options
* | | Merge "Add network support for Network QoS policies"Jenkins2016-10-113-0/+585
|\ \ \
| * | | Add network support for Network QoS policiesRodolfo Alonso Hernandez2016-10-113-0/+585
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added following commands: - network qos policy create - network qos policy delete - network qos policy set - network qos policy show - network qos policy list Closes-Bug: 1609037 Depends-On: I33bafeca979410d329ae10a82772ccdb48c10daa Change-Id: I63a8f63702514ff5814481bb021e2aa9d5f3d4b1
* | | Merge "Refactor image v1 unit tests with FakeImage class"Jenkins2016-10-112-95/+185
|\ \ \
| * | | Refactor image v1 unit tests with FakeImage classHuanxuan Ao2016-10-092-95/+185
| |/ / | | | | | | | | | | | | | | | | | | | | | Add FakeImage class, and refactor the unit tests with it in image v1. Change-Id: I9024ca5eca5c604e7588c1d905562bf6838309f1 Implements: bp improve-image-unittest-framework
* | | Fix router unset --route optionChoe, Cheng-Dae2016-10-101-2/+2
|/ / | | | | | | | | | | | | | | | | Fix the "--route" option one the "os route unset" command. The option did not convert gateway to nexthop which results "Router does not contain route" error. Change-Id: Ia57bc7ea77ad7c6030535180a6ce42b4928c9e56 Closes-Bug: 1631471
* | Refactor qos spec unit test in volume v1Huanxuan Ao2016-10-042-159/+124
|/ | | | | | | Refactor qos spec unit test with FakeQos class in volume v1. Change-Id: Ia76bf41a911457282b293dfaf0af311b1a9194ce
* Merge "Add --ha option to os router create command"Jenkins2016-09-301-0/+25
|\