fix: update display labels and human friendly IDs across multiple schema files
This commit is contained in:
@@ -9,7 +9,7 @@ nodes:
|
||||
icon: "mdi:map-marker-path"
|
||||
include_in_menu: true
|
||||
human_friendly_id: ["name__value"]
|
||||
display_label: "{{ record.name__value }}"
|
||||
display_label: "name__value"
|
||||
order_by:
|
||||
- name__value
|
||||
attributes:
|
||||
@@ -57,7 +57,7 @@ nodes:
|
||||
icon: "mdi:format-list-numbered"
|
||||
include_in_menu: true
|
||||
human_friendly_id: ["name__value"]
|
||||
display_label: "{{ record.name__value }}"
|
||||
display_label: "name__value"
|
||||
order_by:
|
||||
- name__value
|
||||
attributes:
|
||||
@@ -126,7 +126,7 @@ nodes:
|
||||
icon: "mdi:router"
|
||||
include_in_menu: false
|
||||
human_friendly_id: ["device__hostname__value"]
|
||||
display_label: "{{ ' - '.join(filter(None, [record.device__hostname__value, record.process_id__value])) }}"
|
||||
display_label: "process_id__value"
|
||||
attributes:
|
||||
- name: process_id
|
||||
kind: Number
|
||||
@@ -164,8 +164,8 @@ nodes:
|
||||
label: "OSPF Area"
|
||||
icon: "mdi:circle-outline"
|
||||
include_in_menu: false
|
||||
human_friendly_id: ["ospf_config__device__hostname__value", "area_id__value"]
|
||||
display_label: "{{ record.area_id__value }}"
|
||||
human_friendly_id: ["area_id__value"]
|
||||
display_label: "area_id__value"
|
||||
attributes:
|
||||
- name: area_id
|
||||
kind: Text
|
||||
@@ -205,9 +205,14 @@ nodes:
|
||||
label: "OSPF Interface"
|
||||
icon: "mdi:ethernet"
|
||||
include_in_menu: false
|
||||
human_friendly_id: ["interface__device__hostname__value", "interface__name__value"]
|
||||
display_label: "{{ record.interface__name__value }}"
|
||||
human_friendly_id: ["identifier__value"]
|
||||
display_label: "network_type__value"
|
||||
attributes:
|
||||
- name: identifier
|
||||
kind: Text
|
||||
unique: true
|
||||
optional: false
|
||||
description: "Unique identifier for this OSPF interface"
|
||||
- name: network_type
|
||||
kind: Dropdown
|
||||
optional: false
|
||||
|
||||
Reference in New Issue
Block a user