-
Notifications
You must be signed in to change notification settings - Fork 30
/
example-inventory.yaml
192 lines (189 loc) · 4.95 KB
/
example-inventory.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
fabric01:
hosts:
apic1:
apic_host: 10.48.22.69
apic_username: admin
apic_password: foo!bar
apic2:
apic_host: 10.48.22.70
apic_username: admin
apic_password: foo!bar
apic3:
apic_ip: 10.48.22.71
apic_username: admin
apic_password: foo!bar
vars:
apic_use_proxy: no
apic_validate_certs: no
aci_topology:
access_policy:
- switch_policy_virtual_port_channel:
- name: 997_998
id: 997
switch1: 997
switch2: 998
- switch_policy_profile:
- name: leaf_997
leaf_selector:
- name: 997
from: 997
to: 997
interface_selector_profile:
- name: leaf_997
- name: leaf_998
leaf_selector:
- name: 998
from: 998
to: 998
interface_selector_profile:
- name: leaf_998
- name: leaf_997_998
leaf_selector:
- name: 997_998
from: 997
to: 998
interface_selector_profile:
- name: leaf_997_998
- interface_policy_lldp:
- name: LLDPon
receive_state: enabled
transmit_state: enabled
- interface_policy_port_channel:
- name: LACPactive
mode: active
- interface_policy_policy_group_vpc:
- name: 99_router_01
lldp: LLDPon
port_channel: LACPactive
aep: 99_router_01
- interface_policy_policy_group_access:
- name: 99_baremetal_01
lldp: LLDPon
aep: 99_baremetal_01
- interface_policy_profile:
- name: leaf_997_998
interface_selector:
- name: Router01
int_card: 1
int_to: 22
int_from: 22
policy_group: 99_router_01
policy_group_type: accbundle
- name: leaf_997
interface_selector:
- name: Server01
int_card: 1
int_to: 33
int_from: 33
policy_group: 99_baremetal_01
policy_group_type: accportgrp
- name: Server02
int_card: 1
int_to: 34
int_from: 34
policy_group: 99_baremetal_01
policy_group_type: accportgrp
- name: leaf_998
interface_selector:
- name: Server02
int_card: 1
int_to: 35
int_from: 35
policy_group: 99_baremetal_01
policy_group_type: accportgrp
- vlan_pool:
- name: 99_router_01
alloc: static
encap_block:
- from: 201
to: 201
- name: 99_baremetal_01
alloc: static
encap_block:
- from: 101
to: 102
- aep:
- name: 99_router_01
domain:
- name: l3dom-99_router_01
- name: 99_baremetal_01
domain:
- name: phys-99_baremetal_01
- external_routed_domain:
- name: 99_router_01
vlan_pool: 99_router_01
vlan_pool_alloc: static
- physical_domain:
- name: 99_baremetal_01
vlan_pool: 99_baremetal_01
vlan_pool_alloc: static
tenant:
- name: 99_Customer01
description: Customer01
app:
- name: Billing
epg:
- name: web
bd: web_bd
contract:
- name: internet
type: consumer
- name: web_app
type: consumer
static_path:
- pod: 1
path: topology/pod-1/paths-997/pathep-[eth1/33]
encap: vlan-101
mode: regular
- pod: 1
path: topology/pod-1/paths-997/pathep-[eth1/34]
encap: vlan-101
mode: native
domain:
- name: 99_baremetal_01
type: phys
- name: app
bd: app_bd
contract:
- name: web_app
type: provider
static_path:
- pod: 1
path: topology/pod-1/paths-998/pathep-[eth1/35]
encap: vlan-102
mode: untagged
domain:
- name: 99_baremetal_01
type: phys
bd:
- name: app_bd
subnet:
- name: 10.10.10.1
mask: 24
scope: private
vrf: Customer01
- name: web_bd
subnet:
- name: 20.20.20.1
mask: 24
scope: public
vrf: Customer01
l3out:
- name: l3out
vrf:
- name: Customer01
contract:
- name: internet
scope: tenant
subject:
- name: internet
filter: default
- name: web_app
scope: tenant
subject:
- name: web_app
filter: default
protocol_policy:
- ospf_interface:
- name: router_01_ospf
# vim: ts=2: sw=2: et