mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 05:40:23 -07:00
Add regex to catch ios error prompt (#35007)
* Move the error checking from ios_l3_module to ios termianl plugin by adding additional regex to catch error prompt.
This commit is contained in:
parent
585862e4d0
commit
b3b3c0ec54
2 changed files with 5 additions and 6 deletions
|
@ -43,6 +43,10 @@ class TerminalModule(TerminalBase):
|
|||
re.compile(br"connection timed out", re.I),
|
||||
re.compile(br"[^\r\n]+ not found"),
|
||||
re.compile(br"'[^']' +returned error code: ?\d+"),
|
||||
re.compile(br"Bad mask", re.I),
|
||||
re.compile(br"% ?(\S+) ?overlaps with ?(\S+)", re.I),
|
||||
re.compile(br"[%\S] ?Error: ?[\s]+", re.I),
|
||||
re.compile(br"[%\S] ?Informational: ?[\s]+", re.I)
|
||||
]
|
||||
|
||||
def on_open_shell(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue