summaryrefslogtreecommitdiffstats
path: root/docs/testing/user/testspecification/tempest_compute
diff options
context:
space:
mode:
authordimitris.tsiolakis <dmts@intracom-telecom.com>2018-08-07 14:59:06 +0300
committerdimitris.tsiolakis <dmts@intracom-telecom.com>2018-08-14 11:17:48 +0300
commite7ec2703fcc6bd37ae4506b2e188727dba88ea72 (patch)
tree0dc29853e85ca082599b17954ccc4dc0dcd86b15 /docs/testing/user/testspecification/tempest_compute
parent4be6decb214c6f11f5644a3b2bac587e1fd5efaf (diff)
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 <dmts@intracom-telecom.com>
Diffstat (limited to 'docs/testing/user/testspecification/tempest_compute')
-rw-r--r--docs/testing/user/testspecification/tempest_compute/index.rst132
1 files changed, 132 insertions, 0 deletions
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: <https://developer.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups>`_
+
+- create security group
+- delete security group
+
+`Networks: <https://developer.openstack.org/api-ref/networking/v2/index.html#networks>`_
+
+- create network
+- delete network
+
+`Routers and interface: <https://developer.openstack.org/api-ref/networking/v2/index.html#routers-routers>`_
+
+- create router
+- update router
+- delete router
+- add interface to router
+
+`Subnets: <https://developer.openstack.org/api-ref/networking/v2/index.html#subnets>`_
+
+- create subnet
+- update subnet
+- delete subnet
+
+`Servers: <https://developer.openstack.org/api-ref/compute/>`_
+
+- create keypair
+- create server
+- delete server
+- add/assign floating IP
+- disassociate floating IP
+
+`Ports: <https://developer.openstack.org/api-ref/networking/v2/index.html#ports>`_
+
+- create port
+- update port
+- delete port
+
+`Floating IPs: <https://developer.openstack.org/api-ref/networking/v2/index.html#floating-ips-floatingips>`_
+
+- 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 <https://github.com/openstack/tempest/blob/12.2.0/tempest/api/compute/flavors/test_flavors.py#L20>`_
+ - tempest.api.compute.flavors.test_flavors.FlavorsV2TestJSON.test_get_flavor
+ - tempest.api.compute.flavors.test_flavors.FlavorsV2TestJSON.test_list_flavors
+
+- `Security Group Rules test <https://github.com/openstack/tempest/blob/master/tempest/api/compute/security_groups/test_security_group_rules.py#L20>`_
+ - 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 <https://github.com/openstack/tempest/blob/master/tempest/api/compute/security_groups/test_security_groups.py#L23>`_
+ - tempest.api.compute.security_groups.test_security_groups.SecurityGroupsTestJSON.test_security_groups_create_list_delete
+
+- `Attach Interfaces test <https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_attach_interfaces.py#L32>`_
+ - tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestJSON.test_add_remove_fixed_ip
+
+
+- `Server Addresses test <https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_server_addresses.py#L21>`_
+ - 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 <https://github.com/openstack/tempest/blob/master/tempest/api/compute/test_versions.py#L19>`_
+ - tempest.api.compute.test_versions.TestVersions.test_get_version_details
+
+
+- `Servers Test Boot From Volume <https://github.com/openstack/tempest/blob/master/tempest/api/compute/servers/test_create_server.py#L158>`_
+ - 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 <https://github.com/openstack/tempest/blob/master/tempest/scenario/test_server_basic_ops.py#L30>`_
+ - tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops