Add missing create sg in ha l3 11/65911/4
authorSam Hague <shague@redhat.com>
Sun, 26 Nov 2017 02:48:22 +0000 (21:48 -0500)
committerSam Hague <shague@redhat.com>
Sun, 26 Nov 2017 18:56:59 +0000 (13:56 -0500)
Change-Id: I94771f2d2ee97dd97ee2e12069430b7886f94501
Signed-off-by: Sam Hague <shague@redhat.com>
csit/suites/openstack/clustering/ha_l2.robot
csit/suites/openstack/clustering/ha_l3.robot
csit/suites/openstack/extensions/sfc.robot

index be16cfa6a900db60baaa29bd4012fb954b242b61..848cdd91feb82b0380ab707c5f2f43ab0021ec1f 100644 (file)
@@ -229,6 +229,10 @@ Delete Networks
     : FOR    ${NetworkElement}    IN    @{NETWORKS_NAME}
     \    OpenStackOperations.Delete Network    ${NetworkElement}
 
+Delete Security Group
+    [Documentation]    Delete security groups with neutron request
+    Delete SecurityGroup    ${SECURITY_GROUP}
+
 Verify Flows Cleanup
     [Documentation]    Verify that flows have been cleaned up properly after removing all neutron configurations
     Verify Flows Are Cleaned Up On All OpenStack Nodes
index a6e5deb38630c2982d86c72db92ed1c66859d2b0..529fd0e0bb145b49984e73e27c6cf3c1da3e18ef 100644 (file)
@@ -46,6 +46,10 @@ Create Subnets For l3_net_2
     [Documentation]    Create Sub Nets for the Networks with neutron request.
     OpenStackOperations.Create SubNet    l3_net_2    l3_sub_net_2    @{SUBNETS_RANGE}[1]
 
+Add Ssh Allow Rule
+    [Documentation]    Allow all TCP/UDP/ICMP packets for this suite
+    OpenStackOperations.Create Allow All SecurityGroup    ${SECURITY_GROUP}
+
 Take Down ODL1
     [Documentation]    Kill the karaf in First Controller
     ClusterManagement.Kill Single Member    1
@@ -238,6 +242,10 @@ Delete Networks
     : FOR    ${NetworkElement}    IN    @{NETWORKS_NAME}
     \    OpenStackOperations.Delete Network    ${NetworkElement}
 
+Delete Security Group
+    [Documentation]    Delete security groups with neutron request
+    Delete SecurityGroup    ${SECURITY_GROUP}
+
 Verify Flows Cleanup
     [Documentation]    Verify that flows have been cleaned up properly after removing all neutron configurations
     Verify Flows Are Cleaned Up On All OpenStack Nodes
index d2783e16e4196a0a4f8e7f347c2f73a4c96053fe..1c7c4f3a5820695aa88fa9afa7f192692a6aec21 100644 (file)
@@ -120,3 +120,4 @@ Delete Configurations
     Delete SubNet    l2_subnet_1
     : FOR    ${NetworkElement}    IN    @{NETWORKS_NAME}
     \    Delete Network    ${NetworkElement}
+    Delete SecurityGroup    ${SECURITY_GROUP}