Improve OF13 test - 2nd try
[integration.git] / test / csit / suites / base-of13 / 005__restconf_inventory.txt
index 09232afd59d5a615ec2d05e2793640e01c3f47e1..0ecdaea6bd5745a37a540a3f2f58946a4f116e92 100644 (file)
@@ -19,13 +19,28 @@ Get list of nodes
        Should Contain     ${resp.content}      openflow:2
        Should Contain     ${resp.content}      openflow:3
        
-Get nodeconnector for a node
+Get nodeconnector for a node 1
     [Documentation]    Get the inventory for a node
-       ${resp}    Get    session    ${REST_CONTEXT}/node/openflow:2
+        ${resp}    Get    session    ${REST_CONTEXT}/node/openflow:1
+        Should Be Equal As Strings   ${resp.status_code}    200
+        Should Contain     ${resp.content}      openflow:1:1
+        Should Contain     ${resp.content}      openflow:1:2
+
+Get nodeconnector for a node 2
+    [Documentation]    Get the inventory for a node
+        ${resp}    Get    session    ${REST_CONTEXT}/node/openflow:2
+        Should Be Equal As Strings   ${resp.status_code}    200
+        Should Contain     ${resp.content}      openflow:2:1
+        Should Contain     ${resp.content}      openflow:2:2
+        Should Contain     ${resp.content}      openflow:2:3
+
+Get nodeconnector for a node 3
+    [Documentation]    Get the inventory for a node
+       ${resp}    Get    session    ${REST_CONTEXT}/node/openflow:3
        Should Be Equal As Strings   ${resp.status_code}    200
-       Should Contain     ${resp.content}      openflow:2:1
-       Should Contain     ${resp.content}      openflow:2:2
-       Should Contain     ${resp.content}      openflow:2:3
+       Should Contain     ${resp.content}      openflow:3:1
+       Should Contain     ${resp.content}      openflow:3:2
+       Should Contain     ${resp.content}      openflow:3:3