+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
+ TemplatedRequests.Delete_Templated
+ ... ${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${device_type}
+ ... ${template_as_string}
+ ... session=${session}
+ ... location=${location}
+
+Deconfigure_Device
+ [Documentation] Operation for deconfiguring the device.
+ [Arguments] ${current_name} ${log_response}=True
+ KarafKeywords.Log_Message_To_Controller_Karaf Deconfiguring device ${current_name}
+ Remove_Device_From_Netconf ${current_name}
+ KarafKeywords.Log_Message_To_Controller_Karaf Device ${current_name} deconfigured
+
+Deconfigure_Device_And_Verify
+ [Documentation] Operation for deconfiguring the device from Netconf.
+ [Arguments] ${current_name} ${log_response}=True
+ Deconfigure_Device ${current_name} ${log_response}
+ Check_Device_Deconfigured ${current_name}
+
+Check_Device_Deconfigured
+ [Documentation] Operation for making sure the device is really deconfigured.
+ [Arguments] ${current_name} ${log_response}=True
+ KarafKeywords.Log_Message_To_Controller_Karaf Waiting for device ${current_name} to disappear
+ Wait_Device_Fully_Removed ${current_name} period=0.5s timeout=120s
+ KarafKeywords.Log_Message_To_Controller_Karaf Device ${current_name} removed