summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/network
Commit message (Collapse)AuthorAgeFilesLines
* 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 "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
* | | 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
* | 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
* | 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 "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
* | | 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
* | | Rework port functional tests on json output formatRui Chen2017-02-211-116/+76
| |/ |/| | | | | | | | | | | | | | | | | 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
* | Functional test for routerjiahui.qiang2017-01-191-29/+206
|/ | | | | | Refactor functional tests for testing more command options. Change-Id: I6200045c6228e245fc48a4d48d4b3796dede61b5
* Add relnotes for the two recent bug fixes3.8.1Dean Troyer2017-01-281-0/+72
| | | | | | Also add a functional test for network create --project Change-Id: Idbfdf82f1ea6c84fb6a51df88e746e5ddb896b4f
* Fix address scope list --shareDean Troyer2017-01-271-58/+77
| | | | | | | | | Remove the 'shared' key from the attrs passed in to the SDK with 0.9.13. Also convert the functional tests to the JSON-style (that's how I found this). Closes-bug: 1659993 Change-Id: I614fbce967cdd07fe7360242547dbf52e7677939
* 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