fix: migrate display_labels to display_label Jinja2 format in MLAG schema

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

View File

@@ -3,9 +3,9 @@
--- ---
version: "1.0" version: "1.0"
nodes: nodes:
# ========================================================================== # ===================================================================
# MLAG Domain # MLAG Domain
# ========================================================================== # ===================================================================
- name: MlagDomain - name: MlagDomain
namespace: Infra namespace: Infra
description: MLAG domain configuration for leaf pair description: MLAG domain configuration for leaf pair
@@ -13,8 +13,7 @@ nodes:
icon: mdi--link-variant icon: mdi--link-variant
human_friendly_id: human_friendly_id:
- domain_id__value - domain_id__value
display_labels: display_label: "{{ domain_id__value }}"
- domain_id__value
attributes: attributes:
- name: domain_id - name: domain_id
kind: Text kind: Text
@@ -65,9 +64,9 @@ nodes:
optional: true optional: true
description: VLAN for iBGP peering between MLAG peers description: VLAN for iBGP peering between MLAG peers
# ========================================================================== # ===================================================================
# MLAG Peer Configuration (per device) # MLAG Peer Configuration (per device)
# ========================================================================== # ===================================================================
- name: MlagPeerConfig - name: MlagPeerConfig
namespace: Infra namespace: Infra
description: MLAG configuration on a specific device description: MLAG configuration on a specific device
@@ -75,8 +74,7 @@ nodes:
icon: mdi--server-network icon: mdi--server-network
human_friendly_id: human_friendly_id:
- device__name__value - device__name__value
display_labels: display_label: "{{ local_interface_ip__value }}"
- local_interface_ip__value
attributes: attributes:
- name: local_interface_ip - name: local_interface_ip
kind: IPNetwork kind: IPNetwork
@@ -105,16 +103,15 @@ nodes:
cardinality: one cardinality: one
description: Peer-link port-channel description: Peer-link port-channel
# ========================================================================== # ===================================================================
# MLAG Interface (MLAG-enabled LAG) # MLAG Interface (MLAG-enabled LAG)
# ========================================================================== # ===================================================================
- name: MlagInterface - name: MlagInterface
namespace: Infra namespace: Infra
description: MLAG interface configuration description: MLAG interface configuration
label: MLAG Interface label: MLAG Interface
icon: mdi--ethernet-cable icon: mdi--ethernet-cable
display_labels: display_label: "{{ mlag_id__value }}"
- mlag_id__value
attributes: attributes:
- name: mlag_id - name: mlag_id
kind: Number kind: Number