summaryrefslogtreecommitdiffstats
path: root/docs/testing/user/testspecification/tempest_compute/index.rst
blob: bd1cace0bb12ec2388ad11d11170527fe4a444f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
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://docs.openstack.org/api-ref/network/v2/index.html#security-groups-security-groups>`_

- create security group
- delete security group

`Networks: <https://docs.openstack.org/api-ref/network/v2/index.html#networks>`_

- create network
- delete network

`Routers and interface: <https://docs.openstack.org/api-ref/network/v2/index.html#routers-routers>`_

- create router
- update router
- delete router
- add interface to router

`Subnets: <https://docs.openstack.org/api-ref/network/v2/index.html#subnets>`_

- create subnet
- update subnet
- delete subnet

`Servers: <https://docs.openstack.org/api-ref/compute/>`_

- create keypair
- create server
- delete server
- add/assign floating IP
- disassociate floating IP

`Ports: <https://docs.openstack.org/api-ref/network/v2/index.html#ports>`_

- create port
- update port
- delete port

`Floating IPs: <https://docs.openstack.org/api-ref/network/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