summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/network
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add meter rule to OSC"Jenkins2017-01-261-0/+108
|\
| * Add meter rule to OSCAnkur Gupta2017-01-231-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | Implement network feature meter label rules into OpenStack Client. Allows for creation of rules to meter network traffic. Partially Implements: blueprint neutron-client-metering Change-Id: If18c078d7e80c122583417669f820f02c84d6237
* | Merge "Functional tests - port"Jenkins2017-01-241-23/+141
|\ \ | |/ |/|
| * Functional tests - portDean Troyer2017-01-051-23/+141
| | | | | | | | | | | | | | | | * Rework functional tests to remove resource create/delete from setupClass() and teardownClass() methods. * Add tests for more command options Change-Id: Ic77df94fe5980e60c6a67cbf061b9a9dc601518f
* | Fix functional test for creating subnetHuanxuan Ao2017-01-181-13/+26
| | | | | | | | | | | | | | | | subnet create failed by some bad random subnet range, so retry it with new random range when the test failed. Change-Id: If528ff419b51dd5c5232f81d4b26abae542bd820
* | 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 "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-111-0/+181
|\ \
| * | Add support for Network QoS rule commandsRodolfo Alonso Hernandez2017-01-091-0/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | 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 "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
* | | skip tests related to SDK 0912 and keystone IdP changeSteve Martinelli2017-01-076-0/+23
| | | | | | | | | | | | | | | | | | | | | 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-295-14/+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-238-0/+22
| | | | | | | | | ...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
* 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
* | 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 network segment create, delete and set supportRichard Theis2016-09-091-20/+64
| | | | | | | | | | | | | | | | | Add network segment create, delete and set in support of routed networks. This patch set includes documentation, unit tests and functional tests for the following new commands: - "os network segment create" - "os network segment delete" - "os network segment set" This patch set also includes support for the name and description properties. These new commands are currently marked as beta commands. Change-Id: I86bc223c4adc5b5fe1b1ee5c9253e43ba52fb5ed Depends-On: Ib194125162057fccb4e951587c2fa4ec2e2f098c Partially-Implements: blueprint routed-networks
* move all functional tests to tests moduleSteve Martinelli2016-09-0915-0/+736
functional tests should be grouped with other tests (unit and integration tests). as part of this commit the "common" module was renamed to just "base", this was done for simplicity. the post_test_hook.sh file was also copied to the functional module since it should live there. a separate change to the infra repo will be made to call the new location, once that is merged we can remove the old one (a new change will also be posted for that) Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3 Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede