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"
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