Custom device timeout setup

To use device tags for custom (Netmiko) timeouts for config backups and real-time commands in the test run, you need to add an extra parameter to your docker-compose.yml file.

Check out GitHub repository: https://github.com/netpicker/netpicker/blob/main/docker-compose.yml

In our default docker-compose.yml, we’ve added the device tag slow, with the following timeout settings:

x-tag-params: &tag-params
TAG_CONN_PARAMS: ‘{“slow”:{“timeout”:120,”conn_timeout”:50,”read_timeout_override”:80,”fast_cli”:false,”keepalive”:5}}’

These tag-params need to be added to the kibbitzer and agent containers:

kibbitzer:
environment:
<<: *tag-params

agent:
environment:
<<: *tag-params

After adding the variable, add the tag to the device that needs a larger timeout in Netpicker:

Would you like a hands-on session?

A couple times a week our in-house trainer is available for a private or group session. In this session we can cover our Slurp’it or Mock’it solution but also integrations with Netpicker, NetBox, Nautobot & Infrahub.

Yes, keep me informed

Connect with us on LinkedIn to stay updated on the latest happenings, news, and exciting developments at Slurp’it. Just click the button below to follow us and be a part of our professional network.

Newsletter