Fail module if configure replace fails nxos (#43546)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
pull/4420/head
Trishna Guha 2018-08-01 20:30:39 +05:30 committed by GitHub
parent 6d680d8281
commit 1f410cc19f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ class TerminalModule(TerminalBase):
re.compile(br"unknown command"),
re.compile(br"user not present"),
re.compile(br"invalid (.+?)at '\^' marker", re.I),
re.compile(br"baud rate of console should be (\d*) to increase severity level", re.I)
re.compile(br"baud rate of console should be (\d*) to increase severity level", re.I),
re.compile(br"Configure replace failed", re.I),
]
def on_become(self, passwd=None):