mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
Add port option to proxy
Added port parameter to junos device proxy
This commit is contained in:
parent
0e102da679
commit
60a095decd
@ -47,7 +47,8 @@ def init(opts):
|
||||
log.debug('Opening connection to junos')
|
||||
thisproxy['conn'] = jnpr.junos.Device(user=opts['proxy']['username'],
|
||||
host=opts['proxy']['host'],
|
||||
password=opts['proxy']['passwd'])
|
||||
password=opts['proxy']['passwd'],
|
||||
port=opts['proxy']['port'])
|
||||
thisproxy['conn'].open()
|
||||
thisproxy['conn'].bind(cu=jnpr.junos.utils.config.Config)
|
||||
thisproxy['conn'].bind(sw=jnpr.junos.utils.sw.SW)
|
||||
|
Loading…
Reference in New Issue
Block a user