fix: update display labels and human friendly IDs across multiple schema files

This commit is contained in:
darnodo
2025-11-12 15:37:06 +01:00
parent 074ae2d71c
commit 0232d46b4a
10 changed files with 58 additions and 49 deletions

View File

@@ -9,7 +9,7 @@ nodes:
icon: "mdi:ethernet"
include_in_menu: true
human_friendly_id: ["device__hostname__value", "name__value"]
display_label: "{{ ' - '.join(filter(None, [record.name__value, record.description__value])) }}"
display_label: "name__value"
order_by:
- device__hostname__value
- name__value
@@ -117,7 +117,7 @@ nodes:
label: Active
- name: passive
label: Passive
- name: on
- name: "on"
label: On (no LACP)
description: "LACP mode for port-channel"
@@ -156,6 +156,7 @@ nodes:
- name: unnumbered_source
peer: NetworkInterface
identifier: interface__unnumbered_source
optional: true
cardinality: one
kind: Attribute
@@ -170,6 +171,7 @@ nodes:
- name: port_channel
peer: NetworkInterface
identifier: interface__port_channel
optional: true
cardinality: one
kind: Attribute
@@ -177,6 +179,7 @@ nodes:
- name: member_interfaces
peer: NetworkInterface
identifier: interface__member_interfaces
optional: true
cardinality: many
kind: Generic
@@ -184,6 +187,7 @@ nodes:
- name: connected_to
peer: NetworkInterface
identifier: interface__connected_to
optional: true
cardinality: one
kind: Attribute