Skip to content
This repository was archived by the owner on Aug 21, 2018. It is now read-only.

Commit 967fafc

Browse files
author
darien-hirotsu
committed
Updating for Always On
1 parent 195743e commit 967fafc

File tree

9 files changed

+43
-770
lines changed

9 files changed

+43
-770
lines changed
2.2 KB
Binary file not shown.

module06/06-dmi-01-overview-of-device-level-netconf/get_hostname.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88

99
# the variables below assume the user is leveraging the
10-
# network programmability lab and accessing csr-nwp1
10+
# network programmability lab and accessing csr1000v
1111
# use the IP address or hostname of your CSR1000V device
12-
HOST = '198.18.133.218'
12+
HOST = 'ios-xe-mgmt.cisco.com'
1313
# use the NETCONF port for your CSR1000V device
14-
PORT = 2022
14+
PORT = 10000
1515
# use the user credentials for your CSR1000V device
16-
USER = 'admin'
17-
PASS = 'C1sco12345'
16+
USER = 'root'
17+
PASS = 'C!sc0123'
1818

1919

2020
# create a main() method

module06/06-dmi-02-yang-data-modeling-overview/get_capabilities.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@
44
import sys
55

66
# the variables below assume the user is leveraging the
7-
# network programmability lab and accessing csr-nwp1
7+
# network programmability lab and accessing csr1000v
88
# use the IP address or hostname of your CSR1000V device
9-
HOST = '198.18.133.218'
9+
HOST = 'ios-xe-mgmt.cisco.com'
1010
# use the NETCONF port for your CSR1000V device
11-
PORT = 2022
11+
PORT = 10000
1212
# use the user credentials for your CSR1000V device
13-
USER = 'admin'
14-
PASS = 'C1sco12345'
15-
13+
USER = 'root'
14+
PASS = 'C!sc0123'
1615

1716
# create a main() method
1817
def main():

module06/06-dmi-02-yang-data-modeling-overview/get_hostname.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88

99
# the variables below assume the user is leveraging the
10-
# network programmability lab and accessing csr-nwp1
10+
# network programmability lab and accessing csr1000v
1111
# use the IP address or hostname of your CSR1000V device
12-
HOST = '198.18.133.218'
12+
HOST = 'ios-xe-mgmt.cisco.com'
1313
# use the NETCONF port for your CSR1000V device
14-
PORT = 2022
14+
PORT = 10000
1515
# use the user credentials for your CSR1000V device
16-
USER = 'admin'
17-
PASS = 'C1sco12345'
16+
USER = 'root'
17+
PASS = 'C!sc0123'
1818

1919

2020
# create a main() method

module06/06-dmi-02-yang-data-modeling-overview/get_ietf_interfaces.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
import xml.dom.minidom
99

1010
# the variables below assume the user is leveraging the
11-
# network programmability lab and accessing csr-nwp1
11+
# network programmability lab and accessing csr1000v
1212
# use the IP address or hostname of your CSR1000V device
13-
HOST = '198.18.133.218'
13+
HOST = 'ios-xe-mgmt.cisco.com'
1414
# use the NETCONF port for your CSR1000V device
15-
PORT = 2022
15+
PORT = 10000
1616
# use the user credentials for your CSR1000V device
17-
USER = 'admin'
18-
PASS = 'C1sco12345'
17+
USER = 'root'
18+
PASS = 'C!sc0123'
1919
MODULE_NAME = 'ietf-interfaces.yang'
2020

2121

module06/06-dmi-02-yang-data-modeling-overview/get_interfaces_config.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
import xml.dom.minidom
1111

1212

13-
# the variables below assume the user is requesting access
14-
# to a IOS-XE device running in the DevNet Always On SandBox
15-
# use the IP address or hostname of your IOS-XE device
16-
HOST = '198.18.133.218'
17-
# use the NETCONF port for your IOS-XE device
18-
PORT = 2022
19-
# use the user credentials for your IOS-XE device
20-
USER = 'admin'
21-
PASS = 'C1sco12345'
13+
# the variables below assume the user is leveraging the
14+
# network programmability lab and accessing csr1000v
15+
# use the IP address or hostname of your CSR1000V device
16+
HOST = 'ios-xe-mgmt.cisco.com'
17+
# use the NETCONF port for your CSR1000V device
18+
PORT = 10000
19+
# use the user credentials for your CSR1000V device
20+
USER = 'root'
21+
PASS = 'C!sc0123'
2222
# XML file to open
2323
FILE = 'get_interfaces.xml'
2424

0 commit comments

Comments
 (0)