pypi junos-eznc 2.0.1
Release 2.0.1

latest releases: 2.7.1, 2.7.0, 2.6.8...
7 years ago
  • StartShell to take timeout (30 second by default) as paramter
from jnpr.junos.utils.start_shell import StartShell
with StartShell(dev, timeout=60) as ss:
    print ss.run("rtsockmon -t")[1]
  • Proper exception handling in case of Console connection #595
  • Fix: Config.lock() return exception when normalize is on
  • Added microbadge badge for the Docker image #593
  • Fix: print dev for Console conn was printing object not Device(....) #591
>>> from jnpr.junos import Device
>>> dev = Device('xxx', user='xxx', password='xxx', mode='telnet', port='23', gather_facts=True)
>>> dev.open()
Device(xxx)
  • Fix: To take care of special chars with StartShell->run function call #589
  • Fix: ssh private key file to be considered for scp util #586
dev = Device('xx.xx.xx.xx', user='xxxx', ssh_private_key_file='/Users/user/userkey')
dev.open()
print dev.facts

with SCP(dev) as obj:
    obj.put('/var/tmp/test.txt', '/var/home/user')
  • Added Dockerfile to enable automated image builds on project commits #585

Don't miss a new junos-eznc release

NewReleases is sending notifications on new releases.