fix(objects): remove AS 64999, rename fabric to evpn-lab, simplify .infrahub.yml — refs #52

This commit is contained in:
Damien
2026-02-15 15:03:47 +01:00
parent 14ebedadcb
commit 3838169ff7
3 changed files with 7 additions and 32 deletions

View File

@@ -1,17 +1,7 @@
# yaml-language-server: $schema=https://schema.infrahub.app/python-sdk/repository-config/latest.json
---
schemas:
- schemas/
- schemas
menus:
- menus/fabric-menu.yml
object_files:
- objects/01-foundation.yml
- objects/02-devices.yml
- objects/03-interfaces.yml
- objects/04-ipam.yml
- objects/05-vlans-vxlan.yml
- objects/06-bgp.yml
- objects/07-vrfs.yml
- objects/08-mlag.yml
- menus
objects:
- objects

View File

@@ -24,9 +24,6 @@ kind: Object
spec:
kind: InfraAutonomousSystem
data:
- asn: 64999
description: External border peer
as_type: private
- asn: 65000
description: Spine AS
as_type: private
@@ -48,7 +45,7 @@ kind: Object
spec:
kind: InfraFabric
data:
- name: evpn-fabric
- name: evpn-lab
description: Arista EVPN-VXLAN reference fabric
underlay_protocol: ebgp
overlay_protocol: evpn

View File

@@ -743,7 +743,7 @@ spec:
peer_group: ["10.0.250.16", "evpn"]
peer_device: spine2
# ============================================================
# Leaf7 sessions (+ VRF gold border session)
# Leaf7 sessions
# ============================================================
- bgp_config: leaf7
peer_address: "10.0.1.12"
@@ -770,14 +770,8 @@ spec:
description: "EVPN to spine2"
peer_group: ["10.0.250.17", "evpn"]
peer_device: spine2
# Border session in VRF gold
- bgp_config: leaf7
peer_address: "10.90.90.1"
description: "VRF gold border to AS 64999"
remote_asn: "64999"
vrf: gold
# ============================================================
# Leaf8 sessions (+ VRF gold border session)
# Leaf8 sessions
# ============================================================
- bgp_config: leaf8
peer_address: "10.0.1.14"
@@ -804,12 +798,6 @@ spec:
description: "EVPN to spine2"
peer_group: ["10.0.250.18", "evpn"]
peer_device: spine2
# Border session in VRF gold
- bgp_config: leaf8
peer_address: "10.90.90.1"
description: "VRF gold border to AS 64999"
remote_asn: "64999"
vrf: gold
---
apiVersion: infrahub.app/v1
kind: Object