[Phase 2] Define Infrahub Schema for EVPN-VXLAN Fabric #51
@@ -37,14 +37,15 @@ generics:
|
||||
kind: Generic
|
||||
|
||||
nodes:
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# Location
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: Site
|
||||
namespace: Location
|
||||
description: Physical site or data center
|
||||
label: Site
|
||||
icon: mingcute--building-4-line
|
||||
include_in_menu: false
|
||||
human_friendly_id:
|
||||
- name__value
|
||||
order_by:
|
||||
@@ -62,14 +63,15 @@ nodes:
|
||||
optional: true
|
||||
description: Facility identifier or code
|
||||
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# Platform
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: Platform
|
||||
namespace: Infra
|
||||
description: Device platform/OS (e.g., Arista EOS, Cisco NX-OS)
|
||||
label: Platform
|
||||
icon: mdi--chip
|
||||
include_in_menu: false
|
||||
human_friendly_id:
|
||||
- name__value
|
||||
order_by:
|
||||
@@ -92,14 +94,15 @@ nodes:
|
||||
optional: true
|
||||
description: Netmiko device type
|
||||
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# Device
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: Device
|
||||
namespace: Infra
|
||||
description: Network device (spine, leaf, etc.)
|
||||
label: Device
|
||||
icon: mdi--server-network
|
||||
include_in_menu: false
|
||||
human_friendly_id:
|
||||
- name__value
|
||||
order_by:
|
||||
@@ -169,14 +172,15 @@ nodes:
|
||||
cardinality: one
|
||||
optional: true
|
||||
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# Interface Types (inherit from InfraInterface generic)
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: InterfaceEthernet
|
||||
namespace: Infra
|
||||
description: Physical Ethernet interface
|
||||
label: Ethernet Interface
|
||||
icon: mdi--ethernet
|
||||
include_in_menu: false
|
||||
inherit_from:
|
||||
- InfraInterface
|
||||
uniqueness_constraints:
|
||||
@@ -230,6 +234,7 @@ nodes:
|
||||
description: Loopback interface
|
||||
label: Loopback Interface
|
||||
icon: mdi--reload
|
||||
include_in_menu: false
|
||||
inherit_from:
|
||||
- InfraInterface
|
||||
uniqueness_constraints:
|
||||
@@ -244,6 +249,7 @@ nodes:
|
||||
description: VLAN SVI interface
|
||||
label: VLAN Interface
|
||||
icon: mdi--lan
|
||||
include_in_menu: false
|
||||
inherit_from:
|
||||
- InfraInterface
|
||||
uniqueness_constraints:
|
||||
@@ -263,6 +269,7 @@ nodes:
|
||||
description: Link Aggregation (Port-Channel) interface
|
||||
label: LAG Interface
|
||||
icon: mdi--link-variant
|
||||
include_in_menu: false
|
||||
inherit_from:
|
||||
- InfraInterface
|
||||
uniqueness_constraints:
|
||||
@@ -297,6 +304,7 @@ nodes:
|
||||
description: VXLAN tunnel interface
|
||||
label: VXLAN Interface
|
||||
icon: mdi--tunnel
|
||||
include_in_menu: false
|
||||
inherit_from:
|
||||
- InfraInterface
|
||||
uniqueness_constraints:
|
||||
@@ -315,14 +323,15 @@ nodes:
|
||||
cardinality: one
|
||||
description: VTEP source interface (typically Loopback1)
|
||||
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
# IP Address
|
||||
# ===================================================================
|
||||
# ================================================================
|
||||
- name: IPAddress
|
||||
namespace: Infra
|
||||
description: IP Address assignment
|
||||
label: IP Address
|
||||
icon: mdi--ip-network
|
||||
include_in_menu: false
|
||||
human_friendly_id:
|
||||
- address__value
|
||||
order_by:
|
||||
|
||||
Reference in New Issue
Block a user