[Arguments] ${current_name} ${log_response}=True
[Documentation] Opration for getting the configuration data of the device and checking that it matches what is expected.
KarafKeywords.Log_Message_To_Controller_Karaf Getting data from device ${current_name}
- ${data}= Utils.Get_Data_From_URI config network-topology:network-topology/topology/topology-netconf/node/${current_name}/yang-ext:mount headers=${ACCEPT_XML}
+ ${data}= Utils.Get_Data_From_URI config network-topology:network-topology/topology=topology-netconf/node=${current_name}/yang-ext:mount?content=config headers=${ACCEPT_XML}
KarafKeywords.Log_Message_To_Controller_Karaf Got data from device ${current_name}
${expected}= Run Keyword If '${IS_KARAF_APPL}' == 'True' BuiltIn.Set_Variable '<data xmlns="${ODL_NETCONF_NAMESPACE}"></data>'
... ELSE Set Variable '<data xmlns="${ODL_NETCONF_NAMESPACE}"/>'