X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fhow-to-use%2FIntegrationTests.rst;h=23b3e5c45c8fc2fc42b34f09b7a6d0d2e8098314;hb=95e5df0e17e947901b6360323006636d17312aa8;hp=c376f8c3deaee261e8c2ec2ebae63f543d432505;hpb=1b60980ee6b101261fb2115e417c4cf97cf29736;p=snaps.git diff --git a/docs/how-to-use/IntegrationTests.rst b/docs/how-to-use/IntegrationTests.rst index c376f8c..23b3e5c 100644 --- a/docs/how-to-use/IntegrationTests.rst +++ b/docs/how-to-use/IntegrationTests.rst @@ -196,6 +196,25 @@ create_network_tests.py - CreateNetworkSuccessTests | | | 'admin' project ID | +---------------------------------------+---------------+-----------------------------------------------------------+ +create_network_tests.py - CreateNetworkGatewayTests +--------------------------------------------------- + ++---------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Neutron API | Description | ++=======================================+===============+===========================================================+ +| test_create_subnet_default_gateway_ip | 2 | Ensures that a network can be created with a Subnet that | +| | | has the gateway_ip automatically assigned | ++---------------------------------------+---------------+-----------------------------------------------------------+ +| test_create_subnet_valid_gateway_ip | 2 | Ensures that a network can be created with a Subnet that | +| | | has the gateway_ip statically assigned with a valid IP | ++---------------------------------------+---------------+-----------------------------------------------------------+ +| test_create_subnet_no_gateway | 2 | Ensures that a network can be created where no gateway_ip | +| | | is assigned | ++---------------------------------------+---------------+-----------------------------------------------------------+ +| test_create_subnet_invalid_gateway_ip | 2 | Ensures that a network cannot be created with a Subnet | +| | | has an invalid gateway_ip value such as 'foo' | ++---------------------------------------+---------------+-----------------------------------------------------------+ + create_network_tests.py - CreateNetworkIPv6Tests ------------------------------------------------ @@ -208,6 +227,21 @@ create_network_tests.py - CreateNetworkIPv6Tests | | | IPv6 subnet | +---------------------------------------+---------------+-----------------------------------------------------------+ +create_network_tests.py - CreateMultipleNetworkTests +---------------------------------------------------- + ++---------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Neutron API | Description | ++=======================================+===============+===========================================================+ +| test_network_same_name_diff_proj | 2 | Ensures that a network with the same name can be created | +| | | against different projects | ++---------------------------------------+---------------+-----------------------------------------------------------+ +| test_network_create_by_admin_to | 2 | Ensures that a network can be created by the admin user | +| _different_project | | to another project and that a creator with the credentials| +| | | to the other project will not create a new network with | +| | | the same name | ++---------------------------------------+---------------+-----------------------------------------------------------+ + create_router_tests.py - CreateRouterSuccessTests ------------------------------------------------- @@ -251,6 +285,35 @@ create_router_tests.py - CreateRouterNegativeTests | test_create_router_invalid_gateway_name| 2 | Ensures that an exception is raised when attempting to | | | | create a router to an external network that does not exist| +----------------------------------------+---------------+-----------------------------------------------------------+ +| test_create_router_admin_ports | 2 | Ensures that an exception is raised when attempting to | +| | | create a router with ports to networks owned by another | +| | | project | ++----------------------------------------+---------------+-----------------------------------------------------------+ + +create_router_tests.py - CreateMultipleRouterTests +-------------------------------------------------- + ++---------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Neutron API | Description | ++=======================================+===============+===========================================================+ +| test_router_same_name_diff_proj | 2 | Ensures that a router with the same name can be created | +| | | against different projects | ++---------------------------------------+---------------+-----------------------------------------------------------+ +| test_router_create_by_admin_to | 2 | Ensures that a router can be created by the admin user | +| _different_project | | to another project and that a creator with the credentials| +| | | to the other project will not create a new router with | +| | | the same name | ++---------------------------------------+---------------+-----------------------------------------------------------+ + +create_router_tests.py - CreateRouterSecurityGroupTests +------------------------------------------------------- + ++---------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Neutron API | Description | ++=======================================+===============+===========================================================+ +| test_create_router_secure_port | 2 | Ensures that a router's port can have a security group | +| | | applied to it | ++---------------------------------------+---------------+-----------------------------------------------------------+ create_qos_tests.py - CreateQoSTests ------------------------------------ @@ -379,6 +442,25 @@ create_volume_tests.py - CreateVolumeWithImageTests | | | volume when associating with a valid image | +----------------------------------------+---------------+-----------------------------------------------------------+ +create_volume_tests.py - CreateVolMultipleCredsTests +---------------------------------------------------- + ++----------------------------------------+---------------+-----------------------------------------------------------+ +| Test Name | Cinder API | Description | ++========================================+===============+===========================================================+ +| test_create_by_admin_to_other_proj | 2 & 3 | Tests to ensure the creation of a Volume as a user with | +| | | an 'admin' role can create a volume to another project | +| | | and a creator with the credentails to that project will | +| | | not create another with the same name | +| | | Currently inactive due to | +| | | https://bugs.launchpad.net/cinder/+bug/1641982 | ++----------------------------------------+---------------+-----------------------------------------------------------+ +| test_create_two_vol_same_name_diff_proj| 2 & 3 | Tests to ensure the creation of a Volume with the same | +| | | name by two different creators with different credentials | +| | | will create two different volumes with the same name | +| | | that are applied to each project in question | ++----------------------------------------+---------------+-----------------------------------------------------------+ + create_stack_tests.py - CreateStackSuccessTests ----------------------------------------------- @@ -429,6 +511,12 @@ create_stack_tests.py - CreateStackFloatingIpTests | | | VM with a floating IP that can be accessed via | | | | OpenStackVmInstance | +---------------------------------------+---------------+-----------------------------------------------------------+ +| test_connect_via_ssh_heat_vm_derived | 1 | Ensures that an OpenStackHeatStack instance can create a | +| | | VM with a floating IP where a generated initialized | +| | | OpenStackHeatStack can return an initialized | +| | | OpenStackVmInstance object that will be used to access the| +| | | VM via SSH | ++---------------------------------------+---------------+-----------------------------------------------------------+ create_stack_tests.py - CreateStackNestedResourceTests ------------------------------------------------------ @@ -527,7 +615,11 @@ create_instance_tests.py - CreateInstanceSimpleTests | Test Name | API Versions | Description | +=======================================+===============+===========================================================+ | test_create_delete_instance | Nova 2 | Ensures that the OpenStackVmInstance.clean() method | -| | Neutron 2 | deletes the instance | +| | Neutron 2 | deletes the instance as well as ensuring the VmInst | +| | | availability_zone is populated and compute_host is None | ++---------------------------------------+---------------+-----------------------------------------------------------+ +| test_create_admin_instance | Nova 2 | Ensures that the VmInst object members availability_zone | +| | Neutron 2 | and compute_host return a value | +---------------------------------------+---------------+-----------------------------------------------------------+ create_instance_tests.py - SimpleHealthCheck