fix(schema): display_labels must only reference local attributes in mlag.yml

This commit is contained in:
2026-02-06 13:08:04 +00:00
parent 42d03699d9
commit 95bd2ee6c8

View File

@@ -3,15 +3,16 @@
---
version: "1.0"
nodes:
# =============================================================================
# ==========================================================================
# MLAG Domain
# =============================================================================
# ==========================================================================
- name: MlagDomain
namespace: Infra
description: MLAG domain configuration for leaf pair
label: MLAG Domain
icon: mdi--link-variant
default_filter: domain_id__value
human_friendly_id:
- domain_id__value
display_labels:
- domain_id__value
attributes:
@@ -64,16 +65,18 @@ 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
label: MLAG Peer Config
icon: mdi--server-network
display_labels:
human_friendly_id:
- device__name__value
display_labels:
- local_interface_ip__value
attributes:
- name: local_interface_ip
kind: IPNetwork
@@ -101,9 +104,9 @@ nodes:
cardinality: one
description: Peer-link port-channel
# =============================================================================
# ==========================================================================
# MLAG Interface (MLAG-enabled LAG)
# =============================================================================
# ==========================================================================
- name: MlagInterface
namespace: Infra
description: MLAG interface configuration