110 lines
2.5 KiB
YAML
110 lines
2.5 KiB
YAML
---
|
|
apiVersion: infrahub.app/v1
|
|
kind: Object
|
|
spec:
|
|
kind: InfraDevice
|
|
data:
|
|
# ==================== SPINES ====================
|
|
- name: spine1
|
|
role: spine
|
|
platform: Arista EOS
|
|
asn: spine-as
|
|
router_id: "10.0.250.1/32"
|
|
mgmt_ip: "172.16.0.1/24"
|
|
|
|
- name: spine2
|
|
role: spine
|
|
platform: Arista EOS
|
|
asn: spine-as
|
|
router_id: "10.0.250.2/32"
|
|
mgmt_ip: "172.16.0.2/24"
|
|
|
|
# ==================== VTEP1 - AS 65001 (L2 VXLAN) ====================
|
|
- name: leaf1
|
|
role: leaf
|
|
platform: Arista EOS
|
|
asn: vtep1-as
|
|
router_id: "10.0.250.11/32"
|
|
mgmt_ip: "172.16.0.25/24"
|
|
mlag_peer: leaf2
|
|
|
|
- name: leaf2
|
|
role: leaf
|
|
platform: Arista EOS
|
|
asn: vtep1-as
|
|
router_id: "10.0.250.12/32"
|
|
mgmt_ip: "172.16.0.50/24"
|
|
mlag_peer: leaf1
|
|
|
|
# ==================== VTEP2 - AS 65002 (L3 VXLAN VRF gold) ====================
|
|
- name: leaf3
|
|
role: leaf
|
|
platform: Arista EOS
|
|
asn: vtep2-as
|
|
router_id: "10.0.250.13/32"
|
|
mgmt_ip: "172.16.0.27/24"
|
|
mlag_peer: leaf4
|
|
|
|
- name: leaf4
|
|
role: leaf
|
|
platform: Arista EOS
|
|
asn: vtep2-as
|
|
router_id: "10.0.250.14/32"
|
|
mgmt_ip: "172.16.0.28/24"
|
|
mlag_peer: leaf3
|
|
|
|
# ==================== VTEP3 - AS 65003 (L2 VXLAN) ====================
|
|
- name: leaf5
|
|
role: leaf
|
|
platform: Arista EOS
|
|
asn: vtep3-as
|
|
router_id: "10.0.250.15/32"
|
|
mgmt_ip: "172.16.0.29/24"
|
|
mlag_peer: leaf6
|
|
|
|
- name: leaf6
|
|
role: leaf
|
|
platform: Arista EOS
|
|
asn: vtep3-as
|
|
router_id: "10.0.250.16/32"
|
|
mgmt_ip: "172.16.0.30/24"
|
|
mlag_peer: leaf5
|
|
|
|
# ==================== VTEP4 - AS 65004 (L3 VXLAN VRF gold) ====================
|
|
- name: leaf7
|
|
role: leaf
|
|
platform: Arista EOS
|
|
asn: vtep4-as
|
|
router_id: "10.0.250.17/32"
|
|
mgmt_ip: "172.16.0.31/24"
|
|
mlag_peer: leaf8
|
|
|
|
- name: leaf8
|
|
role: leaf
|
|
platform: Arista EOS
|
|
asn: vtep4-as
|
|
router_id: "10.0.250.18/32"
|
|
mgmt_ip: "172.16.0.32/24"
|
|
mlag_peer: leaf7
|
|
|
|
# ==================== HOSTS ====================
|
|
- name: host1
|
|
role: host
|
|
platform: Linux
|
|
mgmt_ip: "172.16.0.101/24"
|
|
|
|
- name: host2
|
|
role: host
|
|
platform: Linux
|
|
mgmt_ip: "172.16.0.102/24"
|
|
|
|
- name: host3
|
|
role: host
|
|
platform: Linux
|
|
mgmt_ip: "172.16.0.103/24"
|
|
|
|
- name: host4
|
|
role: host
|
|
platform: Linux
|
|
mgmt_ip: "172.16.0.104/24"
|