fix(schema): display_labels must only reference local attributes in vrf.yml

This commit is contained in:
2026-02-06 13:08:59 +00:00
parent 2ca08a4f41
commit 52c335aeb0

View File

@@ -3,15 +3,16 @@
---
version: "1.0"
nodes:
# =============================================================================
# ==========================================================================
# VRF (Virtual Routing and Forwarding)
# =============================================================================
# ==========================================================================
- name: VRF
namespace: Infra
description: Virtual Routing and Forwarding instance
label: VRF
icon: mdi--router
default_filter: name__value
human_friendly_id:
- name__value
order_by:
- name__value
display_labels:
@@ -55,15 +56,16 @@ nodes:
optional: true
description: Interfaces assigned to this VRF
# =============================================================================
# ==========================================================================
# Route Target
# =============================================================================
# ==========================================================================
- name: RouteTarget
namespace: Infra
description: BGP Route Target for VPN import/export
label: Route Target
icon: mdi--target
default_filter: target__value
human_friendly_id:
- target__value
order_by:
- target__value
display_labels:
@@ -77,17 +79,19 @@ nodes:
kind: Text
optional: true
# =============================================================================
# ==========================================================================
# VRF Device Assignment
# =============================================================================
# ==========================================================================
- name: VRFDeviceAssignment
namespace: Infra
description: VRF assignment to a specific device
label: VRF Assignment
icon: mdi--router-network
display_labels:
- vrf__name__value
human_friendly_id:
- device__name__value
- vrf__name__value
display_labels:
- route_distinguisher__value
attributes:
- name: route_distinguisher
kind: Text