From e7ec2703fcc6bd37ae4506b2e188727dba88ea72 Mon Sep 17 00:00:00 2001 From: "dimitris.tsiolakis" Date: Tue, 7 Aug 2018 14:59:06 +0300 Subject: Test case descriptions for Tempest smoke tests Adding a high-level description of the Tempest smoke tests. As agreed on the last Dovetail call, we are aiming for a relatively low level of detail and instead point to available documentation. As the tests themselves are quite simple of read, this is the best, most concise, and up-to-date version of documentation we can find. JIRA: DOVETAIL-599 Change-Id: I985592c55fd415e254e70db6c6480c7bf3670a29 Signed-off-by: dimitris.tsiolakis --- .../tempest_network_api/index.rst | 130 +++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 docs/testing/user/testspecification/tempest_network_api/index.rst (limited to 'docs/testing/user/testspecification/tempest_network_api/index.rst') diff --git a/docs/testing/user/testspecification/tempest_network_api/index.rst b/docs/testing/user/testspecification/tempest_network_api/index.rst new file mode 100644 index 00000000..ccbe8e0a --- /dev/null +++ b/docs/testing/user/testspecification/tempest_network_api/index.rst @@ -0,0 +1,130 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Ericsson AB + +=========================================== +Tempest Network API test specification +=========================================== + + +Scope +===== + +The Tempest Network API test area tests the basic operations of the System Under +Test (SUT) through the life of a VNF. +The tests in this test area will evaluate IPv4 network runtime operations +functionality. + +These runtime operations may include that create, list, verify or delete: + +- Floating IP +- Network +- Subnet +- Port +- External Network Visibility +- Router +- Subnetpools +- API Version Resources + +References +========== + +`Networks: `_ + +- create network +- delete network + +`Routers and interface: `_ + +- create router +- update router +- delete router +- add interface to router + +`Subnets: `_ + +- create subnet +- update subnet +- delete subnet + +`Subnetpools: `_ + +- create subnetpool +- update subnetpool +- delete subnetpool + +`Ports: `_ + +- create port +- update port +- delete port + +`Floating IPs: `_ + +- create floating IP +- delete floating IP + +`Api Versions `_ + +- list version +- show version + +System Under Test (SUT) +======================= + +The system under test is assumed to be the NFVi and VIM in operation on a +Pharos compliant infrastructure. + +Test Area Structure +=================== + +The test area is structured in individual tests as listed below. +For detailed information on the individual steps and assertions performed +by the tests, review the Python source code accessible via the following links: + +All these test cases are included in the test case dovetail.tempest.network of +OVP test suite. + + +`List, Show and Verify the Details of the Available Extensions `_ + - tempest.api.network.test_extensions.ExtensionsTestJSON.test_list_show_extensions + +`Floating IP tests `_ + - Create a Floating IP + - Update a Floating IP + - Delete a Floating IP + - List all Floating IPs + - Show Floating IP Details + - Associate a Floating IP with a Port and then Delete that Port + - Associate a Floating IP with a Port and then with a Port on Another Router + +- tempest.api.network.test_floating_ips.FloatingIPTestJSON.test_create_floating_ip_specifying_a_fixed_ip_address +- tempest.api.network.test_floating_ips.FloatingIPTestJSON.test_create_list_show_update_delete_floating_ip + +`Network tests `_ + - Bulk Network Creation & Deletion + - Bulk Subnet Create & Deletion + - Bulk Port Creation & Deletion + - List Project's Networks + +- tempest.api.network.test_networks.BulkNetworkOpsTest.test_bulk_create_delete_network +- tempest.api.network.test_networks.BulkNetworkOpsTest.test_bulk_create_delete_port +- tempest.api.network.test_networks.BulkNetworkOpsTest.test_bulk_create_delete_subnet + +`External Network Visibility test `_ + - tempest.api.network.test_networks.NetworksTest.test_external_network_visibility + +`Create Port with No Security Groups test `_ + - tempest.api.network.test_ports.PortsTestJSON.test_create_port_with_no_securitygroups + +`Router test `_ + - tempest.api.network.test_routers.RoutersTest.test_add_multiple_router_interfaces + - tempest.api.network.test_routers.RoutersTest.test_add_remove_router_interface_with_port_id + - tempest.api.network.test_routers.RoutersTest.test_add_remove_router_interface_with_subnet_id + - tempest.api.network.test_routers.RoutersTest.test_create_show_list_update_delete_router + +`Create, List, Show, Update and Delete Subnetpools `_ + - tempest.api.network.test_subnetpools_extensions.SubnetPoolsTestJSON.test_create_list_show_update_delete_subnetpools + +`API Version Resources test `_ + - tempest.api.network.test_versions.NetworksApiDiscovery.test_api_version_resources \ No newline at end of file -- cgit 1.2.3-korg