2.5 Plugin Environment support and Testcases for dellos6 modules (#34890)

* Dellos6_2.5_support

* cleanup

* Fix pep8

* fix waitfor

* fix_facts

* fix_assert
This commit is contained in:
abirami-n 2018-01-22 18:04:21 +05:30 committed by John R Barker
parent 2018a61489
commit 775118aae2
24 changed files with 1017 additions and 147 deletions

View file

@ -1,4 +1,7 @@
# 2016 Red Hat Inc.
#
# (c) 2016 Red Hat Inc.
#
# (c) 2017 Dell EMC.
#
# This file is part of Ansible
#
@ -37,6 +40,13 @@ class TerminalModule(TerminalBase):
re.compile(br"% ?Error: (?:(?!\bdoes not exist\b)(?!\balready exists\b)(?!\bHost not found\b)(?!\bnot active\b).)*$"),
re.compile(br"% ?Bad secret"),
re.compile(br"invalid input", re.I),
re.compile(br"Cannot add a dynamic member to a LAG with static members", re.I),
re.compile(br"VLAN ID not found", re.I),
re.compile(br"The maximum number of users have already been created.", re.I),
re.compile(br"Invalid access level. Access level can be either 0, 1 or 15", re.I),
re.compile(br"An invalid interface has been used for this function.", re.I),
re.compile(br"Error:Community does not exist.", re.I),
re.compile(br"Value is out of range.", re.I),
re.compile(br"(?:incomplete|ambiguous) command", re.I),
re.compile(br"connection timed out", re.I),
re.compile(br"'[^']' +returned error code: ?\d+"),