Update show_all_interfaces.py
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from ncclient import manager
|
||||
with manager.connect(host='172.16.2.50', username='root',
|
||||
password='rootroot', hostkey_verify=False) as m:
|
||||
with manager.connect(host='172.16.2.34', username='root',
|
||||
password='xxxx', hostkey_verify=False) as m:
|
||||
result = m.get_config("running",
|
||||
filter=('subtree',
|
||||
'<interfaces xmlns="http://openconfig.net/yang/interfaces"/>'))
|
||||
|
||||
Reference in New Issue
Block a user