feature/52-object-files #53

Merged
Damien merged 29 commits from feature/52-object-files into main 2026-02-20 15:14:03 +00:00
9 changed files with 16 additions and 15 deletions
Showing only changes of commit 5f071e5716 - Show all commits

View File

@@ -1,4 +1,4 @@
# Foundation objects: Fabric, Platform, Site, Autonomous Systems
# Foundation objects: Site, Platform, Autonomous Systems
# Must be loaded first — referenced by all subsequent files
---
apiVersion: infrahub.app/v1
@@ -39,17 +39,3 @@ spec:
- asn: 65004
description: Leaf pair 4 (leaf7/leaf8)
as_type: private
---
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

15
objects/02-fabric.yml Normal file
View File

@@ -0,0 +1,15 @@
# 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