Common CliBase run_commands implementation

pull/17188/head
Nathaniel Case 8 years ago
parent f4a6fa1747
commit a35296a42d

@ -238,3 +238,5 @@ class CliBase(object):
exc = get_exception() exc = get_exception()
raise NetworkError(exc.message, commands=commands) raise NetworkError(exc.message, commands=commands)
def run_commands(self, commands, **kwargs):
return self.execute(to_list(commands))

Loading…
Cancel
Save