From 2ca08a4f4151f873f9459ecda4f0e904a01dff39 Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Fri, 6 Feb 2026 13:08:30 +0000 Subject: [PATCH] fix(schema): display_labels must only reference local attributes in vlan_vxlan.yml --- schemas/vlan_vxlan.yml | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/schemas/vlan_vxlan.yml b/schemas/vlan_vxlan.yml index 765a8a7..6cddb4d 100644 --- a/schemas/vlan_vxlan.yml +++ b/schemas/vlan_vxlan.yml @@ -3,15 +3,16 @@ --- version: "1.0" nodes: - # ============================================================================= + # ========================================================================== # VLAN - # ============================================================================= + # ========================================================================== - name: VLAN namespace: Infra description: Virtual LAN configuration label: VLAN icon: mdi--lan-connect - default_filter: vlan_id__value + human_friendly_id: + - vlan_id__value order_by: - vlan_id__value display_labels: @@ -62,15 +63,16 @@ nodes: cardinality: one optional: true - # ============================================================================= + # ========================================================================== # VNI (VXLAN Network Identifier) - # ============================================================================= + # ========================================================================== - name: VNI namespace: Infra description: VXLAN Network Identifier label: VNI icon: mdi--tunnel-outline - default_filter: vni__value + human_friendly_id: + - vni__value order_by: - vni__value display_labels: @@ -106,17 +108,18 @@ 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 - default_filter: source_address__value - display_labels: + human_friendly_id: - device__name__value + display_labels: + - source_address__value attributes: - name: source_address kind: IPHost @@ -147,17 +150,21 @@ 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 display_labels: - - vlan__vlan_id__value - - vni__vni__value + - description__value + attributes: + - name: description + kind: Text + optional: true + description: "Mapping description (e.g., VLAN 40 <-> VNI 10040)" relationships: - name: vtep peer: InfraVTEP @@ -170,17 +177,16 @@ 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 - default_filter: vlan__vlan_id__value display_labels: - - vlan__vlan_id__value + - route_distinguisher__value attributes: - name: route_distinguisher kind: Text