changing password

This commit is contained in:
muassif
2021-08-21 17:10:54 +04:00
committed by GitHub
parent 7a0a1a3c9f
commit edd789c02d
+3 -3
View File
@@ -2,9 +2,9 @@ from netmiko import ConnectHandler
cisco_rtr = { cisco_rtr = {
"device_type": "cisco_ios", "device_type": "cisco_ios",
"host": "172.16.2.50", "host": "172.16.2.34",
"username": "root", "username": "root",
"password": "rootroot", "password": "xxxxx",
} }
def main(): def main():
@@ -17,4 +17,4 @@ def main():
print(output) print(output)
if __name__ == '__main__': if __name__ == '__main__':
main() main()