when i try to connect to cisco-iosxr or asa i face this error but if i change ned code and physically set version="Cisco IOS XR Software, NETSIM" in ned code , it will start working.
This is caused because when the ned tried to run a Oper cmd in java code "show version brief" . It is unable to find show_version.sh under netsim directory. It is unable to find show_version.sh under netsim directory.
confd cmdwrapper and cmdptywrapper both have root permissons .
I have already done chown root cmdptywrapper chmod u+s cmdptywrapper
I am pretty sure this is due to some environment or permission issues. I do not want to modify ned code as i understand this is due to some env permissions. Any help is appreciated.
at com.tailf.packages.ned.iosxr.IosxrNedCli.setupDevice(IosxrNedCli.java:621) at com.tailf.packages.ned.nedcom.NedComCliBase.newConnection(NedComCliBase.j ava:2695) at com.tailf.ned.NedWorker.dorun(NedWorker.java:1450) at com.tailf.ned.NedWorker.run(NedWorker.java:301) Caused by: com.tailf.ned.NedException: Unknown device
request devices device epl0 connect result false info Failed to connect to device epl0: connection refused: Failed to setup NED :: Unknown device :: ./show_version.sh: No such file or directory