fix(schema): display_labels must only reference local attributes in extensions.yml
This commit is contained in:
@@ -3,15 +3,16 @@
|
|||||||
---
|
---
|
||||||
version: "1.0"
|
version: "1.0"
|
||||||
nodes:
|
nodes:
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# Fabric (Top-level container for all fabric objects)
|
# Fabric (Top-level container for all fabric objects)
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: Fabric
|
- name: Fabric
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: EVPN-VXLAN Fabric definition
|
description: EVPN-VXLAN Fabric definition
|
||||||
label: Fabric
|
label: Fabric
|
||||||
icon: mdi--vector-polygon
|
icon: mdi--vector-polygon
|
||||||
default_filter: name__value
|
human_friendly_id:
|
||||||
|
- name__value
|
||||||
order_by:
|
order_by:
|
||||||
- name__value
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
@@ -57,18 +58,20 @@ nodes:
|
|||||||
cardinality: many
|
cardinality: many
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# Underlay P2P Link
|
# Underlay P2P Link
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: UnderlayLink
|
- name: UnderlayLink
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: Point-to-point underlay link between devices
|
description: Point-to-point underlay link between devices
|
||||||
label: Underlay Link
|
label: Underlay Link
|
||||||
icon: mdi--cable-data
|
icon: mdi--cable-data
|
||||||
display_labels:
|
display_labels:
|
||||||
- local_device__name__value
|
- description__value
|
||||||
- remote_device__name__value
|
|
||||||
attributes:
|
attributes:
|
||||||
|
- name: description
|
||||||
|
kind: Text
|
||||||
|
description: Link description (e.g., spine1:eth1 <-> leaf1:eth11)
|
||||||
- name: local_ip
|
- name: local_ip
|
||||||
kind: IPNetwork
|
kind: IPNetwork
|
||||||
description: Local interface IP with mask
|
description: Local interface IP with mask
|
||||||
@@ -104,15 +107,16 @@ nodes:
|
|||||||
cardinality: one
|
cardinality: one
|
||||||
direction: outbound
|
direction: outbound
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# Host Connection
|
# Host Connection
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: HostConnection
|
- name: HostConnection
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: Host connection to fabric (single or dual-homed)
|
description: Host connection to fabric (single or dual-homed)
|
||||||
label: Host Connection
|
label: Host Connection
|
||||||
icon: mdi--desktop-tower
|
icon: mdi--desktop-tower
|
||||||
default_filter: hostname__value
|
human_friendly_id:
|
||||||
|
- hostname__value
|
||||||
display_labels:
|
display_labels:
|
||||||
- hostname__value
|
- hostname__value
|
||||||
attributes:
|
attributes:
|
||||||
|
|||||||
Reference in New Issue
Block a user