*** Settings ***
Documentation Test suite to verify CRUD operations using RPCs
-Suite Setup Create Session And Set External Variables
+Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
Suite Teardown Delete All Sessions
Library Collections
Library OperatingSystem
Resource ../../../libraries/Utils.robot
*** Variables ***
-${IPV4_C_KEY} ${CURDIR}/../../../variables/lispflowmapping/${ODL_VERSION}/rpc_add-key_ipv4.json
-${IPV4_RD} ${CURDIR}/../../../variables/lispflowmapping/${ODL_VERSION}/rpc_get-remove_ipv4.json
-${MISS_RD} ${CURDIR}/../../../variables/lispflowmapping/${ODL_VERSION}/rpc_get-remove_missing.json
-${IPV4_U_KEY} ${CURDIR}/../../../variables/lispflowmapping/${ODL_VERSION}/rpc_update-key_ipv4.json
-${IPV4_C_MAP} ${CURDIR}/../../../variables/lispflowmapping/${ODL_VERSION}/rpc_add-mapping_ipv4_ipv4.json
-${IPV4_U_MAP} ${CURDIR}/../../../variables/lispflowmapping/${ODL_VERSION}/rpc_update-mapping_ipv4_ipv4.json
+${IPV4_C_KEY} ${JSON_DIR}/rpc_add-key_ipv4.json
+${IPV4_RD} ${JSON_DIR}/rpc_get-remove_ipv4.json
+${MISS_RD} ${JSON_DIR}/rpc_get-remove_missing.json
+${IPV4_U_KEY} ${JSON_DIR}/rpc_update-key_ipv4.json
+${IPV4_C_MAP} ${JSON_DIR}/rpc_add-mapping_ipv4_ipv4.json
+${IPV4_U_MAP} ${JSON_DIR}/rpc_update-mapping_ipv4_ipv4.json
*** Test Cases ***
Create Key