fix(schema): replace deprecated default_filter with human_friendly_id in base.yml
This commit is contained in:
@@ -9,6 +9,8 @@ generics:
|
|||||||
label: Interface
|
label: Interface
|
||||||
include_in_menu: false
|
include_in_menu: false
|
||||||
hierarchical: false
|
hierarchical: false
|
||||||
|
display_labels:
|
||||||
|
- name__value
|
||||||
attributes:
|
attributes:
|
||||||
- name: name
|
- name: name
|
||||||
kind: Text
|
kind: Text
|
||||||
@@ -34,15 +36,16 @@ generics:
|
|||||||
kind: Component
|
kind: Component
|
||||||
|
|
||||||
nodes:
|
nodes:
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# Location
|
# Location
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: Site
|
- name: Site
|
||||||
namespace: Location
|
namespace: Location
|
||||||
description: Physical site or data center
|
description: Physical site or data center
|
||||||
label: Site
|
label: Site
|
||||||
icon: mingcute--building-4-line
|
icon: mingcute--building-4-line
|
||||||
default_filter: name__value
|
human_friendly_id:
|
||||||
|
- name__value
|
||||||
order_by:
|
order_by:
|
||||||
- name__value
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
@@ -59,15 +62,16 @@ nodes:
|
|||||||
optional: true
|
optional: true
|
||||||
description: Facility identifier or code
|
description: Facility identifier or code
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# Platform
|
# Platform
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: Platform
|
- name: Platform
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: Device platform/OS (e.g., Arista EOS, Cisco NX-OS)
|
description: Device platform/OS (e.g., Arista EOS, Cisco NX-OS)
|
||||||
label: Platform
|
label: Platform
|
||||||
icon: mdi--chip
|
icon: mdi--chip
|
||||||
default_filter: name__value
|
human_friendly_id:
|
||||||
|
- name__value
|
||||||
order_by:
|
order_by:
|
||||||
- name__value
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
@@ -89,15 +93,16 @@ nodes:
|
|||||||
optional: true
|
optional: true
|
||||||
description: Netmiko device type
|
description: Netmiko device type
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# Device
|
# Device
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: Device
|
- name: Device
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: Network device (spine, leaf, etc.)
|
description: Network device (spine, leaf, etc.)
|
||||||
label: Device
|
label: Device
|
||||||
icon: mdi--server-network
|
icon: mdi--server-network
|
||||||
default_filter: name__value
|
human_friendly_id:
|
||||||
|
- name__value
|
||||||
order_by:
|
order_by:
|
||||||
- name__value
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
@@ -166,9 +171,9 @@ nodes:
|
|||||||
cardinality: one
|
cardinality: one
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# Interface Types (inherit from InfraInterface generic)
|
# Interface Types (inherit from InfraInterface generic)
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: InterfaceEthernet
|
- name: InterfaceEthernet
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: Physical Ethernet interface
|
description: Physical Ethernet interface
|
||||||
@@ -176,7 +181,11 @@ nodes:
|
|||||||
icon: mdi--ethernet
|
icon: mdi--ethernet
|
||||||
inherit_from:
|
inherit_from:
|
||||||
- InfraInterface
|
- InfraInterface
|
||||||
default_filter: name__value
|
uniqueness_constraints:
|
||||||
|
- ["device", "name__value"]
|
||||||
|
human_friendly_id:
|
||||||
|
- device__name__value
|
||||||
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
- name__value
|
- name__value
|
||||||
attributes:
|
attributes:
|
||||||
@@ -226,7 +235,11 @@ nodes:
|
|||||||
icon: mdi--reload
|
icon: mdi--reload
|
||||||
inherit_from:
|
inherit_from:
|
||||||
- InfraInterface
|
- InfraInterface
|
||||||
default_filter: name__value
|
uniqueness_constraints:
|
||||||
|
- ["device", "name__value"]
|
||||||
|
human_friendly_id:
|
||||||
|
- device__name__value
|
||||||
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
- name__value
|
- name__value
|
||||||
|
|
||||||
@@ -237,7 +250,11 @@ nodes:
|
|||||||
icon: mdi--lan
|
icon: mdi--lan
|
||||||
inherit_from:
|
inherit_from:
|
||||||
- InfraInterface
|
- InfraInterface
|
||||||
default_filter: name__value
|
uniqueness_constraints:
|
||||||
|
- ["device", "name__value"]
|
||||||
|
human_friendly_id:
|
||||||
|
- device__name__value
|
||||||
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
- name__value
|
- name__value
|
||||||
relationships:
|
relationships:
|
||||||
@@ -253,7 +270,11 @@ nodes:
|
|||||||
icon: mdi--link-variant
|
icon: mdi--link-variant
|
||||||
inherit_from:
|
inherit_from:
|
||||||
- InfraInterface
|
- InfraInterface
|
||||||
default_filter: name__value
|
uniqueness_constraints:
|
||||||
|
- ["device", "name__value"]
|
||||||
|
human_friendly_id:
|
||||||
|
- device__name__value
|
||||||
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
- name__value
|
- name__value
|
||||||
attributes:
|
attributes:
|
||||||
@@ -284,7 +305,11 @@ nodes:
|
|||||||
icon: mdi--tunnel
|
icon: mdi--tunnel
|
||||||
inherit_from:
|
inherit_from:
|
||||||
- InfraInterface
|
- InfraInterface
|
||||||
default_filter: name__value
|
uniqueness_constraints:
|
||||||
|
- ["device", "name__value"]
|
||||||
|
human_friendly_id:
|
||||||
|
- device__name__value
|
||||||
|
- name__value
|
||||||
display_labels:
|
display_labels:
|
||||||
- name__value
|
- name__value
|
||||||
attributes:
|
attributes:
|
||||||
@@ -297,15 +322,16 @@ nodes:
|
|||||||
cardinality: one
|
cardinality: one
|
||||||
description: VTEP source interface (typically Loopback1)
|
description: VTEP source interface (typically Loopback1)
|
||||||
|
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
# IP Address
|
# IP Address
|
||||||
# =============================================================================
|
# ==========================================================================
|
||||||
- name: IPAddress
|
- name: IPAddress
|
||||||
namespace: Infra
|
namespace: Infra
|
||||||
description: IP Address assignment
|
description: IP Address assignment
|
||||||
label: IP Address
|
label: IP Address
|
||||||
icon: mdi--ip-network
|
icon: mdi--ip-network
|
||||||
default_filter: address__value
|
human_friendly_id:
|
||||||
|
- address__value
|
||||||
order_by:
|
order_by:
|
||||||
- address__value
|
- address__value
|
||||||
display_labels:
|
display_labels:
|
||||||
|
|||||||
Reference in New Issue
Block a user