summaryrefslogtreecommitdiff
path: root/tempest/api/network/base_security_groups.py
Commit message (Collapse)AuthorAgeFilesLines
* Handle properly 404 responses from NeutronSlawek Kaplonski2019-04-261-1/+3
| | | | | | | | | | In cleanUp methods there is no need to fail test if Neutron returns 404 for DELETE request. This commit adds test_utils.call_and_ignore_notfound_exc helper function to be used in cleanup of Neutron resources. Change-Id: I2c394d3219e16f653343d7043d36f55048f211dd Closes-Bug: #1824018
* Use tempest.lib data_utils - networkKen'ichi Ohmichi2017-03-131-1/+1
| | | | | | | | | | Tempest has duplicated modules of data_utils, one is tempest.lib and the other is tempest.common. The difference is tempest.common module refers to the config option resources_prefix. And the option is marked as deprecated already. So it is nice to replace the calls with tempest.lib one. Change-Id: I6d8d9fcea9f31a4ce6b3c893383fce12f4d17c18
* Split out Neutron security group rules clientJohn Warren2016-01-141-2/+3
| | | | | | | | Splitting out a security group rules client for Neutron. Partially implements blueprint consistent-service-method-names # Change-Id: I2cd6bef13a16672bf0dbf6aeab0c60f0221e1a49
* Split out Neutron security groups clientJohn Warren2015-12-211-3/+4
| | | | | | | | Splitting out a security groups client for Neutron. Partially implements blueprint consistent-service-method-names Change-Id: I88a43f44346671de5dfb759d07c4086cffa8d4d9
* Use the prefix-embedded rand_name methodFei Long Wang2015-07-061-2/+1
| | | | | | | | A version of data_utils.rand_name in tempest_lib was created in tempest to include a prefix specified in the conf file. This commit changes the data_utils imports to use the new one in tempest. Change-Id: Ie3fb5c3ac9afe365bf24e40b00be88d66da7c507
* Split resource_setup for network testsRohan Kanade2015-03-271-4/+0
| | | | | | | | | Split up the resource_setup method for all the network tests, as per the latest spec. Partially-implements bp:resource-cleanup Change-Id: If96a154cfe65dd3d18ff6b1e1943ccfb1db7300e
* Remove migrated utils codeMatthew Treinish2015-03-061-1/+2
| | | | | | | This commit removes all the utils code which has been migrated to tempest-lib and updates the uses of it to point to the library instead. Change-Id: I9207641aa91c0ea7feb8e067316fc220880c3a3b
* Change neutron client methods to return one value and update testsDavid Kranz2014-12-181-3/+3
| | | | | | | | | | | | | Also removed redundant ok checks in javelin.py and put in a work-around for the existing assumption that all client 'list_' methods have the same signature. It was necessary to change the mocked network calls in the unit tests. Since the mocked status is never referenced, it was just removed. Partially implements: blueprint clients-return-one-value Change-Id: I76de07e984f13e3eec4977a4d823d1ef367e8f46
* Migrate network API tests to resource_* fixturesAndrea Frittoli2014-09-181-2/+2
| | | | | | Partially-implements bp resource-cleanup Change-Id: I455c372f7356343f4398f69255c6150c3521b953
* Move API response success check to Neutron clientRohan Kanade2014-08-261-10/+5
| | | | | | | | | * Move all API response success validation from Neutron API tests to Neutron base/json/xml clients Partially Implements blueprint: client-checks-success Change-Id: I784e9b610f64564861e94d20c6200d1e6915e7f7
* Removal of methods from json/xml network_client filesnayna-patel2014-02-251-1/+1
| | | | | | | | Remove create_security_group, create_security_group_rule from "json/network_client.py" and "xml/network_client.py" and instead use "_creater"/"_updater" from "network_client_base.py" Change-Id: I2f0b16ea832fe0704869a9d778a8d3ed518090cc
* Remove vim headersMasayuki Igawa2014-01-201-2/+0
| | | | | | | | | | | | We don't need to have the vim headers in each source files. We can set it in our vimrc file instead. Also if set incorrectly, gate (pep8 check) will catch the mistakes. More discussions: http://lists.openstack.org/pipermail/openstack-dev/2013-October/017353.html Change-Id: I43703e2289212389c7841f44691ae7849ed1f505 Closes-Bug: #1229324
* edit inheritence tree api/network/security_groupsYair Fried2013-10-291-0/+60
changed negative tests from "smoke" to "gate" avoid running "father's" test cases in son both positive and negative now derive from common TestCase without "test_" methods previous: BaseNetworkTest SecGroupTest NegativeSecGroupTest new tree: BaseNetworkTest BaseSecGroupTest SecGroupTest NegativeSecGroupTest Change-Id: Ia438b9d0c591c1c250443f6b6d069d41b6d71097