Using Navu or Maapi API for live status command has issue if command has non-unique elements.
Example : "admin copy harddisk:/ApolloDIAGSoftware-0.7.0.tar.gz location D1/CB0/CPU0/VM1 harddisk:/ApolloDIAGSoftware-0.7.0.tar.gz"
In the above command source and destination path are same and getting error below
/ncs:devices/device{PE81-WB.attpsl.cisco.com}/live-status/cisco-ios-xr-stats:exec/any/args: "admin copy harddisk:/ApolloDIAGSoftware-0.7.0.tar.gz location D1/CB0/CPU0/VM1 harddisk:/ApolloDIAGSoftware-0.7.0.tar.gz" has non-unique members.
I understood ‘args’ is leaflist, hence the error.
I am looking for alternative solutions, please comment.