###############Connecting to switch###############
Connection to switch 10.20.2.12 successful.....................
Looking for previous installation........................
avizdock/ones-agent:latest
Previous installation found commencing unistallation on the device 10.20.2.12........
stop ones-agent docker on the device 10.20.2.12........
docker stopped successfully on the device 10.20.2.12........
remove ones-agent docker on the device 10.20.2.12........
docker removed successfully on the device 10.20.2.12........
remove redundant ones-agent docker container on the device 10.20.2.12........
No redundant ones-agent container found on the device 10.20.2.12........
remove docker ones-agent images from DUT on the device 10.20.2.12........
docker image removed successfully on the device 10.20.2.12........
Removing work directory on the device 10.20.2.12........
removed work directory successfully on the device 10.20.2.12........
Removing certificates on the device 10.20.2.12........
removed certificates successfully on the device 10.20.2.12........
Removing ones_agent_ip_rule.sh file from /usr/bin directory on the device 10.20.2.12........
removed ones_agent_ip_rule.sh successfully on the device 10.20.2.12........
Removing agent.conf on the device 10.20.2.12........
removed agent.conf successfully on the device 10.20.2.12........
#####ones-agent uninstalltion completed from device=##########10.20.2.12