-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyats_testbed.yaml
executable file
·118 lines (105 loc) · 2.24 KB
/
pyats_testbed.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
testbed:
name: labpyats
credentials:
default:
username: "%ENV{PYATS_USERNAME}"
password: "%ENV{PYATS_PASSWORD}"
enable:
password: "%ENV{PYATS_AUTH_PASS}"
line:
password: "%ENV{PYATS_AUTH_PASS}"
devices:
asav-1:
alias: asav-1
os: asa
type: ASAv
platform: ASAv
connections:
console:
protocol: ssh
ip: 198.18.1.202
port: 22
custom:
abstraction:
order: [os, type]
csr1000v-1:
alias: csr1000v-1
os: iosxe
type: CSR1000v
platform: CSR1000v
connections:
defaults:
class: unicon.Unicon
console:
protocol: ssh
ip: 198.18.1.201
port: 22
custom:
abstraction:
order: [os, type]
nx-osv-1:
alias: nx-osv-1
os: nxos
type: NX-OSv 9000
platform: NX-OSv 9000
connections:
defaults:
class: unicon.Unicon
console:
protocol: ssh
ip: 198.18.1.203
port: 22
custom:
abstraction:
order: [os, type]
topology:
asav-1:
interfaces:
GigabitEthernet0/0:
ipv4: 10.0.0.5/30
link: asav-1-to-nx-osv-1
type: ethernet
GigabitEthernet0/1:
ipv4: 10.0.0.9/30
link: asav-1-to-nx-osv-1#1
type: ethernet
Management0/0:
ipv4: 198.18.1.202/24
link: flat
type: ethernet
csr1000v-1:
interfaces:
GigabitEthernet2:
ipv4: 10.0.0.13/30
link: csr1000v-1-to-nx-osv-1
type: ethernet
GigabitEthernet3:
ipv4: 10.0.0.17/30
link: csr1000v-1-to-nx-osv-1#1
type: ethernet
GigabitEthernet1:
ipv4: 198.18.1.201/24
link: flat
type: ethernet
nx-osv-1:
interfaces:
Ethernet1/1:
ipv4: 10.0.0.14/30
link: csr1000v-1-to-nx-osv-1
type: ethernet
Ethernet1/2:
ipv4: 10.0.0.18/30
link: csr1000v-1-to-nx-osv-1#1
type: ethernet
Ethernet1/3:
ipv4: 10.0.0.6/30
link: asav-1-to-nx-osv-1
type: ethernet
Ethernet1/4:
ipv4: 10.0.0.10/30
link: asav-1-to-nx-osv-1#1
type: ethernet
mgmt0:
ipv4: 198.18.1.203/24
link: flat
type: ethernet