fix: update display labels and human friendly IDs across multiple schema files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user