Use suite teardown resource cleanup
[integration/test.git] / csit / suites / openstack / connectivity / external_network.robot
index d911158ae7aefcd57a757b4f56023a3b131a5dc5..4e140edfac1478d23949553c43f8ce6d433de030 100644 (file)
@@ -233,41 +233,3 @@ Ping External Network PNF from Vm Instance 2 After Floating IP Removal
     ${expect_ping_to_work} =    Set Variable If    "skip_if_controller" in @{TEST_TAGS}    False    True
     ${dst_ip} =    BuiltIn.Create List    ${EXTERNAL_PNF}
     OpenStackOperations.Test Operations From Vm Instance    @{NETWORKS}[0]    @{NET1_FIP_VM_IPS}[1]    ${dst_ip}    ttl=1    ping_should_succeed=${expect_ping_to_work}
-
-Delete Vm Instances
-    [Documentation]    Delete Vm instances using instance names.
-    : FOR    ${vm}    IN    @{NET1_FIP_VMS}
-    \    OpenStackOperations.Delete Vm Instance    ${vm}
-    : FOR    ${vm}    IN    @{SNAT_VMS}
-    \    OpenStackOperations.Delete Vm Instance    ${vm}
-
-Delete Router Interfaces
-    [Documentation]    Remove Interface to the subnets.
-    : FOR    ${router}    ${interface}    IN ZIP    ${ROUTERS}    ${SUBNETS}
-    \    OpenStackOperations.Remove Interface    ${router}    ${interface}
-
-Delete Routers
-    [Documentation]    Delete Router and Interface to the subnets.
-    : FOR    ${router}    IN    @{ROUTERS}
-    \    OpenStackOperations.Delete Router    ${router}
-
-Verify Deleted Router
-    [Documentation]    Check deleted router using northbound rest call
-    ${data}    Utils.Get Data From URI    1    ${NEUTRON_ROUTERS_API}
-    BuiltIn.Log    ${data}
-    : FOR    ${router}    IN    @{ROUTERS}
-    \    BuiltIn.Should Not Contain    ${data}    ${ROUTER}
-
-Delete Networks
-    [Documentation]    Delete Networks with neutron request.
-    : FOR    ${network}    IN    @{NETWORKS}
-    \    OpenStackOperations.Delete Network    ${network}
-    OpenStackOperations.Delete Network    ${EXTERNAL_NET_NAME}
-
-Delete Security Group
-    [Documentation]    Delete security groups with neutron request
-    OpenStackOperations.Delete SecurityGroup    ${SECURITY_GROUP}
-
-Verify Flows Cleanup
-    [Documentation]    Verify that flows have been cleaned up properly after removing all neutron configurations
-    DataModels.Verify Flows Are Cleaned Up On All OpenStack Nodes