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}
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