Skip to content

nornir-netmiko behaves differently than netmiko in regards to use_timing and prompts? #876

Answered by ktbyers
bgile asked this question in Q&A
Discussion options

You must be logged in to vote

@bgile use_timing=True in nornir-netmiko executes send_command_timing.

What you are seeing is not send_command_timing executing the previous command, but the echo of the previous command by the device. Likely what this means is your Python script is ahead of the state of the device (i.e. your device is slow to respond so you are reading things that you think should be already done).

Try setting global_cmd_verify=True as a ConnectHandler argument to Netmiko (mapped into a Nornir-netmiko context), adtran Netmiko driver defaults this to False (we are in process of changing this as someone separately brought it up and we realized that global_cmd_verify should probably now be switched to True)…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@bgile
Comment options

@bgile
Comment options

@ktbyers
Comment options

@bgile
Comment options

@bgile
Comment options

Answer selected by bgile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants