Check service function types are present
[integration/test.git] / csit / suites / sfc / Full_Deploy / 016__sfc_symmetric_RSP.robot
index 6a86b97bc272ed8a60297f7dd7f5395e6a2a4c2e..e6ec2e042a2cc6d1692948c448af84996fb0919a 100644 (file)
@@ -70,9 +70,15 @@ Basic Environment Setup
     Add Elements To URI From File    ${SERVICE_NODES_URI}    ${SERVICE_NODES_FILE}
     Add Elements To URI From File    ${SERVICE_FUNCTION_TYPES_URI}    ${SERVICE_FUNCTION_TYPES_FILE}
     Add Elements To URI From File    ${SERVICE_FUNCTIONS_URI}    ${SERVICE_FUNCTIONS_FILE}
+    Wait Until Keyword Succeeds    60s    2s    Check Service Function Types
     Add Elements To URI From File    ${SERVICE_CHAINS_URI}    ${SERVICE_CHAINS_FILE}
     Add Elements To URI From File    ${SERVICE_FUNCTION_PATHS_URI}    ${SERVICE_FUNCTION_PATHS_FILE}
 
+Check Service Function Types
+    [Documentation]    Check that the service function types are updated with the service function names
+    ${elements}=    Create List    "name":"firewall-1"    "name":"dpi-1"    "name":"dpi-2"
+    Check For Elements At URI    ${SERVICE_FUNCTION_TYPES_URI}    ${elements}
+
 End Suite
     Clean Datastore
     Delete All Sessions