clean up junos shared module (#17652)
This cleans up the junos module removing some unneeded commands and fixing method signature with unneeded **kwargs
This commit is contained in:
parent
662008115b
commit
6fc9ffd28e
1 changed files with 1 additions and 4 deletions
|
@ -168,9 +168,6 @@ class Netconf(object):
|
||||||
def load_config(self, config, commit=False, replace=False, confirm=None,
|
def load_config(self, config, commit=False, replace=False, confirm=None,
|
||||||
comment=None, config_format='text'):
|
comment=None, config_format='text'):
|
||||||
|
|
||||||
#def load_config(self, candidate, update='merge', comment=None,
|
|
||||||
# confirm=None, format='text', commit=True):
|
|
||||||
|
|
||||||
if replace:
|
if replace:
|
||||||
merge = False
|
merge = False
|
||||||
overwrite = True
|
overwrite = True
|
||||||
|
@ -280,7 +277,7 @@ class Cli(CliBase):
|
||||||
self.execute('cli')
|
self.execute('cli')
|
||||||
self.execute('set cli screen-length 0')
|
self.execute('set cli screen-length 0')
|
||||||
|
|
||||||
def configure(self, commands, comment=None, **kwargs):
|
def configure(self, commands, comment=None):
|
||||||
cmds = ['configure']
|
cmds = ['configure']
|
||||||
cmds.extend(to_list(commands))
|
cmds.extend(to_list(commands))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue