Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import getpass
- username = input("Input username: ")
- password = getpass.getpass("Input Password: ")
- ####################### Device List ##########################
- device_list = [
- {'device_type': 'cisco_ios',
- 'ip': 'device1.foo.bar',
- 'username': username,
- 'password': password,
- },
- {'device_type': 'cisco_ios',
- 'ip': 'device2.foo.bar',
- 'username': username,
- 'password': password,
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement