updating IP and passwd

This commit is contained in:
muassif
2021-08-21 17:13:53 +04:00
committed by GitHub
parent 88fc955700
commit acd90bde0e
+2 -2
View File
@@ -9,8 +9,8 @@ interface_filter = """
</filter>
"""
with manager.connect(host='172.16.2.50', username='root', password='rootroot', hostkey_verify=False) as conn:
with manager.connect(host='172.16.2.34', username='root', password='xxxx', hostkey_verify=False) as conn:
filter = interface_filter.format(int_name = "MgmtEth0/RP0/CPU0/0")
result = conn.get_config("running", filter )
print (result)
print (result)