[Phase 2] Define Infrahub Schema for EVPN-VXLAN Fabric #51
@@ -3,14 +3,15 @@
|
||||
---
|
||||
version: "1.0"
|
||||
nodes:
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# VLAN
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: VLAN
|
||||
namespace: Infra
|
||||
description: Virtual LAN configuration
|
||||
label: VLAN
|
||||
icon: mdi--lan-connect
|
||||
include_in_menu: false
|
||||
human_friendly_id:
|
||||
- vlan_id__value
|
||||
order_by:
|
||||
@@ -61,14 +62,15 @@ nodes:
|
||||
cardinality: one
|
||||
optional: true
|
||||
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# VNI (VXLAN Network Identifier)
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: VNI
|
||||
namespace: Infra
|
||||
description: VXLAN Network Identifier
|
||||
label: VNI
|
||||
icon: mdi--tunnel-outline
|
||||
include_in_menu: false
|
||||
human_friendly_id:
|
||||
- vni__value
|
||||
order_by:
|
||||
@@ -105,14 +107,15 @@ nodes:
|
||||
optional: true
|
||||
description: Associated VRF for L3VNI
|
||||
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# VTEP (VXLAN Tunnel Endpoint)
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: VTEP
|
||||
namespace: Infra
|
||||
description: VXLAN Tunnel Endpoint configuration
|
||||
label: VTEP
|
||||
icon: mdi--server-network-outline
|
||||
include_in_menu: false
|
||||
human_friendly_id:
|
||||
- device__name__value
|
||||
display_label: "{{ source_address__value }}"
|
||||
@@ -147,14 +150,15 @@ nodes:
|
||||
cardinality: many
|
||||
kind: Component
|
||||
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# VLAN to VNI Mapping (per-device)
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: VlanVniMapping
|
||||
namespace: Infra
|
||||
description: VLAN to VNI mapping on a VTEP
|
||||
label: VLAN-VNI Mapping
|
||||
icon: mdi--swap-horizontal
|
||||
include_in_menu: false
|
||||
display_label: "{{ description__value }}"
|
||||
attributes:
|
||||
- name: description
|
||||
@@ -174,14 +178,15 @@ nodes:
|
||||
peer: InfraVNI
|
||||
cardinality: one
|
||||
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# EVPN Instance (per VLAN)
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: EVPNInstance
|
||||
namespace: Infra
|
||||
description: EVPN instance configuration (route targets for L2 extension)
|
||||
label: EVPN Instance
|
||||
icon: mdi--cloud-sync
|
||||
include_in_menu: false
|
||||
display_label: "{{ route_distinguisher__value }}"
|
||||
attributes:
|
||||
- name: route_distinguisher
|
||||
|
||||
Reference in New Issue
Block a user