Hello Experts,
I am trying to set type 6 password on IOSXR device which apparently can be done only from live-status command. But I am getting an error.
This command works from cli -------
admin@ncs# devices device device_name live-status exec any ...
Experts, I need help with this error-
I have code for calling action which gives error at the last line:-----
with ncs.maapi.Session(m, uinfo.username, 'python', groups=['ncsadmin']):
with m.start_write_trans() as t:
root = ncs.maagic.get_r...
Hello experts,
I have to use configured inventory to lookup the Loopback IP address so I am using a leafref with a must condition.
This compiles but doesnot filter just for the primary-connection-device instead it shows me all devices' loopbacks.
lea...
I am getting this error for reading config with live-status command in python code. Device is ios-xe C9500-24Y4C.
action_input = device.live_status.cisco_ios_stats__exec["show"].get_input()
File "/opt/ncs/ncs-5.6.4/src/ncs/pyapi/ncs/maagic.py", li...
I am still getting an error parsing the response:--
load_native_input = root.devices.device[device_name].load_native_config.get_input() load_native_input.data = config load_native_input.dry_run.outformat = "native" load_output = root.devices.device...
Thanks!
From the above solution, when I try to access: load_native_output.result , then I get the below error:-
'ActionParams' object has no attribute 'result'
I had already tried this and this is the error I get on compilation:
yang/dren-cfs-l3vpn.yang:140: error: bad argument value "/ncs:devices/ncs:device[ncs:name=(/
inventory:inventory/site:abc/site:abc-sites[site:abc-pe-name=current()/../../../site]/si...