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:
Peter Sprygada 2016-09-19 22:27:23 -04:00 committed by GitHub
parent 662008115b
commit 6fc9ffd28e

View file

@ -168,9 +168,6 @@ class Netconf(object):
def load_config(self, config, commit=False, replace=False, confirm=None,
comment=None, config_format='text'):
#def load_config(self, candidate, update='merge', comment=None,
# confirm=None, format='text', commit=True):
if replace:
merge = False
overwrite = True
@ -280,7 +277,7 @@ class Cli(CliBase):
self.execute('cli')
self.execute('set cli screen-length 0')
def configure(self, commands, comment=None, **kwargs):
def configure(self, commands, comment=None):
cmds = ['configure']
cmds.extend(to_list(commands))