-
Notifications
You must be signed in to change notification settings - Fork 2
/
nso_sandbox_testbed_same_credentials.yaml
86 lines (86 loc) · 1.92 KB
/
nso_sandbox_testbed_same_credentials.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# EXAMPLE NSO SANDBOX TESTBED WHEN YOU HAVE THE SAME CREDENTIALS IN YOUR DEVICES
# -----------------------------------------------------------------------------
# Command PYATS create testbed file "nso_sandbox_testbed.yaml"
# PYTHON]$ pyats create testbed file --path sample/nso_sandbox_devices.xlsx --output nso_sandbox_testbed.yaml -v
# Command PYATS validate testbed file "nso_sandbox_testbed_same_credentials.yaml"
# PYTHON]$ pyats validate testbed --testbed nso_sandbox_testbed_same_credentials.yaml
testbed:
credentials:
default:
password: '%ASK{}'
username: '%ASK{}'
enable:
password: '%ASK{}'
devices:
core-rtr01:
connections:
cli:
ip: 10.10.20.173
protocol: telnet
os: iosxr
platform: core-rtr01
type: iosxr
core-rtr02:
connections:
cli:
ip: 10.10.20.174
protocol: telnet
os: iosxr
platform: core-rtr02
type: iosxr
dist-rtr01:
connections:
cli:
ip: 10.10.20.175
protocol: telnet
os: iosxe
platform: dist-rtr01
type: iosxe
dist-rtr02:
connections:
cli:
ip: 10.10.20.176
protocol: telnet
os: iosxe
platform: dist-rtr02
type: iosxe
dist-sw01:
connections:
cli:
ip: 10.10.20.177
protocol: telnet
os: nxos
platform: dist-sw01
type: nxos
dist-sw02:
connections:
cli:
ip: 10.10.20.178
protocol: telnet
os: nxos
platform: dist-sw02
type: nxos
edge-firewall01:
connections:
cli:
ip: 10.10.20.171
protocol: telnet
os: asa
platform: edge-firewall01
type: asa
edge-sw01:
connections:
cli:
ip: 10.10.20.172
protocol: telnet
os: ios
platform: edge-sw01
type: ios
internet-rtr01:
connections:
cli:
ip: 10.10.20.181
protocol: telnet
os: iosxe
platform: internet-rtr01
type: iosxe