Telemetry Agent

From the ONES Application

  • Enable Super-user mode

    user@ones-application:~$ sudo su

  • Navigate to the GA /ones_t_agent directory on the Server

    root@ones-application /home/user $ cd GAv2.0/ones_t_agent

  • Enter device details (Management IP, Username and Password and the license key) on device_info.csv

    root@ones-application /home/user/GAv2.0/ones_t_agent $ vi device_info.csv

ip,user,passwd,layer,region,azid,brickid,rackid
10.20.2.12,admin,YourPaSsWoRd,Spine,SanJose,1,1,1
...
...
...
  • Save the File

root@ones-application /home/user/GAv2.0/ones_t_agent$ python3 ones_agent_uninstaller.py

###############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
  • All of the devices are successfully cleaned up

Last updated

Copyright © Aviz Networks, Inc.