forked from ipspace/netlab-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hosts.yml
122 lines (122 loc) · 2.83 KB
/
hosts.yml
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
119
120
121
122
# Ansible inventory created from ['topology.yml', '../tools/topology-defaults.yml']
#
---
eos:
hosts:
eos:
ansible_host: 192.168.121.101
id: 1
links:
- bridge: LAN_1
ifindex: 1
ifname: Ethernet1
ip: 172.16.0.1/24
neighbors:
ios:
ifname: GigabitEthernet0/1
ip: 172.16.0.3/24
nxos:
ifname: Ethernet1/1
ip: 172.16.0.2/24
type: lan
- bridge: LAN_2
ifindex: 2
ifname: Ethernet2
ip: 172.16.1.1/24
neighbors:
ios:
ifname: GigabitEthernet0/2
ip: 172.16.1.3/24
nxos:
ifname: Ethernet1/2
ip: 172.16.1.2/24
type: lan
loopback: 10.0.0.1
mgmt_if: Management1
mgmt_ip: 192.168.121.101
mgmt_mac: 08-4F-A9-00-00-01
vars:
ansible_connection: network_cli
ansible_network_os: eos
ansible_ssh_pass: vagrant
ansible_user: vagrant
iosv:
hosts:
ios:
ansible_host: 192.168.121.103
id: 3
links:
- bridge: LAN_1
ifindex: 1
ifname: GigabitEthernet0/1
ip: 172.16.0.3/24
neighbors:
eos:
ifname: Ethernet1
ip: 172.16.0.1/24
nxos:
ifname: Ethernet1/1
ip: 172.16.0.2/24
type: lan
- bridge: LAN_2
ifindex: 2
ifname: GigabitEthernet0/2
ip: 172.16.1.3/24
neighbors:
eos:
ifname: Ethernet2
ip: 172.16.1.1/24
nxos:
ifname: Ethernet1/2
ip: 172.16.1.2/24
type: lan
loopback: 10.0.0.3
mgmt_if: GigabitEthernet0/0
mgmt_ip: 192.168.121.103
mgmt_mac: 08-4F-A9-00-00-03
vars:
ansible_become_method: enable
ansible_become_password: vagrant
ansible_connection: network_cli
ansible_network_os: ios
ansible_ssh_pass: vagrant
ansible_user: vagrant
nxos:
hosts:
nxos:
ansible_host: 192.168.121.102
id: 2
links:
- bridge: LAN_1
ifindex: 1
ifname: Ethernet1/1
ip: 172.16.0.2/24
neighbors:
eos:
ifname: Ethernet1
ip: 172.16.0.1/24
ios:
ifname: GigabitEthernet0/1
ip: 172.16.0.3/24
type: lan
- bridge: LAN_2
ifindex: 2
ifname: Ethernet1/2
ip: 172.16.1.2/24
neighbors:
eos:
ifname: Ethernet2
ip: 172.16.1.1/24
ios:
ifname: GigabitEthernet0/2
ip: 172.16.1.3/24
type: lan
loopback: 10.0.0.2
mgmt_if: mgmt0
mgmt_ip: 192.168.121.102
mgmt_mac: 08-4F-A9-00-00-02
vars:
ansible_connection: network_cli
ansible_network_os: nxos
ansible_ssh_pass: vagrant
ansible_user: vagrant