Make ${OS_NODE_CNT} a suite variable
[integration/test.git] / csit / libraries / DevstackUtils.robot
index 044050dd504db4689b8286f9975dc617db0f2a9c..3f5ef5debb01158c257a92985bdf6fe08ce23fe6 100644 (file)
@@ -104,5 +104,6 @@ Get DevStack Nodes Data
     ...    ELSE IF    "${OPENSTACK_TOPO}" == "1cmb-0ctl-1cmp"    DevstackUtils.Set Node Data For Control And Compute Node Setup
     ...    ELSE IF    "${OPENSTACK_TOPO}" == "0cmb-1ctl-2cmp"    DevstackUtils.Set Node Data For Control And Two Compute Node Setup
     ${OS_NODE_CNT} =    BuiltIn.Get Length    ${OS_ALL_IPS}
+    BuiltIn.Set Suite Variable    ${OS_NODE_CNT}
     DevstackUtils.Get DevStack Hostnames
     DevstackUtils.Log Devstack Nodes Data