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