summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add support for endpoing filter commands"Zuul2017-12-132-0/+43
|\
| * Add support for endpoing filter commandsJose Castro Leon2017-11-212-0/+43
| | | | | | | | | | | | | | | | | | Implements the commands that allow to link and endpoint to a project for endpoint filter management. Implements: blueprint keystone-endpoint-filter Change-Id: Iecf61495664fb8413d35ef69f07ea929d190d002
* | Prepare for os-clinet-config to go awayDean Troyer2017-11-161-1/+0
|/ | | | | | | We used that module in a test functional for module list, it is being absorbed into python-openstacksdk and having it listed in this test breaks -tips jobs. Change-Id: I98fdf5a5d1b3c6e30cb4c5f5fec3dd8e43e53145
* Merge "Display Network QoS rule type details"Zuul2017-11-061-0/+7
|\
| * Display Network QoS rule type detailsSławek Kapłoński2017-11-051-0/+7
| | | | | | | | | | | | | | | | | | | | Neutron API now supports getting details of supported QoS rule type. This patch adds support for this feature to OpenStack client. Change-Id: I74d16563ce2236a7c899f5994f1dab43ace02138 Depends-On: I448b5d4f8e4ef42eafe50d9d6c63d0be666f98fc Related-Bug: #1686035
* | Merge "Add missing parameters on openstack server rescue"Zuul2017-10-271-1/+12
|\ \ | |/ |/|
| * Add missing parameters on openstack server rescueJose Castro Leon2017-10-271-1/+12
| | | | | | | | | | Change-Id: I27afca9e826378dbcb7feb7528e0c65c528b04b0 Closes-Bug: #1703278
* | Native DevStack jobsDean Troyer2017-10-242-106/+0
| | | | | | | | | | | | | | Convert legacy DevStack jobs to native Zuul v3 form, plus some test-job-related docs updates. Change-Id: Ia8c08be81605da885b9eee799fc58129305dfc41
* | Add wrapper around ostestrMonty Taylor2017-10-231-0/+16
| | | | | | | | | | | | | | The functional tests assume that an openrc file has been sourced. Make a simple wrapper that will do that. Change-Id: I42584aaebcbca99a8c922f6ff90c8bbce57bbfbb
* | Attempt to de-race qos policyDean Troyer2017-10-181-3/+7
|/ | | | | | | | | We're getting about 1-in-6 failures on qos policy delete now, with the message that the policy is in use by a network. It shouldn't be, this is possibly due to the small window where the policy is set as the default. Let's remove that and shore up the test using --share instead. Change-Id: I8d669bd3c5c88dadd2927aee89e5ef72cf4001c4
* Switch to $USER in post_test_hooksIan Wienand2017-10-162-8/+8
| | | | | | | As a first step to zuul migration, switch to $USER from a static "jenkins" username. Change-Id: I26ed12133c75a69182c56b6ecf483fcdc37d98f3
* Merge "Add "volume service list --host" functional test case"Jenkins2017-09-261-2/+12
|\
| * Add "volume service list --host" functional test caselihaijing2017-09-191-2/+12
| | | | | | | | Change-Id: I467252d9fc6083fb891a8701d7992f16ce42556f
* | Merge "Update the documentation link for doc migration"Jenkins2017-09-262-2/+2
|\ \
| * | Update the documentation link for doc migrationlingyongxu2017-09-212-2/+2
| |/ | | | | | | | | | | | | This patch is proposed according to the Direction 10 of doc migration(https://etherpad.openstack.org/p/doc-migration-tracking). Change-Id: Ieca93d77bfc5e54486312f16122cc12c5bda0934
* | Merge "Add functional test cases for "volume qos associate/disassociate""Jenkins2017-09-191-1/+93
|\ \
| * | Add functional test cases for "volume qos associate/disassociate"lihaijing2017-09-181-1/+93
| |/ | | | | | | | | Change-Id: I07b25bebb8a0ea18cdf042357be65c4ec6e1cfed Closes-Bug: #1717874
* | Unroll the network qos policy functional testsDean Troyer2017-09-171-33/+42
|/ | | | | | | These seem to have gotten a bit racy in the last revision, just do it the long way now. Change-Id: I3748b8b4f264dbfa8c991b32653682e5c86eeb4c
* Merge "Attempt to work around chronically failing server issues with ↵Jenkins2017-09-162-4/+15
|\ | | | | | | aggregates and qos"
| * Attempt to work around chronically failing server issues with aggregates and qosDean Troyer2017-09-152-4/+15
| | | | | | | | | | | | | | | | So yeah, this is not kosher for functional tests, but we're testing the client interaction, not the raciness of Nova or Neutron. Failure to delete is not our problem. Change-Id: I21043f1de0fbacee1aec63110fb12a7cff42e0a0
* | Fix subunit collection in functional tests with ostestr>=1.0.0Matthew Treinish2017-09-152-0/+16
|/ | | | | | | | | With the release of os-testr 1.0.0 stestr is used internally and because of that the repository dir and commands to get subunit are different. This commit updates the post-test hook to get the subunit stream if ostestr>=1.0.0 is used. Change-Id: I2cce7f4780ce418398b17a5848def9072372841e
* Skip Volume v1 functional tests if v1 not presentDean Troyer2017-09-121-3/+24
| | | | | | | | Volume v1 is gone in Queens Just skip it for now until DevStack does not create a v1 endpoint Change-Id: I2aa2f78b0d5c8ac2048c922c7835e5c4574028cc
* Merge "Convert remaining network functional tests to JSON"Jenkins2017-08-252-55/+39
|\
| * Convert remaining network functional tests to JSONAkihiro Motoki2017-08-232-55/+39
| | | | | | | | Change-Id: Ib7dff5506cc69549b5b1fbb8bf6e649468563dd6
* | Merge "Convert network qos functional tests to JSON"Jenkins2017-08-243-233/+193
|\ \ | |/
| * Convert network qos functional tests to JSONAkihiro Motoki2017-08-233-233/+193
| | | | | | | | Change-Id: Ie5cde2f927ec6abb6334ea01adfb06749384ed01
* | Merge "Convert network security group functional tests to JSON"Jenkins2017-08-242-106/+52
|\ \ | |/
| * Convert network security group functional tests to JSONAkihiro Motoki2017-08-232-106/+52
| | | | | | | | Change-Id: Icb63aa0dfbce9016fb824f97915a660cf130d120
* | flake8-import-order: Ensure to place project imports lastAkihiro Motoki2017-08-222-3/+4
|/ | | | | | | | To ensure project imports are placed after third party import, we need to specify application-import-names. Previously flake8-import-check checked only standard imports or not. Change-Id: Iad7afa456cec7cf5b44955f1ea03c593a4c0e426
* Use flake8-import-order pluginAkihiro Motoki2017-08-171-1/+1
| | | | | | | | | | | | | | | | In reviews we usually check import grouping but it is boring. By using flake8-import-order plugin, we can avoid this. It enforces loose checking so it sounds good to use it. This flake8 plugin is already used in tempest. Note that flake8-import-order version is pinned to avoid unexpected breakage of pep8 job. Setup for unit tests of hacking rules is tweaked to disable flake8-import-order checks. This extension assumes an actual file exists and causes hacking rule unit tests. Change-Id: I12b596820727aeeb379bee16c2bc993dee9eb637
* Convert network segment functional tests to JSONDean Troyer2017-08-131-45/+99
| | | | Change-Id: I8dc1e992d54c63c93bbe2bdd7acba61a7a6773d0
* Merge "network functest: Remove condition for segment test"Jenkins2017-07-282-89/+48
|\
| * network functest: Remove condition for segment testAkihiro Motoki2017-07-272-89/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously fucntional tests for network segment feature are skipped as neutron 'segment' API extension was disabled in the gate. We now enable neutron 'segment' API extension, so we can safely drop the check for the segment extension from the test code. Also setup code in test_network_segment is moved from setUpClass to setUp. There is no good reason to do them in setUpClass and having them in setUp simplifies the test code. no user once this commit is applied. Change-Id: I183310b94d9b6d7f4311a3859b59dc22d36440db
* | Skip object-store functional tests when Swift is not availableDean Troyer2017-07-263-11/+48
|/ | | | | | | | Specifically, in the py3 jobs Swift is not (yet) properly starting as a py2 service, so we disabled swift in those OSC jobs and need to skip the object-store functional tests in that case. Change-Id: I073551c41b7636f04b3ee97dc6fe69630e207b67
* Network tag supportAkihiro Motoki2017-07-236-5/+115
| | | | | | | | | | | | | Neutron tag mechanism now supports network, subnet, port, subnetpool and router. Tag support for more resources is planned. This commit introduces a common mixin class to implement tag operation and individual resource consumes it. To support tag remove, network unset command is added. Implements blueprint neutron-client-tag Change-Id: Iad59d052f46896d27d73c22d6d4bb3df889f2352
* Merge "Clean up the changes of os.environ in functional tests"Jenkins2017-07-2137-228/+336
|\
| * Clean up the changes of os.environ in functional testsRui Chen2017-07-2037-228/+336
| | | | | | | | | | | | | | | | | | | | | | | | Use fixtures to restore the API version changes of os.environ in each functional tests, aims to avoid the following test cases failing in unexpected context. And make sure setUpClass/tearDownClass call super class's corresponding methods first. Change-Id: Ie248fe9d3a9e25f1b076c9f2c363200f29a83817 Closes-Bug: #1696080
* | Merge "Enable some off-by-default checks"Jenkins2017-07-202-6/+2
|\ \ | |/ |/|
| * Enable some off-by-default checksblue552017-06-232-6/+2
| | | | | | | | | | | | | | Some of the available checks are disabled by default, like: [H203] Use assertIs(Not)None to check for None Change-Id: I59dafb62cedc5217b6e5eb6efb997a9ee3c29bbb
* | Merge "Network L3 Router Commands for OSC"Jenkins2017-07-202-0/+70
|\ \
| * | Network L3 Router Commands for OSCAnkur Gupta2017-07-112-0/+70
| | | | | | | | | | | | | | | | | | | | | Implements: blueprint network-l3-commands Co-Authored-By: Akihiro Motoki <amotoki@gmail.com> Change-Id: Ia24d76227e164062e89a74c1621b8acb830b26cf
* | | Fix dynamic names in network functional testsDean Troyer2017-07-1911-25/+36
| | | | | | | | | | | | | | | | | | | | | | | | Move all of the dynamic resource naming in Network functional tests into setUpClass() methods (if they exist) rather than assigning those names at load-time. Change-Id: Ic550ff7d40c2b3ca5128cacccbe331790d6ae340
* | | image-list should support filters 'name','status'nidhimittalhada2017-07-121-0/+18
|/ / | | | | | | | | | | | | | | | | nova api support parameters like 'name', 'server', 'status', etc in image-list(). So openstackclient should support this too. DocImpact Closes-Bug: #1698742 Change-Id: Ice66b409f989e6785aa3b2d42f2fdbf6e23fa0aa
* | Merge "Allow objects to be streamed to stdout"Jenkins2017-07-061-0/+4
|\ \
| * | Allow objects to be streamed to stdoutHonza Pokorny2017-07-051-0/+4
| | | | | | | | | | | | Change-Id: Icd8de6b2122fe77926d93da9bda08f56c3672a7a
* | | Add new parameter "is_default" to Network QoS policy.Rodolfo Alonso Hernandez2017-07-051-0/+13
|/ / | | | | | | | | | | | | | | | | | | | | | | Add a set of exclusive parameters to the Network QoS policy: --default: makes this policy the default policy for the project to which the qos policy belongs. --no-default: unset the property. Closes-Bug: #1639220 Depends-On: If5ff2b00fa828f93aa089e275ddbd1ff542b79d4 Depends-On: Ibe7b7881cb190bfd5582f35b6de51a8bc21135de Change-Id: I0269b837dc29bbd8ee2089d847cadb72d800fa30
* | Add direction field to QoS bandwidth limit.Rodolfo Alonso Hernandez2017-06-221-7/+9
|/ | | | | | | | | | This patch enables the direction ('ingress'/'egress') field on the QoS bandwidth limit rule object and CRUD commands. Closes-Bug: #1614121 Depends-On: Ia13568879c2b6f80fb190ccafe7e19ca05b0c6a8 Depends-On: I90c412a5c8757b3ffe8abfc1165a70bdb8744702 Change-Id: Ic6981474f22efbf294ac11c2e0304b04494a1bbe
* Add default-quota to subnet pool commandsReedip2017-06-121-4/+35
| | | | | | | | | | | | | | Add --default-quota option to subnet pool create and set commands. Setting default-quota back to None may break the current Neutron behavior, therefore support for Unset command is not provided in this patch. Neutron API: https://github.com/openstack/neutron/blob/a0e0e8b6686b847a4963a6aa6a3224b5768544e6/neutron/api/v2/attributes.py#L239 Closes-Bug: #1667294 Change-Id: Ia4e7c23a49e91a090133c729353cdb8e62bc5674
* volume functest: ensure snapshots deleted when volume deleteAkihiro Motoki2017-06-0610-129/+130
| | | | | | | | | | | | | Deleting snapshot may take time. The current volume API does not allow to delete volumes with snapshots, so if deleting snapshot may take time, a delete request for a parent volume will fail. This sometimes causes functional test failures in slow environments. wait_for_status() checks whether volume status is in error statuses but previously the expected error status was wrong. Cinder API uses lower case as volume status, so it did not work expectedly. Change-Id: I095894ba39f23bf81d71351818d24dbb5ca459fb
* Merge "Replace "Display Name" by "Name" in volume list"Jenkins2017-06-053-8/+82
|\