mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 20:01:25 -07:00
Remove abort_config and commit_config
Also move unimplemented command methods to CliBase, where they can be overridden as needed
This commit is contained in:
parent
a35296a42d
commit
f5ff3e3add
2 changed files with 13 additions and 15 deletions
|
@ -85,19 +85,4 @@ class Cli(CliBase):
|
|||
if params.get('include_defaults'):
|
||||
cmd += ' all'
|
||||
return self.execute(cmd)
|
||||
|
||||
def load_config(self, commands, **kwargs):
|
||||
raise NotImplementedError
|
||||
|
||||
def replace_config(self, commands, **kwargs):
|
||||
raise NotImplementedError
|
||||
|
||||
def commit_config(self, **kwargs):
|
||||
raise NotImplementedError
|
||||
|
||||
def abort_config(self, **kwargs):
|
||||
raise NotImplementedError
|
||||
|
||||
def save_config(self):
|
||||
raise NotImplementedError
|
||||
Cli = register_transport('cli', default=True)(Cli)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue