- StartShell to take timeout (30 second by default) as paramter
python
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
python
>>> 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
python
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