[2.7] eos: Don't error on VLAN missing warning (#45433)

(cherry picked from commit eaf01d3)

Co-authored-by: Nathaniel Case <this.is@nathanielca.se>
pull/45581/head
Nathaniel Case 6 years ago committed by Toshio Kuratomi
parent e16d36f0f7
commit 186f4effd3

@ -42,7 +42,8 @@ class TerminalModule(TerminalBase):
re.compile(br"invalid input", re.I), re.compile(br"invalid input", re.I),
re.compile(br"(?:incomplete|ambiguous) command", re.I), re.compile(br"(?:incomplete|ambiguous) command", re.I),
re.compile(br"connection timed out", re.I), re.compile(br"connection timed out", re.I),
re.compile(br"[^\r\n]+ not found", re.I), # Strings like this regarding VLANs are not errors
re.compile(br"[^\r\n]+ not found(?! in current VLAN)", re.I),
re.compile(br"'[^']' +returned error code: ?\d+"), re.compile(br"'[^']' +returned error code: ?\d+"),
re.compile(br"[^\r\n]\/bin\/(?:ba)?sh"), re.compile(br"[^\r\n]\/bin\/(?:ba)?sh"),
re.compile(br"% More than \d+ OSPF instance", re.I), re.compile(br"% More than \d+ OSPF instance", re.I),

Loading…
Cancel
Save