fix(objects): split foundation/fabric and renumber files for load order — refs #52
This commit is contained in:
@@ -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
|
# Must be loaded first — referenced by all subsequent files
|
||||||
---
|
---
|
||||||
apiVersion: infrahub.app/v1
|
apiVersion: infrahub.app/v1
|
||||||
@@ -39,17 +39,3 @@ spec:
|
|||||||
- asn: 65004
|
- asn: 65004
|
||||||
description: Leaf pair 4 (leaf7/leaf8)
|
description: Leaf pair 4 (leaf7/leaf8)
|
||||||
as_type: private
|
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
15
objects/02-fabric.yml
Normal 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
|
||||||
Reference in New Issue
Block a user