summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix quota show --default command"Jenkins2017-01-151-3/+0
|\
| * Fix quota show --default commandDean Troyer2017-01-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Work around a bug in OpenStack SDK 0.9.11 and 0.9.12 that causes quota show --default to fail. This can be removed when the proposed SDK fix (https://review.openstack.org/420301) is reelased and in the minimum SDK version in global requirements. quota set --network is still broken, I can't fix it at the moment... Closes-bug: 1656572 Change-Id: Ice77e14782c33e672176afbab36bba95b73d7a11
* | unskip port testSteve Martinelli2017-01-141-3/+0
| | | | | | | | | | | | | | seems like we fixed this one when fixing other tests but never unskipped it. Change-Id: Id1a3d11b581b6f72ad62a8699899b6163c3870bb
* | Merge "Use git+file urls instead of directories"Jenkins2017-01-141-4/+5
|\ \
| * | Use git+file urls instead of directoriesMonty Taylor2017-01-141-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The /opt/stack/new directories are owned by the wrong user, so python setup.py egg_info fails because it can't create the egg_info dir. Changing the invocation to use git+file:// urls solves the problem. Additionally, make a correction to test collection. Change-Id: I39da0b26417dce1a72b15dedc02d10284329307f
* | | Merge "Fix network functional tests for sdk 0.9.12"Jenkins2017-01-141-104/+125
|\ \ \
| * | | Fix network functional tests for sdk 0.9.12Steve Martinelli2017-01-141-104/+125
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | it seems the SDK returns "is_default", but doesn't actually set it based on --default or --is-default I already had these functioanl tests mostly converted to JSON, so I dumped that in here too to make the is_default stuff cleaner. Change-Id: I47ca62f57c73aa7fa984ca54742fc86b6bb837c4
* | | Merge "Fix floating IP delete and show by IP"Jenkins2017-01-141-6/+0
|\ \ \
| * | | Fix floating IP delete and show by IPDean Troyer2017-01-141-6/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The floating IP delete and show commands did not work using IP addresses as the selector, only ID. The SDK floating_ip resource does not support but OSC does, so we have to do it ourselves. Now with more SDK 0.9.10 support! Change-Id: Iea1b57cded6b16a56a06af87ab8f1fa001a3485e Closes-bug: 1656402
* | | Fix subnet creating failure in functional testHuanxuan Ao2017-01-141-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | Noticed sometimes floating ip func test failed[1]. The first mumber of the address seems like cannot bigger than 223. So specify subnet ranges as the random number between 0 to 233, maybe it will safer for our functional tests. [1]: http://logs.openstack.org/50/418650/12/check/gate-osc-dsvm-functional-ubuntu-xenial/e163f68/console.html#_2017-01-14_06_58_35_930306 Change-Id: I44a23bce851dcf2009c8d77059cf75ed80145fb0
* | Merge "fix functional tests for network agents"Jenkins2017-01-131-4/+0
|\ \
| * | fix functional tests for network agentsSteve Martinelli2017-01-131-4/+0
| |/ | | | | | | | | | | | | As of SDK v0.9.11 the get_agent method no longer supports the "ignore_missing" parameter. Change-Id: Id655bf8499ed1a102a6bf583927cf66139581ab0
* | Fix security group rule list for NEtwork v2Dean Troyer2017-01-131-3/+0
|/ | | | | | | Fix the formatting of Port Range in the security group rule list command for Network v2 to handle SDK changes. Change-Id: Id954cbfaedbb74f60125ebda91f80db751759933
* unskip network qos rule type functional testSteve Martinelli2017-01-121-5/+1
| | | | | | | | | | | | | | | | | | with the SDK at 0.9.12 the below test fails with: 'minimum_bandwidth' not in +-----------------+ | Type | +-----------------+ | dscp_marking | | bandwidth_limit | +-----------------+ So remove 'minimum_bandwidth' from the asserted fields. Change-Id: I24ff691ae5a946d901afa763973305025829280b Closes-Bug: 1653137
* Merge "Add support for Network QoS rule commands"Jenkins2017-01-112-0/+186
|\
| * Add support for Network QoS rule commandsRodolfo Alonso Hernandez2017-01-092-0/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added following commands: - network qos rule create --type minimum-bandwidth dscp-marking limit-bandwidth - network qos rule delete - network qos rule list - network qos rule set - network qos rule show Closes-Bug: 1609472 Depends-On: I2e8869750024a8ccbc7777b95fe8ef6e26ec0885 Depends-On: Ife549ff6499217ca65e2554be8ef86ea7866b2d8 Change-Id: Ib3e1951f0917f5f23c8d9e0a380d19da2b3af5f0
* | Merge "Add support for Glance 'update image members' feature"Jenkins2017-01-111-0/+22
|\ \
| * | Add support for Glance 'update image members' featureJordan Pittier2017-01-041-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds 3 new options to the "image set" command: --accept, --reject and --pending. This updates the membership status for an image. Closes-Bug: 1620481 Change-Id: I13b8c067aad68ece9ff636fbdd83bcb3663c91b2
* | | add support for running tests with master dependenciesSteve Martinelli2017-01-111-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | we can create a new infra job that points to the new test hook, which should install the master version of the SDK, osc-lib and os-client-config. Change-Id: Ib6391893b2302bdc514525d5ddda886fe8c60100
* | | Fix Octavia gate breakage caused by _get_columns()Nir Magnezi2017-01-092-4/+1
| |/ |/| | | | | | | | | | | | | | | | | | | The above mentioned function tries to extract keys() from an item which is type class. This patch fixes the issue by converting item to dict by using to_dict(). Change-Id: Ida520ae9fe64171d105f486ba06eda127a24547b Closes-Bug: #1654887
* | Merge "Functional tests - flavor"Jenkins2017-01-081-27/+200
|\ \
| * | Functional tests - flavorDean Troyer2017-01-061-27/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Rework functional tests to remove resource create/delete from setupClass() and teardownClass() methods. * Add tests for more command options * Use JSON output Change-Id: Ib99ef954fe8e1170c7445940180d80b8b9c0a92c
* | | Merge "OSC Network Meter"Jenkins2017-01-081-0/+102
|\ \ \
| * | | OSC Network MeterAnkur Gupta2017-01-011-0/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Neutron feature of Metering into OpenStack Client. Meter Rules will be implemented in seperate patchset. Partially Implements: blueprint neutron-client-metering Change-Id: Ie82d42759504cbdb1c991c5183c1f0adf59e60fe
* | | | Merge "Fix network service provider functional test"Jenkins2017-01-071-4/+1
|\ \ \ \
| * | | | Fix network service provider functional testHuanxuan Ao2017-01-061-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDK refactor broken network service provider functional test, tested this command works, but there is a error in the funtional test, so fix it. Change-Id: I783c58cedd39a05b665e47709b2b5321871e558b Closes-Bug: 1653138
* | | | | add domain id to expected IdP fields, unskip testsSteve Martinelli2017-01-072-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit Id18b8b2fe853b97631bc990df8188ed64a6e1275 added domain IDs to an Identity provider, our functional tests have a hard match on what to expect when 'showing' an idp, the domain ID was missing. Change-Id: I87a1fd762918551c533668a9aa94f7c6268b79d6
* | | | | skip tests related to SDK 0912 and keystone IdP changeSteve Martinelli2017-01-078-1/+38
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | the gate is super wedged, i will skip tests and unskip them as necessary. Change-Id: Ia4469738c876ec1293f91b96dcc7d15365f4f37d
* | | | Fix "ip availability show" commandHuanxuan Ao2017-01-061-2/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDK refactor broken ip availability show functional test, We can not find a ip availability by network name but only network ID, so we find network and get the ID first, then find the ip availability by the network ID. Closes-Bug: 1653139 Change-Id: I246163fb875e2cdb9e5b091bac500a94268e8aa9
* | | Merge "Beef up address scope functional tests"Jenkins2017-01-041-21/+127
|\ \ \ | |_|/ |/| |
| * | Beef up address scope functional testsDean Troyer2016-12-301-21/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to get more thorough in our functional testing, so start by adding tests for all create and set options, check return values. This also removes most of the setupClass() and teardownClass() methods as they held common state that was subject to race conditions when running tests in parallel. Change-Id: Ib337f9e9d16b4183bb319b58cbe943045f365ff2
* | | Merge "Beef up network functional tests"Jenkins2017-01-041-24/+235
|\ \ \
| * | | Beef up network functional testsDean Troyer2016-12-301-24/+235
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to get more thorough in our functional testing, so start by adding tests for all create and set options, check return values. This also removes most of the setupClass() and teardownClass() methods as they held common state that was subject to race conditions when running tests in parallel. Change-Id: I4179f493cea971b7c576ffbf501330b5c57f52f3
* | | Merge "Beef up floating IP functional tests"Jenkins2017-01-041-22/+121
|\ \ \ | |/ / |/| |
| * | Beef up floating IP functional testsDean Troyer2016-12-301-22/+121
| |/ | | | | | | | | | | | | | | | | | | We need to get more thorough in our functional testing, so start by adding tests for create options. This also removes the parts of the setupClass() and teardownClass() methods that do not pertain to the static prereqs for testing. Change-Id: I0a090a8abc41613d8970343d1b67d101b4c82c65
* | Revert "WIP: Skip broken functional tests..."Dean Troyer2016-12-296-20/+0
|/ | | | | | | | | SDK 0.9.11 caused some failures, its blocked now. Revert those breakages that occurred in 0.9.10 -> 0.9.11. This partially reverts commit 188e32f9e642fc5eaaec83d5c231aa890354671a. Change-Id: I8b350250dbdcbf5c4599dfb55f6685c0db18bb30
* WIP: Skip broken functional tests...Dean Troyer2016-12-239-0/+28
| | | | | | | | | ...so we don't have to fix them all in one review. Do not merge this until https://review.openstack.org/#/c/414649 is merged and funtional tests pass. Change-Id: I4f187111d3e4d8c4a613c20a946d6b5d3562e879
* Add support for QoS rule type commandsRodolfo Alonso Hernandez2016-12-221-0/+29
| | | | | | | | | Added following commands: - network qos rule type list Closes-Bug: 1612194 Depends-On: Iecf7bc7acd244a842aae963993f37a64a26b43b9 Change-Id: I38af823c726ceaba9d0b45488fa48e2d93971c92
* Add --default option to "volume type list"jiahui.qiang2016-12-061-0/+5
| | | | | | | | | Add "--default" option to volume v2's "type list" command, it will show which volume type the volume service has set as default. Implements: bp cinder-command-support Change-Id: Iae7ebc633ebe5554cc88390a84361887ec211fb2
* Merge "Refactor "snapshot" commands"Jenkins2016-12-033-34/+40
|\
| * Refactor "snapshot" commandsHuanxuan Ao2016-11-033-34/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge "Add network service provider list to OSC"Jenkins2016-11-291-0/+26
|\ \ | |/ |/|
| * Add network service provider list to OSCAnkur Gupta2016-11-281-0/+26
| | | | | | | | | | | | | | Add network service providers commands to OSC Change-Id: Iea8bbe460061d67e36a4346b349e07612112c732 Depends-On: Ie0be92e0717b8b13e31068276a12b5fbf784e374
* | Rename variable to avoid shadowing of built-in nameKyrylo Romanenko2016-10-181-2/+2
| | | | | | | | Change-Id: I06e2617db1d5508723bc343072a15586af89b390
* | Add network support for Network QoS policiesRodolfo Alonso Hernandez2016-10-111-0/+55
|/ | | | | | | | | | | | | | 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
* Remove beta label for network segment resourceRichard Theis2016-09-281-13/+6
| | | | | | | | With Ocata development opened, neutron network segments are no longer beta resources. Change-Id: I25be51c30df17c746136471b88840f64a03187b9 Partially-Implements: blueprint routed-networks
* Add functional test for snapshot in volume v1Huanxuan Ao2016-09-252-3/+92
| | | | | | | Add functional test for snapshot commands in volume v1. Tests can always help to find or avoid bugs. Change-Id: Ieb0ab9c763d381a6343b4c4a8a5874f3e682f24f
* Use assertGreater replace assertTruezheng yin2016-09-231-1/+1
| | | | | | we can use assertGreater(a,b) to replace assertTrue(a>b) Change-Id: Idd92a99bf5fd25785a47645d46bcfcad23ed870a
* Merge "Implement "volume transfer request show/accept" command"Jenkins2016-09-222-0/+76
|\
| * Implement "volume transfer request show/accept" commandHuanxuan Ao2016-09-222-0/+76
| | | | | | | | | | | | | | | | | | | | | | | | Add "volume transfer request show" and "volume transfer accept" commands in volume v1 and v2. Also add the unit tests, docs, release note and functional tests Implements: bp cinder-command-support Co-Authored-By: Sheel Rana <ranasheel2000@gmail.com> Change-Id: I5787fc486b3401307125caa316f517b9c96a95a5