fix: update display labels and human friendly IDs across multiple schema files
This commit is contained in:
@@ -9,22 +9,14 @@ nodes:
|
||||
icon: "mdi:ip-network"
|
||||
include_in_menu: true
|
||||
human_friendly_id: ["name__value"]
|
||||
display_label: "{{ record.name__value }}"
|
||||
display_label: "name__value"
|
||||
order_by:
|
||||
- name__value
|
||||
attributes:
|
||||
- name: name
|
||||
kind: Text
|
||||
unique: true
|
||||
optional: false
|
||||
description: "Namespace name (e.g., Global, Tenant1)"
|
||||
- name: description
|
||||
kind: Text
|
||||
optional: true
|
||||
description: "Namespace description"
|
||||
inherit_from:
|
||||
- "BuiltinIPNamespace"
|
||||
relationships:
|
||||
- name: organization
|
||||
peer: CoreOrganization
|
||||
peer: OrganizationOrganization
|
||||
optional: true
|
||||
cardinality: one
|
||||
kind: Attribute
|
||||
@@ -35,7 +27,7 @@ nodes:
|
||||
icon: "mdi:ip-network-outline"
|
||||
include_in_menu: true
|
||||
human_friendly_id: ["prefix__value"]
|
||||
display_label: "{{ ' - '.join(filter(None, [record.prefix__value, record.description__value])) }}"
|
||||
display_label: "prefix__value"
|
||||
order_by:
|
||||
- prefix__value
|
||||
attributes:
|
||||
@@ -93,12 +85,14 @@ nodes:
|
||||
kind: Attribute
|
||||
- name: parent
|
||||
peer: IpamIPPrefix
|
||||
identifier: ip_prefix__parent
|
||||
optional: true
|
||||
cardinality: one
|
||||
kind: Attribute
|
||||
description: "Parent prefix"
|
||||
- name: children
|
||||
peer: IpamIPPrefix
|
||||
identifier: ip_prefix__children
|
||||
optional: true
|
||||
cardinality: many
|
||||
kind: Generic
|
||||
@@ -121,7 +115,7 @@ nodes:
|
||||
icon: "mdi:ip"
|
||||
include_in_menu: true
|
||||
human_friendly_id: ["address__value"]
|
||||
display_label: "{{ record.address__value }}"
|
||||
display_label: "address__value"
|
||||
order_by:
|
||||
- address__value
|
||||
attributes:
|
||||
|
||||
Reference in New Issue
Block a user