From 83cb02e576d124b423b815babd8b1b37344f462f Mon Sep 17 00:00:00 2001 From: jmcgill298 Date: Tue, 29 May 2018 00:10:58 -0400 Subject: [PATCH] Move Record to Interface opening line to ensure each unaccounted for data doesn't interfere with properly capturing each interface --- templates/cisco_nxos_show_interface.template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/cisco_nxos_show_interface.template b/templates/cisco_nxos_show_interface.template index ca3b9868ab..e71793f412 100644 --- a/templates/cisco_nxos_show_interface.template +++ b/templates/cisco_nxos_show_interface.template @@ -14,6 +14,7 @@ Value DELAY (\d+\s+\w+) Value ENCAPSULATION (\w+) Start + ^\S+\s+is.+ -> Continue.Record ^${INTERFACE}\s+is\s+${LINK_STATUS},\sline\sprotocol\sis\s${ADMIN_STATE}$$ ^${INTERFACE}\s+is\s+${LINK_STATUS}$$ ^admin\s+state\s+is\s+${ADMIN_STATE}, @@ -23,4 +24,4 @@ Start ^\s+${DUPLEX}, ${SPEED}(,|$$) ^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY} ^\s+Encapsulation\s+${ENCAPSULATION} - ^\s*$$ -> Record + ^\s*$$