Add check for link down in basic OF test
[integration/test.git] / csit / suites / openflowplugin / MD_SAL_NSF_OF13 / 010__restconf_inventory.robot
index ffabd291d650d2a3b374cba6a47606c15c9f3e62..7af93846244a6bcea5fd544f8ab1f95194441615 100644 (file)
@@ -22,8 +22,10 @@ Get list of nodes
     Set Suite Variable    ${SW_HARDWARE}    "flow-node-inventory:manufacturer":"${HARDWARE}"
     Set Suite Variable    @{SW_CAPABILITIES}    "flow-node-inventory:flow-feature-capability-flow-stats"    "flow-node-inventory:flow-feature-capability-table-stats"    "flow-node-inventory:flow-feature-capability-port-stats"    "flow-node-inventory:flow-feature-capability-queue-stats"
     Wait Until Keyword Succeeds    30s    2s    Ensure All Nodes Are In Response    ${REST_CONTEXT}    ${node_list}
-    ${resp}    RequestsLibrary.Get Request    session    ${REST_CONTEXT}
-    Log    ${resp.content}
+
+Check No Link Down
+    [Documentation]    Check there is no link down
+    Wait Until Keyword Succeeds    30s    2s    Check For Specific Number Of Elements At URI    ${REST_CONTEXT}    "link-down":false    11
 
 Get node 1 inventory
     [Documentation]    Get the inventory for a node