-
Hi Guys, I am using nornir to manage manage some of my Avda FSP150 devices. When using a show command I am having an issue with returning all the output from the command, it appears that anything indented more than once seems to be ignored. For example if i run the below command i expect to get back the following output commandshow async-operation 26 async-job Output
However when i use netmiko_send_command everything between "async-job" and "state" is missing from the returned output. CodeLocal_backup_result = task.run(netmiko_send_command, command_string=f"show async-operation {Proccess_ID} async-job")
print(Local_backup_result.result) Returned output
Im fairly new to nornir / netmiko so any suggestions on resolving this issue would be much appreciated. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@zakhilton It looks to me like your |
Beta Was this translation helpful? Give feedback.
@zakhilton It looks to me like your
async
job is not done i.e. you are querying it too quickly so it hasn't finished. Maybe add sometime.sleep()
and query it again at a later time?