AA-2983 : Fixing "config all" "write all" AMP CLI commands

Review Request #956 — Created July 3, 2025 and submitted — Latest diff uploaded

ngurunathan
AMP
AMP_4_0
AA-2983
apoorva.sn, mmiriam, pmurugaiyan

Made changes to fix config all, write all AMP cli commands. Used "sshpass" instead of scp with password prompt. Commented out a variable which is not getting set while comparing configs.

AN(config)#conf all tftp 192.168.162.104 conf.tgz pass
Loading the config...

AN(config)#conf all scp "192.168.162.115" admin "/home/admin/fourth.tgz" pass
Password for admin@192.168.162.115:
Loading the config...

AN(config)#write all tftp 192.168.162.104 conf.tgz pass

AN(config)#write all scp "192.168.162.104" admin conf.tgz pass

    Loading...