8.1.5. Tempest Compute test specification

8.1.5.1. 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

8.1.5.2. 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

8.1.5.3. System Under Test (SUT)

The system under test is assumed to be the NFVi and VIM in operation on a Pharos compliant infrastructure.

8.1.5.4. 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 functest.tempest.compute of OVP test suite.

8.1.5.5. 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.AttachInterfacesUnderV243Test.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