mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
cli_command module (#42916)
* Create cli_command module to do direct cliconf calls * Update edgeos cliconf signature to match. * cli_command is cli-only * Add tests
This commit is contained in:
parent
086cb0233f
commit
ab39481c31
15 changed files with 480 additions and 6 deletions
|
@ -86,7 +86,7 @@ class Cliconf(CliconfBase):
|
|||
|
||||
self.send_command(command=command, prompt=prompt, answer=answer, sendonly=sendonly, newline=newline)
|
||||
|
||||
def get(self, command=None, prompt=None, answer=None, sendonly=False, newline=True):
|
||||
def get(self, command=None, prompt=None, answer=None, sendonly=False, newline=True, output=None):
|
||||
return self.send_command(command=command, prompt=prompt, answer=answer, sendonly=sendonly, newline=newline)
|
||||
|
||||
def commit(self, comment=None, label=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue