Skip to content

Commit b913487

Browse files
committed
Add support for 16.5(1).
1 parent b84db2b commit b913487

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

NC-edit-config/NC-edit-config-hostname.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
data = '''
3636
<config>
37-
<native xmlns="http://cisco.com/ns/yang/ned/ios">
37+
<native xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-native">
3838
<hostname>NC-WAS-HERE</hostname>
3939
</native>
4040
</config>
@@ -59,4 +59,4 @@
5959
device_params={'name':"csr"})
6060
# Pretty print the XML reply
6161
xmlDom = xml.dom.minidom.parseString( str( m.edit_config(data, target='running') ) )
62-
print xmlDom.toprettyxml( indent = " " )
62+
print xmlDom.toprettyxml( indent = " " )

NC-edit-config/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ For fun, you'll realize the script reconfigures the hostname of your network ele
99
# requirements
1010
-- ncclient
1111

12-
-- IOS-XE running >/= 16.3.1 also enabled for NETCONF
12+
-- IOS-XE running >/= 16.5(1) also enabled for NETCONF
1313

1414
# running
15-
-- Can run on-box or off-box.
15+
-- Can run on-box or off-box.

0 commit comments

Comments
 (0)