[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>
This commit is contained in:
Nathaniel Case 2018-09-12 09:55:23 -04:00 committed by Toshio Kuratomi
parent e16d36f0f7
commit 186f4effd3

View file

@ -42,7 +42,8 @@ class TerminalModule(TerminalBase):
re.compile(br"invalid input", re.I),
re.compile(br"(?:incomplete|ambiguous) command", 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"[^\r\n]\/bin\/(?:ba)?sh"),
re.compile(br"% More than \d+ OSPF instance", re.I),