-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoding_challenge_ansible.yml
65 lines (64 loc) · 1.59 KB
/
coding_challenge_ansible.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
---
tenants:
- name: TN_prod
description: "All production related objects"
application_profiles:
- name: AP_shop
description: "The app_profile for our webshop"
epgs:
- name: EPG_webserver
bd: BD_webserver
contracts:
- name: C_internet
type: provider
- name: C_appserver
type: consumer
- name: EPG_appserver
bd: BD_appserver
contracts:
- name: C_appserver
type: provider
- name: C_database
type: consumer
- name: EPG_database
bd: BD_database
contracts:
- name: C_database
type: provider
bridge_domains:
- name: BD_webserver
subnets:
- name: 20.0.1.1
mask: 24
scope: public
vrf: datacenter
- name: BD_appserver
subnets:
- name: 10.0.1.1
mask: 24
scope: private
vrf: datacenter
- name: BD_database
subnets:
- name: 10.0.2.1
mask: 24
scope: private
vrf: datacenter
vrfs:
- name: datacenter
contracts:
- name: C_internet
scope: tenant
subject:
- name: internet
filter: default
- name: C_appserver
scope: tenant
subject:
- name: internet
filter: default
- name: C_database
scope: tenant
subject:
- name: internet
filter: default