From d9b47461d38387f8e090f46453faea9204d6921f Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Sat, 7 Feb 2026 09:17:46 +0000 Subject: [PATCH] fix: migrate display_labels to display_label Jinja2 format in MLAG schema Refs #41 --- schemas/mlag.yml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/schemas/mlag.yml b/schemas/mlag.yml index c549b81..e42be15 100644 --- a/schemas/mlag.yml +++ b/schemas/mlag.yml @@ -3,9 +3,9 @@ --- version: "1.0" nodes: - # ========================================================================== + # =================================================================== # MLAG Domain - # ========================================================================== + # =================================================================== - name: MlagDomain namespace: Infra description: MLAG domain configuration for leaf pair @@ -13,8 +13,7 @@ nodes: icon: mdi--link-variant human_friendly_id: - domain_id__value - display_labels: - - domain_id__value + display_label: "{{ domain_id__value }}" attributes: - name: domain_id kind: Text @@ -65,9 +64,9 @@ nodes: optional: true description: VLAN for iBGP peering between MLAG peers - # ========================================================================== + # =================================================================== # MLAG Peer Configuration (per device) - # ========================================================================== + # =================================================================== - name: MlagPeerConfig namespace: Infra description: MLAG configuration on a specific device @@ -75,8 +74,7 @@ nodes: icon: mdi--server-network human_friendly_id: - device__name__value - display_labels: - - local_interface_ip__value + display_label: "{{ local_interface_ip__value }}" attributes: - name: local_interface_ip kind: IPNetwork @@ -105,16 +103,15 @@ nodes: cardinality: one description: Peer-link port-channel - # ========================================================================== + # =================================================================== # MLAG Interface (MLAG-enabled LAG) - # ========================================================================== + # =================================================================== - name: MlagInterface namespace: Infra description: MLAG interface configuration label: MLAG Interface icon: mdi--ethernet-cable - display_labels: - - mlag_id__value + display_label: "{{ mlag_id__value }}" attributes: - name: mlag_id kind: Number