Orchestration Agent
On the Application server, go to GAv1.1/ones_fm_agent
root@ones-application:~$ cd /ONES-2.0/ones_fm_agent
Enter device details (Management IP, Username, Password and License key) on device_info.csv
root@ones-application/ONES-2.0/ones_fm_agent$ vi device_info.csv
10.20.2.12,admin,YourPaSsWoRd
...
...
...
Save the file
Execute Uninstaller Script
root@ones-application/ONES-2.0/ones_fm_agent$ python3 deploy_fmcli.py "uninstall"
Server IP: 10.20.0.14
fm_port: 8787
[{'ip': '10.20.2.12', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '10.20.0.14', 'fm_port': '8787'}]
Operation = uninstall
##### params = {'ip': '10.20.2.12', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '10.20.0.14', 'fm_port': '8787'} #####
###############Connecting to switch###############
<paramiko.client.SSHClient object at 0x7f57ab19f160>
Connection to switch 10.20.2.12 successfull.....................
/home/aviz/ONES2.0/ones-1700633331-onprem/ones_fm_agent
############### Uninstalling FM Agent ###############
Verify The Uninstallation
Access individual switch
Execute fmcli
root@switch:~$fmcli
sh: 1: /etc/sonic/fmcli/fmcli.sh: not found