cleaning up system variables
[integration/test.git] / csit / suites / groupbasedpolicy / Clustering_Datastore / 020_simple_clustering.robot
index 638b102a65da5d31375a1ba035bc2c0c00bb66b0..d5cabe115136c5b578c9f162a15e525357d6f214 100644 (file)
@@ -17,7 +17,7 @@ Init Variables
 
 Add Tenant to one node
     [Documentation]    Add one Tenant from JSON file
-    Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
+    Create Session    session    http://${ODL_SYSTEM_1_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
     ${jsonbody}    Read JSON From File    ${GBP_TENANT1_FILE}
     Add Elements To URI From File    ${GBP_TENANT1_API}    ${GBP_TENANT1_FILE}    headers=${HEADERS_YANG_JSON}
     ${resp}    RequestsLibrary.Get Request    session    ${GBP_TENANT1_API}
@@ -26,7 +26,7 @@ Add Tenant to one node
     Lists Should be Equal    ${result}    ${jsonbody}
 
 Read Tenant from other node
-    Create Session    session    http://${CONTROLLER1}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
+    Create Session    session    http://${ODL_SYSTEM_2_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
     ${jsonbody}    Read JSON From File    ${GBP_TENANT1_FILE}
     ${resp}    RequestsLibrary.Get Request    session    ${GBP_TENANT1_API}
     Should Be Equal As Strings    ${resp.status_code}    200