summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | OSC Quota ListSindhu Devale2017-03-101-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Neutron feature of Quota List into OpenStack Client. Change-Id: Idf941acf8d00b136776b7381b877c56d82622f57 Partially-Implements: blueprint neutron-client-quota
* | | | | Merge "OSC Network Flavor Profile"Jenkins2017-03-211-0/+151
|\ \ \ \ \
| * | | | | OSC Network Flavor ProfileNakul Dahiwade2017-03-201-0/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Neutron feature of Network Flavor Profile into OpenstackClient This patch implements the following commands: network flavor profile create network flavor profile delete network flavor profile list network flavor profile show network flavor profile set SDK Version needed: 0.9.9 Change-Id: Ie6fe5e53122cfb2eda8d326851d54562739a8386 Partially-Implements: blueprint neutron-client-flavors
* | | | | | Merge "Jsonify meter and meter rule functional tests"Jenkins2017-03-212-64/+135
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Jsonify meter and meter rule functional testsNakul Dahiwade2017-03-092-64/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some functional tests try to parse the CLI table output format, that cause much work on parse string by using regular expression. Using json format in functional tests is better and easier way, this patch reworks for meter and meter rule related tests. Change-Id: I1f2a95c873a4ed23dd1afa4040900a1c7704d0bf
* | | | | | Merge "Introduce Neutron DHCP agent commands to OSC"Jenkins2017-03-202-0/+95
|\ \ \ \ \ \
| * | | | | | Introduce Neutron DHCP agent commands to OSCShashank Kumar Shankar2017-03-202-0/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces neutron dhcp-agent related commands to OpenStack client. The equivalent neutron commands implemented in OSC: neutron: dhcp-agent-list-hosting-net OSC: network agent list --network neutron: dhcp-agent-network-add OSC: network agent add network neutron: dhcp-agent-network-remove OSC: network agent remove network neutron: net-list-on-dhcp-agent OSC: network list --agent Change-Id: I77a933f4b3ce875c63cef5b6a32aee78fd844b03
* | | | | | | Merge "Make MAC address of port updatable"Jenkins2017-03-201-0/+19
|\ \ \ \ \ \ \
| * | | | | | | Make MAC address of port updatableBence Romsics2017-03-201-0/+19
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openstackclient does not allow the update of a port's MAC address. However this is possible in neutron API (though by default policy it is an admin-only operation). Allow it in openstackclient too. Change-Id: Ibd9e0a6fbd1d0d461b8a8daee24dbb7c3f929df6 Closes-Bug: #1670707
* | | | | | | Merge "Refactor ServerTests and ServerEventTests functional test classes"Jenkins2017-03-163-135/+156
|\ \ \ \ \ \ \
| * | | | | | | Refactor ServerTests and ServerEventTests functional test classesDean Troyer2017-03-103-135/+156
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move common bits into a compute.v2.common.ComputeTestCase class so they are available as needed without calling into other test classes. Change-Id: I1afcc04ba705b0bbb85628117e7ca91080cf1895
* | | | | | | Merge "Functional test for ip_availability"Jenkins2017-03-161-17/+20
|\ \ \ \ \ \ \
| * | | | | | | Functional test for ip_availabilityjiahui.qiang2017-03-101-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor ip_availability functional tests. Change-Id: I2397bd20236e1e9e3c69177ea6afbaadf2c445ae
* | | | | | | | Merge "Switch to use cleanup method in functional test"Jenkins2017-03-162-21/+29
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Switch to use cleanup method in functional testjiahui.qiang2017-01-212-21/+29
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch the delete command in subnet and router functional tests. Because addCleanup will also work when an assertion fails ,except the test is for testing delete command. Change-Id: I33634f5148c4895c7cf4d4773a9c33c8368850c7
* | | | | | | Merge "command list: Move network meter appropriately"Jenkins2017-03-081-0/+0
|\ \ \ \ \ \ \
| * | | | | | | command list: Move network meter appropriatelyAkihiro Motoki2017-03-081-0/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'network meter' commands are not placed alphabetically in the command list. It was due to the incorrect filename. Trivial Fix Change-Id: I7a76d3133915883cf41be8c7430def284d292d6e
* | | | | | | Merge "Add "--private-key" option for "keypair create""Jenkins2017-03-081-0/+21
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Add "--private-key" option for "keypair create"Rui Chen2017-03-061-0/+21
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Aim to specify the private key file to save when keypair is created. That is a convenient way to save private key in OSC interactive mode, avoid to copy CLI output, then paste it into file. Change-Id: I119d2f2a3323d17ecbe3de4e27f35e1ceef6e0a5 Closes-Bug: #1549410
* | | | | | Add server event list and show commandsRui Chen2017-03-071-0/+97
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OSC server event is similar to nova's instance action commands. Server event is the event record that had been done on a server, include: event type(create, delete, reboot and so on), event result(success, error), start time, finish time and so on. These are important information for server maintains. Change-Id: I8111091f46a0d2755728d8f9d43cc0dfe8842d13 Closes-Bug: #1642030
* | | | | Merge "Support --no-property in "volume set" command"Jenkins2017-03-062-9/+22
|\ \ \ \ \
| * | | | | Support --no-property in "volume set" commandzhiyong.dai2017-02-232-9/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "--no-property" option to "volume set" command in v1 and v2 and update the test cases. Change-Id: Id5660f23b3b2d9aa72f4c16b19ce83f3f7ed2fa4
* | | | | | Jsonify network flavor functional testsAnindita Das2017-03-021-70/+93
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some functional tests try to parse the CLI table output format, that cause much work on parse string by using regular expression. Using json format in functional tests is better and easier way, this patch reworks for network flavor related tests. Change-Id: I2bc5675409945c9ae79ac65df2d5d10781fe595a
* | | | | Merge "Functional test for subnet"Jenkins2017-03-021-37/+231
|\ \ \ \ \
| * | | | | Functional test for subnetjiahui.qiang2017-01-181-37/+231
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Refactor functional tests for testing more command options. Change-Id: I030652f6f3ab3dada12252599b20969f03a5df02
* | | | | Merge "Add Cinder v3 client support for volumes"Jenkins2017-03-017-0/+139
|\ \ \ \ \
| * | | | | Add Cinder v3 client support for volumesJustin A Wilson2017-02-207-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial Cinder v3 support Change-Id: Idd5074832e80697ed0671f06d3291dfd92dbfb08
* | | | | | Merge "Port set/unset SecGroup Bug Fix"Jenkins2017-02-271-1/+14
|\ \ \ \ \ \
| * | | | | | Port set/unset SecGroup Bug FixAnkur Gupta2017-02-261-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Throwing error 'Port' object has no attribute 'security_groups' Fix for set and unset. Change-Id: I1a0625b5a432c7a91cf40249ce4f7c883f53d704 Closes-Bug: #1656788
* | | | | | | Merge "Support list commands by group name keyword"Jenkins2017-02-271-0/+35
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Support list commands by group name keywordRui Chen2017-02-231-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The output of current "command list" is so long, it's very difficult for users to find out the commands they care about. Add "--group <group-keyword>" option to filter the commands by group name keyword, like: --group volume, list all openstack.volume.v2 (cinder) commands That support the scenario that users need to know the current support commands of some OpenStack services(nova, neutron, cinder and so on) in OSC. Change-Id: Id673042729ad36a0cac0b81fb31a3537c24f03fc Closes-Bug: #1666780
* | | | | | | Merge "Fix can not set is_default in network"Jenkins2017-02-241-53/+15
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Fix can not set is_default in networkjiahui.qiang2017-02-231-53/+15
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of is_default always be None, can not be set by "network set" command. Allow "--default" and "--no-default" options to be recognized when ``--external`` is not present. Closes-bug:#1665231 Change-Id: I7a05fc7734a15994f72ca4e47997b4952f1f72f8
* | | | | | Merge "Show openstacksdk version info in "module list""Jenkins2017-02-221-1/+2
|\ \ \ \ \ \
| * | | | | | Show openstacksdk version info in "module list"Rui Chen2017-02-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openstacksdk bug/1588823 exist, no good way to add __version__ for openstack module properly, fix the issue in osc side, make openstacksdk module information be available. Change-Id: I27ff61792443d1aa07f31598bed3aa32f924ff40 Partial-Bug: #1662058
* | | | | | | OSC Network FlavorAnindita Das2017-02-221-0/+153
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements Neutron feature of Network Flavor into OpenstackClient This patch implements the following commands: network flavor create network flavor delete network flavor list network flavor show network flavor set Works with openstacksdk version 0.9.8 Change-Id: I29d7a62341010a1d067a8ca93bccb7d9b8d4c425 Partially-Implements: blueprint neutron-client-flavors Partially-Implements: blueprint network-commands-options
* | | | | | Merge "Fix properties format for volume qos in volume v1"Jenkins2017-02-211-2/+2
|\ \ \ \ \ \
| * | | | | | Fix properties format for volume qos in volume v1Huanxuan Ao2017-02-211-2/+2
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notice that patch [1] fixed the error of properties format for volume qos in volume v2, but there is the same bug in volume v1, and the patch missed that, so fix the problem in v1 as well [1] https://review.openstack.org/#/c/421065/ Partial-Bug: #1656767 Change-Id: I156bf13d164dbd0d0a7ce394964176718c4ff0e5
* | | | | | Rework port functional tests on json output formatRui Chen2017-02-212-117/+77
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some functional tests try to parse the CLI table output format, that cause much work on parse string by using regular expression. Using json format in functional tests is better and easier way, the patch rework for port related tests. Change-Id: I0ec997bf63da4925742848c593db09d89655ca34
* | | | | Finish converting server functional tests to JSON formatDean Troyer2017-02-181-222/+231
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic9563bd86feb1f7afd403e49499205a499f0c142
* | | | | Merge "Fix "server create" command failed when --nic auto or none"Jenkins2017-02-181-5/+48
|\ \ \ \ \
| * | | | | Fix "server create" command failed when --nic auto or noneRui Chen2017-02-151-5/+48
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "auto" and "none" options was added into --nic argument of server create command in patch https://review.openstack.org/#/c/412698/ , but that don't work and raise internal error when execute command. The patch fix that issue and add unit and functional tests. Change-Id: Ia718c3bac0a5172a0cdbe9f0d97972a9346c1172 Co-Authored-By: Kevin_Zheng <zhengzhenyu@huawei.com> Closes-Bug: #1663520
* | | | | Merge "Functional test for router"Jenkins2017-02-181-29/+206
|\ \ \ \ \
| * | | | | Functional test for routerjiahui.qiang2017-01-191-29/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor functional tests for testing more command options. Change-Id: I6200045c6228e245fc48a4d48d4b3796dede61b5
* | | | | | Merge "Add "encryption-*" options in volume type commands"Jenkins2017-02-182-0/+158
|\ \ \ \ \ \
| * | | | | | Add "encryption-*" options in volume type commandsHuanxuan Ao2017-01-142-0/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add "--encryption-provider", "--encryption-cipher", "--encryption-key-size" and "--encryption-control-location" options to "volume type set" and "volume type create" commands. Add "--encryption-type" option to "volume type unset", "volume type list" and "volume type show" commands. Change-Id: I3572635d5913d971a723a62d7790ffe0f20ec39a Implements: bp cinder-command-support Closes-Bug: #1651117
* | | | | | | Fix image selection in server function testsDean Troyer2017-02-171-6/+11
| |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The image selection has been affected by Cirros image changes in DevStack, make the logic moe robust and convert it to JSON. The conversion for the remainder of the file will follow. Change-Id: I8f3318f55ed79d617c3594142f0c086e2bd1a7b1
* | | | | | Merge "Refactor volume functional test in volume v1"Jenkins2017-02-141-63/+183
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Refactor volume functional test in volume v1Huanxuan Ao2017-02-131-63/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a patch for refactor of volume funtional test in volume v2 [1], but v1 is missing, this change add the v1 refactor with json format. [1]: https://review.openstack.org/#/c/417349 Change-Id: I969df3c8dbca21a62f6245e3e95680cf3cd47dc1
* | | | | | Merge "Refactor availability zone functional test"Jenkins2017-02-131-6/+13
|\ \ \ \ \ \