We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2064e04 commit 68c5323Copy full SHA for 68c5323
labs/c9k/loopback_conf_new.py
@@ -74,13 +74,15 @@
74
with manager.connect(
75
host="172.16.8.200",
76
port=830,
77
- username="User1",
+ username="user1",
78
password='!Cisco123',
79
- hostkey_verify=False
+ hostkey_verify=False,
80
+ look_for_keys=False,
81
+ device_params={'name': 'default'},
82
+ allow_agent=False
83
) as m:
84
85
print("Sending a <edit-config> operation to the device.\n")
- # Make a NETCONF <get-config> query using the filter
86
netconf_reply = m.edit_config(netconf_data, target = 'running')
87
88
print("Here is the raw XML data returned from the device.\n")
0 commit comments