feat: add base object data (platforms, ASNs, VRFs, VLANs)
This commit is contained in:
66
data/01_base.yml
Normal file
66
data/01_base.yml
Normal file
@@ -0,0 +1,66 @@
|
||||
---
|
||||
apiVersion: infrahub.app/v1
|
||||
kind: Object
|
||||
spec:
|
||||
kind: InfraPlatform
|
||||
data:
|
||||
- name: Arista EOS
|
||||
naplam_driver: eos
|
||||
netmiko_device_type: arista_eos
|
||||
containerlab_kind: arista_ceos
|
||||
- name: Linux
|
||||
containerlab_kind: linux
|
||||
---
|
||||
apiVersion: infrahub.app/v1
|
||||
kind: Object
|
||||
spec:
|
||||
kind: InfraAutonomousSystem
|
||||
data:
|
||||
- name: spine-as
|
||||
asn: 65000
|
||||
description: "Spine layer - BGP EVPN route reflectors"
|
||||
- name: vtep1-as
|
||||
asn: 65001
|
||||
description: "VTEP1 leaf pair (leaf1/leaf2) - L2 VXLAN"
|
||||
- name: vtep2-as
|
||||
asn: 65002
|
||||
description: "VTEP2 leaf pair (leaf3/leaf4) - L3 VXLAN VRF gold"
|
||||
- name: vtep3-as
|
||||
asn: 65003
|
||||
description: "VTEP3 leaf pair (leaf5/leaf6) - L2 VXLAN"
|
||||
- name: vtep4-as
|
||||
asn: 65004
|
||||
description: "VTEP4 leaf pair (leaf7/leaf8) - L3 VXLAN VRF gold"
|
||||
---
|
||||
apiVersion: infrahub.app/v1
|
||||
kind: Object
|
||||
spec:
|
||||
kind: InfraVRF
|
||||
data:
|
||||
- name: gold
|
||||
vni: 100001
|
||||
description: "VRF Gold - L3 VXLAN inter-VTEP routing"
|
||||
---
|
||||
apiVersion: infrahub.app/v1
|
||||
kind: Object
|
||||
spec:
|
||||
kind: InfraVLAN
|
||||
data:
|
||||
- name: test-l2-vxlan
|
||||
vlan_id: 40
|
||||
vni: 110040
|
||||
description: "L2 VXLAN stretched VLAN across VTEP1 and VTEP3"
|
||||
- name: vrf-gold-subnet-34
|
||||
vlan_id: 34
|
||||
vrf: gold
|
||||
description: "VRF Gold subnet on VTEP2 (leaf3/leaf4) - 10.34.34.0/24"
|
||||
- name: vrf-gold-subnet-78
|
||||
vlan_id: 78
|
||||
vrf: gold
|
||||
description: "VRF Gold subnet on VTEP4 (leaf7/leaf8) - 10.78.78.0/24"
|
||||
- name: mlag-peer
|
||||
vlan_id: 4090
|
||||
description: "MLAG peer-link SVI"
|
||||
- name: mlag-ibgp
|
||||
vlan_id: 4091
|
||||
description: "MLAG iBGP peering SVI"
|
||||
Reference in New Issue
Block a user