Disable Tunnel Validation for SFC Jobs 70/77970/6
authorgvrangan <venkatrangang@hcl.com>
Tue, 20 Nov 2018 09:24:42 +0000 (18:24 +0900)
committerJamo Luhrsen <jluhrsen@redhat.com>
Fri, 23 Nov 2018 21:00:01 +0000 (21:00 +0000)
- SFC uses the flow based tunnels
- odltools needs to be enhanced for
  validating of tunnels
- Until the enhancement is complete, this
  patch blocks the tunnel validation for
  SFC jobs.

Change-Id: Ie9542d6ea878d6ea5e4d5f9a8f120f9ab1d01acf
Signed-off-by: gvrangan <venkatrangang@hcl.com>
csit/libraries/OpenStackOperations.robot

index 6b87944d67e2c39d76f66c4bb1717c6f29b810bd..cfcc7c014f1b81db368b63f7a13d24554f936d95 100644 (file)
@@ -1239,7 +1239,13 @@ Verify Services
     Wait Until Keyword Succeeds    60    2    ClusterManagement.Check Status Of Services Is OPERATIONAL    @{NETVIRT_DIAG_SERVICES}
 
 Verify Expected Default Tunnels
-    [Documentation]    Verify if the default tunnels are created
+    [Documentation]    Verify if the default tunnels are created.
+    ...    SFC jobs currently fail this validation because it uses of-tunnels.
+    ...    This validation will be blocked for NEtvirt SFC jobs until support for of-tunnels
+    ...    added to odltools.
+    ${check_feature_list} =    BuiltIn.Create List    odl-netvirt-sfc
+    ${is_sfc_enabled} =    OpenStackOperations.Is Feature Installed    features=${check_feature_list}
+    BuiltIn.Return From Keyword If    ${is_sfc_enabled} == ${True}    ${True}
     BuiltIn.Return From Keyword If    ${OS_NODE_CNT} == ${1}    ${True}
     ${output} =    ODLTools.Analyze Tunnels    test_name=${SUITE_NAME}.Suite Setup
     BuiltIn.Should Contain    ${output}    All tunnels are up