fix eos terminal plugin to recognize ospf error message (#32039)
The eos terminal plugin did not correctly catch the error message returned with trying to configure more than one ospf instance. This change updates the terminal plugin to catch that scenario
This commit is contained in:
parent
b004a6373a
commit
905d71d46a
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ class TerminalModule(TerminalBase):
|
||||||
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),
|
re.compile(br"[^\r\n]+ not found", 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)
|
||||||
]
|
]
|
||||||
|
|
||||||
def on_open_shell(self):
|
def on_open_shell(self):
|
||||||
|
|
Loading…
Reference in a new issue