fix(objects): remove AS 64999, rename fabric to evpn-lab, simplify .infrahub.yml — refs #52
This commit is contained in:
@@ -1,17 +1,7 @@
|
|||||||
# yaml-language-server: $schema=https://schema.infrahub.app/python-sdk/repository-config/latest.json
|
|
||||||
---
|
---
|
||||||
schemas:
|
schemas:
|
||||||
- schemas/
|
- schemas
|
||||||
|
|
||||||
menus:
|
menus:
|
||||||
- menus/fabric-menu.yml
|
- menus
|
||||||
|
objects:
|
||||||
object_files:
|
- objects
|
||||||
- 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
|
|
||||||
|
|||||||
@@ -24,9 +24,6 @@ kind: Object
|
|||||||
spec:
|
spec:
|
||||||
kind: InfraAutonomousSystem
|
kind: InfraAutonomousSystem
|
||||||
data:
|
data:
|
||||||
- asn: 64999
|
|
||||||
description: External border peer
|
|
||||||
as_type: private
|
|
||||||
- asn: 65000
|
- asn: 65000
|
||||||
description: Spine AS
|
description: Spine AS
|
||||||
as_type: private
|
as_type: private
|
||||||
@@ -48,7 +45,7 @@ kind: Object
|
|||||||
spec:
|
spec:
|
||||||
kind: InfraFabric
|
kind: InfraFabric
|
||||||
data:
|
data:
|
||||||
- name: evpn-fabric
|
- name: evpn-lab
|
||||||
description: Arista EVPN-VXLAN reference fabric
|
description: Arista EVPN-VXLAN reference fabric
|
||||||
underlay_protocol: ebgp
|
underlay_protocol: ebgp
|
||||||
overlay_protocol: evpn
|
overlay_protocol: evpn
|
||||||
|
|||||||
@@ -743,7 +743,7 @@ spec:
|
|||||||
peer_group: ["10.0.250.16", "evpn"]
|
peer_group: ["10.0.250.16", "evpn"]
|
||||||
peer_device: spine2
|
peer_device: spine2
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# Leaf7 sessions (+ VRF gold border session)
|
# Leaf7 sessions
|
||||||
# ============================================================
|
# ============================================================
|
||||||
- bgp_config: leaf7
|
- bgp_config: leaf7
|
||||||
peer_address: "10.0.1.12"
|
peer_address: "10.0.1.12"
|
||||||
@@ -770,14 +770,8 @@ spec:
|
|||||||
description: "EVPN to spine2"
|
description: "EVPN to spine2"
|
||||||
peer_group: ["10.0.250.17", "evpn"]
|
peer_group: ["10.0.250.17", "evpn"]
|
||||||
peer_device: spine2
|
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
|
- bgp_config: leaf8
|
||||||
peer_address: "10.0.1.14"
|
peer_address: "10.0.1.14"
|
||||||
@@ -804,12 +798,6 @@ spec:
|
|||||||
description: "EVPN to spine2"
|
description: "EVPN to spine2"
|
||||||
peer_group: ["10.0.250.18", "evpn"]
|
peer_group: ["10.0.250.18", "evpn"]
|
||||||
peer_device: spine2
|
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
|
apiVersion: infrahub.app/v1
|
||||||
kind: Object
|
kind: Object
|
||||||
|
|||||||
Reference in New Issue
Block a user