new module exos_config (#43902)

- support config operations for EXOS-based platforms
- add regex to detect command failure responses
- add exos action plugin for "backup" operation
- add unit tests for exos_command (currently 94% coverage of
  exos_config.py)
This commit is contained in:
Lance Richardson 2018-08-15 17:56:50 -04:00 committed by John R Barker
parent 00e7c020b2
commit dc08b9a738
9 changed files with 874 additions and 2 deletions

View file

@ -43,7 +43,8 @@ class TerminalModule(TerminalBase):
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)
re.compile(br"[%\S] ?Informational: ?[\s]+", re.I),
re.compile(br"%% Invalid .* at '\^' marker.", re.I),
]
def on_open_shell(self):