Skip to content

Commit

Permalink
Increase default match timeout for Cisco APIC model. 'sh run' is slow.
Browse files Browse the repository at this point in the history
  • Loading branch information
udhos committed Feb 27, 2017
1 parent 3b94105 commit 8afbc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/model_cisco_apic.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit 8afbc52

Please sign in to comment.