This commit is contained in:
Mike Place 2015-10-26 07:57:42 -06:00
parent 28eff3caf2
commit 5194d9a2ef
2 changed files with 3 additions and 1 deletions

View file

@ -103,7 +103,7 @@ def commit():
def rollback():
ret = dict()
conn =__proxy__['junos.conn']()
conn = __proxy__['junos.conn']()
ret['out'] = conn.cu.rollback(0)
@ -134,6 +134,7 @@ def ping():
return ret
def cli(command):
conn = __proxy__['junos.conn']()

View file

@ -22,6 +22,7 @@ thisproxy = {}
log = logging.getLogger(__name__)
def init(opts):
'''
Open the connection to the Junos device, login, and bind to the