diff --git a/lib/ansible/plugins/cliconf/netvisor.py b/lib/ansible/plugins/cliconf/netvisor.py index 4f0d504f300..9bcce463367 100644 --- a/lib/ansible/plugins/cliconf/netvisor.py +++ b/lib/ansible/plugins/cliconf/netvisor.py @@ -35,6 +35,15 @@ from ansible.plugins.cliconf import CliconfBase class Cliconf(CliconfBase): + def get_config(self, source='running', format='text', flags=None): + if source not in ('running'): + return self.invalid_params("fetching configuration from %s is not supported" % source) + cmd = 'show running-config' + return self.send_command(cmd) + + def edit_config(self, command): + return + def get(self, command=None, prompt=None, answer=None, sendonly=False, output=None, newline=True, check_all=False): if not command: raise ValueError('must provide value of command to execute')