diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-18 05:52:22 +0000 |
commit | 38b7c80217c4e72b1d8988eb1e60bb6e77334114 (patch) | |
tree | 356e9fd3762877d07cde52d21e77070aeff7e789 /ansible_collections/cisco/ios/plugins/terminal/ios.py | |
parent | Adding upstream version 7.7.0+dfsg. (diff) | |
download | ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.tar.xz ansible-38b7c80217c4e72b1d8988eb1e60bb6e77334114.zip |
Adding upstream version 9.4.0+dfsg.upstream/9.4.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/cisco/ios/plugins/terminal/ios.py')
-rw-r--r-- | ansible_collections/cisco/ios/plugins/terminal/ios.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ansible_collections/cisco/ios/plugins/terminal/ios.py b/ansible_collections/cisco/ios/plugins/terminal/ios.py index 7ba3491ef..3be46ebfa 100644 --- a/ansible_collections/cisco/ios/plugins/terminal/ios.py +++ b/ansible_collections/cisco/ios/plugins/terminal/ios.py @@ -50,12 +50,14 @@ class TerminalModule(TerminalBase): re.compile(rb"'[^']' +returned error code: ?\d+"), re.compile(rb"Bad mask", re.I), re.compile(rb"% ?(\S+) ?overlaps with ?(\S+)", re.I), - re.compile(rb"[%\S] ?Error: ?[\s]+", re.I), - re.compile(rb"[%\S] ?Informational: ?[\s]+", re.I), + re.compile(rb"% ?(\S+) ?Error: ?[\s]+", re.I), + re.compile(rb"% ?(\S+) ?Informational: ?[\s]+", re.I), re.compile(rb"Command authorization failed"), re.compile(rb"Command Rejected: ?[\s]+", re.I), re.compile(rb"% General session commands not allowed under the address family", re.I), re.compile(rb"% BGP: Error initializing topology", re.I), + re.compile(rb"%SNMP agent not enabled", re.I), + re.compile(rb"% Invalid", re.I), ] terminal_config_prompt = re.compile(r"^.+\(config(-.*)?\)#$") |