All relation values now use the HFID list-of-strings format required by infrahubctl: - Cardinality one: device: ["spine1"], platform: ["arista_eos"] - Cardinality many: devices: - ["leaf1"], networks: - ["10.0.250.1/32"] - Composite HFIDs unchanged: peer_group: ["10.0.250.1", "evpn"] Files modified: 02-fabric, 03-devices, 04-interfaces, 06-vlans-vxlan, 07-bgp, 08-vrfs, 09-mlag (05-ipam already correct).
16 lines
408 B
YAML
16 lines
408 B
YAML
# Fabric definition — depends on LocationSite and InfraAutonomousSystem from 01-foundation
|
|
---
|
|
apiVersion: infrahub.app/v1
|
|
kind: Object
|
|
spec:
|
|
kind: InfraFabric
|
|
data:
|
|
- name: evpn-lab
|
|
description: Arista EVPN-VXLAN reference fabric
|
|
underlay_protocol: ebgp
|
|
overlay_protocol: evpn
|
|
anycast_gateway_mac: "c001.cafe.babe"
|
|
spine_asn: ["65000"]
|
|
sites:
|
|
- ["dc1"]
|