From 8afbc525e3d5bd02f87a6ae09c53bb737e3a4e36 Mon Sep 17 00:00:00 2001 From: Everton Marques Date: Mon, 27 Feb 2017 11:05:40 -0300 Subject: [PATCH] Increase default match timeout for Cisco APIC model. 'sh run' is slow. --- dev/model_cisco_apic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/model_cisco_apic.go b/dev/model_cisco_apic.go index ef6674e..1321bc0 100644 --- a/dev/model_cisco_apic.go +++ b/dev/model_cisco_apic.go @@ -18,7 +18,7 @@ func registerModelCiscoAPIC(logger hasPrintf, t *DeviceTable) { a.MatchTimeout = 20 * time.Second a.SendTimeout = 5 * time.Second a.CommandReadTimeout = 20 * time.Second // larger timeout for slow 'sh run' - a.CommandMatchTimeout = 30 * time.Second // larger timeout for slow 'sh run' + a.CommandMatchTimeout = 60 * time.Second // larger timeout for slow 'sh run' a.QuoteSentCommandsFormat = `!![%s]` m := &Model{name: "cisco-apic"}