fix: update display labels and human friendly IDs across multiple schema files
This commit is contained in:
@@ -8,8 +8,8 @@ nodes:
|
||||
label: "BGP Configuration"
|
||||
icon: "mdi:routes"
|
||||
include_in_menu: true
|
||||
human_friendly_id: ["device__hostname__value"]
|
||||
display_label: "{{ ' - '.join(filter(None, [record.device__hostname__value, record.asn__value])) }}"
|
||||
human_friendly_id: ["asn__value"]
|
||||
display_label: "asn__value"
|
||||
order_by:
|
||||
- device__hostname__value
|
||||
attributes:
|
||||
@@ -101,8 +101,8 @@ nodes:
|
||||
label: "BGP Peer Group"
|
||||
icon: "mdi:account-group"
|
||||
include_in_menu: false
|
||||
human_friendly_id: ["bgp_config__device__hostname__value", "name__value"]
|
||||
display_label: "{{ record.name__value }}"
|
||||
human_friendly_id: ["name__value"]
|
||||
display_label: "name__value"
|
||||
order_by:
|
||||
- name__value
|
||||
attributes:
|
||||
@@ -171,8 +171,8 @@ nodes:
|
||||
label: "BGP Neighbor"
|
||||
icon: "mdi:account-network"
|
||||
include_in_menu: false
|
||||
human_friendly_id: ["bgp_config__device__hostname__value", "neighbor_ip__value"]
|
||||
display_label: "{{ ' - '.join(filter(None, [record.neighbor_ip__value, record.description__value])) }}"
|
||||
human_friendly_id: ["neighbor_ip__value"]
|
||||
display_label: "neighbor_ip__value"
|
||||
order_by:
|
||||
- neighbor_ip__value
|
||||
attributes:
|
||||
@@ -236,8 +236,8 @@ nodes:
|
||||
label: "BGP Address Family"
|
||||
icon: "mdi:family-tree"
|
||||
include_in_menu: false
|
||||
human_friendly_id: ["bgp_config__device__hostname__value", "afi__value", "safi__value"]
|
||||
display_label: "{{ ' - '.join(filter(None, [record.afi__value, record.safi__value])) }}"
|
||||
human_friendly_id: ["afi__value", "safi__value"]
|
||||
display_label: "afi__value"
|
||||
attributes:
|
||||
- name: afi
|
||||
kind: Dropdown
|
||||
|
||||
Reference in New Issue
Block a user