Skip to content

Commit 315ba32

Browse files
authored
Merge pull request #50 from CiscoTestAutomation/tahigash_clean_mock
updated mock for clean test
2 parents 178d355 + 0876353 commit 315ba32

File tree

2 files changed

+42
-102
lines changed

2 files changed

+42
-102
lines changed
-318 Bytes
Binary file not shown.

clean/clean/testbed_cisco_live.yaml

Lines changed: 42 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,54 @@
1+
testbed:
2+
name: example_testbed
13
devices:
24
csr1000v-1:
35
alias: uut
4-
connections:
5-
cli:
6-
ip: 172.25.192.90
7-
port: 17012
8-
protocol: telnet
9-
defaults:
10-
via: cli
11-
ssh:
12-
ip: 172.16.1.206
13-
protocol: ssh
14-
proxy: jump_host
15-
telnet:
16-
ip: 172.16.1.206
17-
protocol: telnet
18-
proxy: jump_host
19-
vty:
20-
ip: 172.16.1.206
21-
protocol: telnet
22-
proxy: jump_host
23-
credentials:
24-
default:
25-
password: cisco
26-
username: cisco
27-
enable:
28-
password: cisco
29-
custom:
30-
abstraction:
31-
order:
32-
- os
33-
- platform
346
os: iosxe
35-
platform: iosxe
36-
type: CSR1000v
37-
jump_host:
38-
connections:
39-
cli:
40-
ip: 172.25.192.90
41-
port: 22
42-
protocol: ssh
7+
type: router
438
credentials:
449
default:
45-
password: VIRL
46-
username: virl
47-
os: linux
48-
type: linux
49-
nx-osv-1:
50-
alias: nx-osv-1
10+
username: admin
11+
password: password
5112
connections:
52-
cli:
53-
ip: 172.25.192.90
54-
port: 17014
55-
protocol: telnet
5613
defaults:
57-
via: cli
58-
ssh:
59-
ip: 172.16.1.207
60-
protocol: ssh
61-
proxy: jump_host
62-
telnet:
63-
ip: 172.16.1.207
64-
protocol: telnet
65-
proxy: jump_host
66-
vty:
67-
ip: 172.16.1.207
14+
class: unicon.Unicon
15+
a:
6816
protocol: telnet
69-
proxy: jump_host
17+
ip: ::1
18+
port: 9000
19+
nx-osv-1:
20+
alias: helper
21+
os: nxos
22+
type: switch
7023
credentials:
7124
default:
72-
password: admin
7325
username: admin
74-
enable:
75-
password: admin
76-
custom:
77-
abstraction:
78-
order:
79-
- os
80-
- platform
81-
os: nxos
82-
platform: n7k
83-
type: NX-OSv
84-
testbed:
85-
name: dangrazi_xe_nx_cisco_live-7_0tZx
86-
servers:
87-
ftp:
88-
address: 172.16.1.254
89-
credentials:
90-
default:
91-
password: VIRL
92-
username: virl
93-
server: 172.16.1.254
94-
scp:
95-
address: 172.16.1.254
96-
credentials:
97-
default:
98-
password: VIRL
99-
username: virl
100-
server: 172.16.1.254
101-
sftp:
102-
address: 172.16.1.254
103-
credentials:
104-
default:
105-
password: VIRL
106-
username: virl
107-
server: 172.16.1.254
108-
tftp:
109-
address: 172.16.1.254
110-
credentials:
111-
default:
112-
password: VIRL
113-
username: virl
114-
server: 172.16.1.254
26+
password: password
27+
connections:
28+
defaults:
29+
class: unicon.Unicon
30+
a:
31+
protocol: telnet
32+
ip: ::1
33+
port: 9002
34+
topology:
35+
csr1000v-1:
36+
interfaces:
37+
GigabitEthernet1:
38+
type: ethernet
39+
GigabitEthernet2:
40+
link: l0
41+
type: ethernet
42+
GigabitEthernet3:
43+
link: l1
44+
type: ethernet
45+
nx-osv-1:
46+
interfaces:
47+
mgmt0:
48+
type: ethernet
49+
Ethernet2/1:
50+
link: l0
51+
type: ethernet
52+
Ethernet2/2:
53+
link: l1
54+
type: ethernet

0 commit comments

Comments
 (0)