fix: migrate display_labels to display_label Jinja2 format in extensions schema

Refs #41
This commit is contained in:
2026-02-07 09:17:26 +00:00
parent cda3804c2c
commit 498fa8505e

View File

@@ -3,9 +3,9 @@
--- ---
version: "1.0" version: "1.0"
nodes: nodes:
# ========================================================================== # ===================================================================
# Fabric (Top-level container for all fabric objects) # Fabric (Top-level container for all fabric objects)
# ========================================================================== # ===================================================================
- name: Fabric - name: Fabric
namespace: Infra namespace: Infra
description: EVPN-VXLAN Fabric definition description: EVPN-VXLAN Fabric definition
@@ -15,8 +15,7 @@ nodes:
- name__value - name__value
order_by: order_by:
- name__value - name__value
display_labels: display_label: "{{ name__value }}"
- name__value
attributes: attributes:
- name: name - name: name
kind: Text kind: Text
@@ -58,16 +57,15 @@ nodes:
cardinality: many cardinality: many
optional: true optional: true
# ========================================================================== # ===================================================================
# Underlay P2P Link # Underlay P2P Link
# ========================================================================== # ===================================================================
- name: UnderlayLink - name: UnderlayLink
namespace: Infra namespace: Infra
description: Point-to-point underlay link between devices description: Point-to-point underlay link between devices
label: Underlay Link label: Underlay Link
icon: mdi--cable-data icon: mdi--cable-data
display_labels: display_label: "{{ description__value }}"
- description__value
attributes: attributes:
- name: description - name: description
kind: Text kind: Text
@@ -108,9 +106,9 @@ nodes:
cardinality: one cardinality: one
direction: outbound direction: outbound
# ========================================================================== # ===================================================================
# Host Connection # Host Connection
# ========================================================================== # ===================================================================
- name: HostConnection - name: HostConnection
namespace: Infra namespace: Infra
description: Host connection to fabric (single or dual-homed) description: Host connection to fabric (single or dual-homed)
@@ -118,8 +116,7 @@ nodes:
icon: mdi--desktop-tower icon: mdi--desktop-tower
human_friendly_id: human_friendly_id:
- hostname__value - hostname__value
display_labels: display_label: "{{ hostname__value }}"
- hostname__value
attributes: attributes:
- name: hostname - name: hostname
kind: Text kind: Text