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 --- .../testspecification/tempest_compute/index.rst | 132 +++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 docs/testing/user/testspecification/tempest_compute/index.rst (limited to 'docs/testing/user/testspecification/tempest_compute/index.rst') diff --git a/docs/testing/user/testspecification/tempest_compute/index.rst b/docs/testing/user/testspecification/tempest_compute/index.rst new file mode 100644 index 00000000..18a0019a --- /dev/null +++ b/docs/testing/user/testspecification/tempest_compute/index.rst @@ -0,0 +1,132 @@ +.. This work is licensed under a Creative Commons Attribution 4.0 International License. +.. http://creativecommons.org/licenses/by/4.0 +.. (c) Ericsson AB + +=========================================== +Tempest Compute test specification +=========================================== + + +Scope +===== + +The Tempest Compute test area evaluates the ability of the System Under Test (SUT) +to support dynamic network runtime operations through the life of a VNF. +The tests in this test area will evaluate IPv4 network runtime operations +functionality. + +These runtime operations includes: + +- Create, list and show flavors +- Create and list security group rules +- Create, delete and list security groups +- Create, delete, show and list interfaces; attach and deattach ports to servers +- List server addresses +- Individual version endpoints info works +- Servers Test Boot From Volume + + +References +========== + +`Security Groups: `_ + +- create security group +- delete security group + +`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 + +`Servers: `_ + +- create keypair +- create server +- delete server +- add/assign floating IP +- disassociate floating IP + +`Ports: `_ + +- create port +- update port +- delete port + +`Floating IPs: `_ + +- create floating IP +- delete floating IP + + +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.compute of +OVP test suite. + + +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: + + + +- `Flavor V2 test `_ + - tempest.api.compute.flavors.test_flavors.FlavorsV2TestJSON.test_get_flavor + - tempest.api.compute.flavors.test_flavors.FlavorsV2TestJSON.test_list_flavors + +- `Security Group Rules test `_ + - tempest.api.compute.security_groups.test_security_group_rules.SecurityGroupRulesTestJSON.test_security_group_rules_create + - tempest.api.compute.security_groups.test_security_group_rules.SecurityGroupRulesTestJSON.test_security_group_rules_list + +- `Security Groups test `_ + - tempest.api.compute.security_groups.test_security_groups.SecurityGroupsTestJSON.test_security_groups_create_list_delete + +- `Attach Interfaces test `_ + - tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestJSON.test_add_remove_fixed_ip + + +- `Server Addresses test `_ + - tempest.api.compute.servers.test_server_addresses.ServerAddressesTestJSON.test_list_server_addresses + - tempest.api.compute.servers.test_server_addresses.ServerAddressesTestJSON.test_list_server_addresses_by_network + + +- `Test Versions `_ + - tempest.api.compute.test_versions.TestVersions.test_get_version_details + + +- `Servers Test Boot From Volume `_ + - tempest.api.compute.servers.test_create_server.ServersTestBootFromVolume.test_verify_server_details + - tempest.api.compute.servers.test_create_server.ServersTestBootFromVolume.test_list_servers + + +- `Server Basic Operations test `_ + - tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops -- cgit 1.2.3-korg