63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
# VRFs, Route Targets, VRF Device Assignments
|
|
# Depends on: 02-devices, 03-interfaces, 05-vlans-vxlan (VNI 100001)
|
|
#
|
|
# VRF gold is used on leaf3/4 (VLAN 34) and leaf7/8 (VLAN 78 + border)
|
|
# L3VNI 100001 for symmetric IRB
|
|
# Route targets: import/export evpn 1:100001
|
|
# Per-device RD: <router-id>:1
|
|
---
|
|
apiVersion: infrahub.app/v1
|
|
kind: Object
|
|
spec:
|
|
kind: InfraRouteTarget
|
|
data:
|
|
- target: "1:100001"
|
|
description: VRF gold EVPN route target
|
|
---
|
|
apiVersion: infrahub.app/v1
|
|
kind: Object
|
|
spec:
|
|
kind: InfraVRF
|
|
data:
|
|
- name: gold
|
|
description: VRF gold - L3 VXLAN with symmetric IRB
|
|
l3vni: ["100001"]
|
|
import_targets:
|
|
- ["1:100001"]
|
|
export_targets:
|
|
- ["1:100001"]
|
|
---
|
|
apiVersion: infrahub.app/v1
|
|
kind: Object
|
|
spec:
|
|
kind: InfraVRFDeviceAssignment
|
|
data:
|
|
- device: ["leaf3"]
|
|
vrf: ["gold"]
|
|
route_distinguisher: "10.0.250.13:1"
|
|
import_targets:
|
|
- ["1:100001"]
|
|
export_targets:
|
|
- ["1:100001"]
|
|
- device: ["leaf4"]
|
|
vrf: ["gold"]
|
|
route_distinguisher: "10.0.250.14:1"
|
|
import_targets:
|
|
- ["1:100001"]
|
|
export_targets:
|
|
- ["1:100001"]
|
|
- device: ["leaf7"]
|
|
vrf: ["gold"]
|
|
route_distinguisher: "10.0.250.17:1"
|
|
import_targets:
|
|
- ["1:100001"]
|
|
export_targets:
|
|
- ["1:100001"]
|
|
- device: ["leaf8"]
|
|
vrf: ["gold"]
|
|
route_distinguisher: "10.0.250.18:1"
|
|
import_targets:
|
|
- ["1:100001"]
|
|
export_targets:
|
|
- ["1:100001"]
|