This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
/
sample-topology.yaml
95 lines (84 loc) · 5.53 KB
/
sample-topology.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
########################################################################
# System variable used to define temporary directory
# please update tmp_dir variable if needed
########################################################################
tmp_dir: /tmp/build
build_dir: "{{ tmp_dir }}/{{ inventory_hostname }}/tmp"
junos_conf: "config/{{ inventory_hostname }}.conf"
################################################################################
# Global Variables used to generate the common part of the configuration
# please update these variable and the template as needed to match your environment
################################################################################
global:
root_hash: $1$ZUlES4dp$OUwWo1g7cLoV/aMWpHUnC/
login_message: This is the property of Example Corp. Do not login without express permission.
time_zone: America/Los_Angeles
name_servers:
- 192.168.5.68
- 192.168.60.131
ntp_servers:
- 172.17.28.5
snmp:
location: "Site 1"
contact: John Doe
polling:
- community: public
routes:
static:
172.0.0.0/8: 10.94.194.254
############################################################################
### Physical interfaces name ###
############################################################################
topo:
fabric-01:
port1: { name: et-0/0/15, peer: spine-01, pport: port3, type: ebgp, link: 5, linkend: 2 }
port2: { name: et-0/0/14, peer: spine-02, pport: port3, type: ebgp, link: 7, linkend: 2 }
port3: { name: et-0/0/13, peer: spine-03, pport: port3, type: ebgp, link: 9, linkend: 2 }
port4: { name: et-0/0/12, peer: spine-04, pport: port3, type: ebgp, link: 11, linkend: 2 }
fabric-02:
port1: { name: et-0/0/15, peer: spine-01, pport: port4, type: ebgp, link: 6, linkend: 2 }
port2: { name: et-0/0/14, peer: spine-02, pport: port4, type: ebgp, link: 8, linkend: 2 }
port3: { name: et-0/0/13, peer: spine-03, pport: port4, type: ebgp, link: 10, linkend: 2 }
port4: { name: et-0/0/12, peer: spine-04, pport: port4, type: ebgp, link: 12, linkend: 2 }
spine-01:
port1: { name: et-0/0/66, peer: leaf-01, pport: port1, type: ebgp, link: 1, linkend: 1 }
port2: { name: et-0/0/67, peer: leaf-02, pport: port1, type: ebgp, link: 2, linkend: 1 }
port3: { name: et-0/0/58, peer: fabric-01, pport: port1, type: ebgp, link: 5, linkend: 1 }
port4: { name: et-0/0/59, peer: fabric-02, pport: port1, type: ebgp, link: 6, linkend: 1 }
spine-02:
port1: { name: et-0/0/66, peer: leaf-01, pport: port2, type: ebgp, link: 3, linkend: 1 }
port2: { name: et-0/0/67, peer: leaf-02, pport: port2, type: ebgp, link: 4, linkend: 1 }
port3: { name: et-0/0/58, peer: fabric-01, pport: port2, type: ebgp, link: 7, linkend: 1 }
port4: { name: et-0/0/59, peer: fabric-02, pport: port2, type: ebgp, link: 8, linkend: 1 }
spine-03:
port1: { name: et-0/0/66, peer: leaf-03, pport: port1, type: ebgp, link: 13, linkend: 1 }
port2: { name: et-0/0/67, peer: leaf-04, pport: port1, type: ebgp, link: 14, linkend: 1 }
port3: { name: et-0/0/61, peer: fabric-01, pport: port3, type: ebgp, link: 9, linkend: 1 }
port4: { name: et-0/0/60, peer: fabric-02, pport: port3, type: ebgp, link: 10, linkend: 1 }
spine-04:
port1: { name: et-0/0/66, peer: leaf-03, pport: port2, type: ebgp, link: 15, linkend: 1 }
port2: { name: et-0/0/67, peer: leaf-04, pport: port2, type: ebgp, link: 16, linkend: 1 }
port3: { name: et-0/0/61, peer: fabric-01, pport: port4, type: ebgp, link: 11, linkend: 1 }
port4: { name: et-0/0/60, peer: fabric-02, pport: port4, type: ebgp, link: 12, linkend: 1 }
leaf-01:
port1: { name: et-0/0/50, peer: spine-01, pport: port1, type: ebgp, link: 1, linkend: 2 }
port2: { name: et-0/0/51, peer: spine-02, pport: port1, type: ebgp, link: 3, linkend: 2 }
port3: { name: xe-0/0/12, peer: access, pport: unknown }
port4: { name: xe-0/0/13, peer: access, pport: unknown }
leaf-02:
port1: { name: et-0/0/50, peer: spine-01, pport: port2, type: ebgp, link: 2, linkend: 2 }
port2: { name: et-0/0/51, peer: spine-02, pport: port2, type: ebgp, link: 4, linkend: 2 }
port3: { name: xe-0/0/12, peer: access, pport: unknown }
port4: { name: xe-0/0/13, peer: access, pport: unknown }
leaf-03:
port1: { name: et-0/0/50, peer: spine-03, pport: port2, type: ebgp, link: 13, linkend: 2 }
port2: { name: et-0/0/51, peer: spine-04, pport: port1, type: ebgp, link: 15, linkend: 2 }
port3: { name: xe-0/0/12, peer: access, pport: unknown }
port4: { name: xe-0/0/13, peer: access, pport: unknown }
port5: { name: et-0/0/52, peer: access, pport: unknown }
leaf-04:
port1: { name: et-0/0/50, peer: spine-03, pport: port1, type: ebgp, link: 14, linkend: 2 }
port2: { name: et-0/0/51, peer: spine-04, pport: port2, type: ebgp, link: 16, linkend: 2 }
port3: { name: xe-0/0/12, peer: access, pport: unknown }
port4: { name: xe-0/0/13, peer: access, pport: unknown }
port5: { name: et-0/0/53, peer: access, pport: unknown }