Disable Tunnel Validation for SFC Jobs
[integration/test.git] / 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