Skip to content

How to use Netmiko's delay_factor or global_delay_factor with Nornir #633

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

You must be logged in to vote

First, always set fast_cli = False in the ConnectHandler. Inventory format for this is:

# Shows setting both fast_cli = False and global_delay_factor
eos:
  platform: eos
  connection_options:
    netmiko:
      platform: arista_eos
      extras:
        fast_cli: False
        global_delay_factor: 2

Then you would just add the delay_factor argument to your relevant call. For example,

nr.run(task=netmiko_send_command, command_string="show ip int brief", delay_factor=4)

Replies: 1 comment 3 replies

Comment options

ktbyers
Jan 11, 2021
Maintainer Author

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

@bgile
Comment options

@ktbyers
Comment options

ktbyers Jun 21, 2022
Maintainer Author

Answer selected by ktbyers
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