Switch to using RFC8040 URLs instead of draft.
Change-Id: Iebcbac08ff38f4ec5d421e3840746920c412466d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
*** Variables ***
${CHANGE_COUNTER_TEMPLATE_FOLDER} ${CURDIR}/../variables/bgpuser
*** Variables ***
${CHANGE_COUNTER_TEMPLATE_FOLDER} ${CURDIR}/../variables/bgpuser
-${CC_DATA_CHANGE_COUNTER_URL} /restconf/operational/data-change-counter:data-change-counter
+${CC_DATA_CHANGE_COUNTER_URL} ${REST_API}/data-change-counter:data-change-counter?content=nonconfig
*** Keywords ***
CC_Setup
*** Keywords ***
CC_Setup
# CompareStream.Set_Variable_If_At_Least_Else cannot be used direcly, because ${response.text}["data-change-counter"]["count"] would be
# evaluated before the stream comparison and it causes failures
BuiltIn.Log ${response.text}
# CompareStream.Set_Variable_If_At_Least_Else cannot be used direcly, because ${response.text}["data-change-counter"]["count"] would be
# evaluated before the stream comparison and it causes failures
BuiltIn.Log ${response.text}
- ${count} = BuiltIn.Evaluate json.loads('${response.text}')["data-change-counter"]["counter"][0]["count"] modules=json
+ ${count} = BuiltIn.Evaluate json.loads('${response.text}')["data-change-counter:data-change-counter"]["counter"][0]["count"] modules=json
[Return] ${count}
Reconfigure_Topology_Name
[Return] ${count}
Reconfigure_Topology_Name