fix(schema): display_labels must only reference attributes, not relationships
This commit is contained in:
@@ -3,15 +3,16 @@
|
|||||||
---
|
---
|
||||||
version: "1.0"
|
version: "1.0"
|
||||||
nodes:
|
nodes:
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# Autonomous System
|
# Autonomous System
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: AutonomousSystem
|
- name: AutonomousSystem
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: BGP Autonomous System
|
description: BGP Autonomous System
|
||||||
label: Autonomous System
|
label: Autonomous System
|
||||||
icon: mdi--cloud-outline
|
icon: mdi--cloud-outline
|
||||||
default_filter: asn__value
|
human_friendly_id:
|
||||||
|
- asn__value
|
||||||
order_by:
|
order_by:
|
||||||
- asn__value
|
- asn__value
|
||||||
display_labels:
|
display_labels:
|
||||||
@@ -34,16 +35,18 @@ nodes:
|
|||||||
- name: public
|
- name: public
|
||||||
label: Public
|
label: Public
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# BGP Router Configuration (per device)
|
# BGP Router Configuration (per device)
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: BGPRouterConfig
|
- name: BGPRouterConfig
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: BGP router configuration on a device
|
description: BGP router configuration on a device
|
||||||
label: BGP Router Config
|
label: BGP Router Config
|
||||||
icon: mdi--router-wireless
|
icon: mdi--router-wireless
|
||||||
display_labels:
|
human_friendly_id:
|
||||||
- device__name__value
|
- device__name__value
|
||||||
|
display_labels:
|
||||||
|
- router_id__value
|
||||||
attributes:
|
attributes:
|
||||||
- name: router_id
|
- name: router_id
|
||||||
kind: IPHost
|
kind: IPHost
|
||||||
@@ -80,15 +83,16 @@ nodes:
|
|||||||
cardinality: many
|
cardinality: many
|
||||||
kind: Component
|
kind: Component
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# BGP Peer Group
|
# BGP Peer Group
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: BGPPeerGroup
|
- name: BGPPeerGroup
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: BGP peer group template
|
description: BGP peer group template
|
||||||
label: BGP Peer Group
|
label: BGP Peer Group
|
||||||
icon: mdi--account-group
|
icon: mdi--account-group
|
||||||
default_filter: name__value
|
human_friendly_id:
|
||||||
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
- name__value
|
- name__value
|
||||||
attributes:
|
attributes:
|
||||||
@@ -151,15 +155,16 @@ nodes:
|
|||||||
cardinality: one
|
cardinality: one
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# BGP Session (Neighbor)
|
# BGP Session (Neighbor)
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: BGPSession
|
- name: BGPSession
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: BGP neighbor session
|
description: BGP neighbor session
|
||||||
label: BGP Session
|
label: BGP Session
|
||||||
icon: mdi--connection
|
icon: mdi--connection
|
||||||
default_filter: peer_address__value
|
human_friendly_id:
|
||||||
|
- peer_address__value
|
||||||
display_labels:
|
display_labels:
|
||||||
- peer_address__value
|
- peer_address__value
|
||||||
attributes:
|
attributes:
|
||||||
@@ -192,9 +197,9 @@ nodes:
|
|||||||
optional: true
|
optional: true
|
||||||
description: Remote peer device (for documentation)
|
description: Remote peer device (for documentation)
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# BGP Address Family Configuration
|
# BGP Address Family Configuration
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: BGPAddressFamily
|
- name: BGPAddressFamily
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: BGP address family configuration
|
description: BGP address family configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user