|
|
|
@ -54,13 +54,13 @@ class Cliconf(CliconfBase):
|
|
|
|
def edit_config(self, candidate=None, commit=True, replace=None, comment=None):
|
|
|
|
def edit_config(self, candidate=None, commit=True, replace=None, comment=None):
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
def get(self, command=None, prompt=None, answer=None, sendonly=False, output=None, check_all=False):
|
|
|
|
def get(self, command=None, prompt=None, answer=None, sendonly=False, output=None, newline=True, check_all=False):
|
|
|
|
if not command:
|
|
|
|
if not command:
|
|
|
|
raise ValueError('must provide value of command to execute')
|
|
|
|
raise ValueError('must provide value of command to execute')
|
|
|
|
if output:
|
|
|
|
if output:
|
|
|
|
raise ValueError("'output' value %s is not supported for get" % output)
|
|
|
|
raise ValueError("'output' value %s is not supported for get" % output)
|
|
|
|
|
|
|
|
|
|
|
|
return self.send_command(command=command, prompt=prompt, answer=answer, sendonly=sendonly, check_all=check_all)
|
|
|
|
return self.send_command(command=command, prompt=prompt, answer=answer, sendonly=sendonly, newline=newline, check_all=check_all)
|
|
|
|
|
|
|
|
|
|
|
|
def get_device_info(self):
|
|
|
|
def get_device_info(self):
|
|
|
|
device_info = {}
|
|
|
|
device_info = {}
|
|
|
|
|