Installer will proceed with FMCLI-install ...468025bd9c12: Loading layer [==================================================>] 2.56kB/2.56kB1961412d5783: Loading layer [==================================================>] 36.56MB/36.56MBde3513fa22d1: Loading layer [==================================================>] 42.69MB/42.69MBca3343e443b5: Loading layer [==================================================>] 1.421MB/1.421MBLoaded image: avizdock/agent_installer:latestDocker image 'avizdock/agent_installer:latest' is loaded.f404ff0948564cd6813550368668f3b1c3548cdf47d79f1ad8d858769fa25f38Docker container 'agent_installer' is running.CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMESf404ff094856 avizdock/agent_installer:latest "python3" Less than a second ago Up Less than a second agent_installerDocker container 'ones-fm' is running.Update success for 10.4.4.61Update success for 10.4.4.62Ignore below Error if Installing Agent via docker installerones-fm container is not runningServer IP: 172.17.0.3fm_port: None[{'ip': '10.4.4.61', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.3', 'fm_port': None}, {'ip': '10.4.4.62', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.3', 'fm_port': None}]Operation = install##### params = {'ip': '10.4.4.61', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.3', 'fm_port': None} ####################Connecting to switch#################### params = {'ip': '10.4.4.62', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.3', 'fm_port': None} ####################Connecting to switch###############.........#################### Installing FMCLI on the device 10.4.4.61 ########################################## Installing FMCLI on the device 10.4.4.62 ############################# Debug LOGS on the device 10.4.4.61 #######fmcli-app/fmcli-app/libhiredis.so.1.1.0fmcli-app/fmcli.shfmcli-app/fmclifmcli-app/ip_validatefmcli-app/fmcli.clifmcli-app/fmcli.version.........####### Debug LOGS on the device 10.4.4.62 #######fmcli-app/fmcli-app/libhiredis.so.1.1.0fmcli-app/fmcli.shfmcli-app/fmclifmcli-app/ip_validatefmcli-app/fmcli.clifmcli-app/fmcli.versionFM-Agent installed successfully on the device 10.4.4.62........####### Deleting ones-fm_1713190726_4057596 dir on the device 10.4.4.62 #######Print deployment of FM-Agent to switch 10.4.4.62 is CompletedFMCLI install Result{'10.4.4.61': 'PASS', '10.4.4.62': 'PASS'}╒═════════╤═══════════╤══════════════════╕│ SL.No │ Device │ install Result │╞═════════╪═══════════╪══════════════════╡│ 1 │ 10.4.4.61 │ PASS │├─────────┼───────────┼──────────────────┤│ 2 │ 10.4.4.62 │ PASS │╘═════════╧═══════════╧══════════════════╛
Installer will proceed with FMCLI-uninstall ...a09c0ffdcba2: Loading layer [==================================================>] 2.56kB/2.56kB8c6091db46c1: Loading layer [==================================================>] 36.63MB/36.63MB38f3a9e347f1: Loading layer [==================================================>] 42.69MB/42.69MB7783a5157651: Loading layer [==================================================>] 1.421MB/1.421MBLoaded image: avizdock/agent_installer:latestDocker image 'avizdock/agent_installer:latest' is loaded.7724e9ab3a139f6c74fdf8f2f9536891a1ffc6c88168011dee5d6a8bc24d6041Docker container 'agent_installer' is running.CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES7724e9ab3a13 avizdock/agent_installer:latest "python3" Less than a second ago Up Less than a second agent_installerDocker container 'ones-fm' is running.Update success for 10.4.4.68Ignore below Error if Installing Agent via docker installerones-fm container is not runningServer IP: 172.17.0.3fm_port: None[{'ip': '10.4.4.68', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.3', 'fm_port': None}]Operation = uninstall##### params = {'ip': '10.4.4.68', 'passwd': 'YourPaSsWoRd', 'user': 'admin', 'server_ip': '172.17.0.3', 'fm_port': None} ####################Connecting to switch###############<paramiko.client.SSHClient object at 0x7fc2bb03e190>Connection to switch 10.4.4.68 successfull...................../home/ones_fm_agent############### Uninstalling FM Agent ###############FMCLI uninstall Result{'10.4.4.68': 'PASS'}╒═════════╤═══════════╤════════════════════╕│ SL.No │ Device │ uninstall Result │╞═════════╪═══════════╪════════════════════╡│ 1 │ 10.4.4.68 │ PASS │╘═════════╧═══════════╧════════════════════╛
Installation with a config cleanup
using this process, Script will clear the base config like port--channel related config, IP related config, VXlan related config and more related configuration.