Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- devices = [device1, device2, device4, device5, device6, device7]
- for i in devices:
- net_connect = ConnectHandler(**i)
- # get the prompt as a string
- output=net_connect.send_command_expect('show vpn load-balancing | grep %')
- print("--------------------------------------------------------------------------------------------------------")
- print(output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement