[Phase 2] Define Infrahub Schema for EVPN-VXLAN Fabric #51

Merged
Damien merged 58 commits from feature/41-infrahub-schema into main 2026-02-13 19:36:27 +00:00
Showing only changes of commit 498fa8505e - Show all commits

View File

@@ -3,9 +3,9 @@
---
version: "1.0"
nodes:
# ==========================================================================
# ===================================================================
# Fabric (Top-level container for all fabric objects)
# ==========================================================================
# ===================================================================
- name: Fabric
namespace: Infra
description: EVPN-VXLAN Fabric definition
@@ -15,8 +15,7 @@ nodes:
- name__value
order_by:
- name__value
display_labels:
- name__value
display_label: "{{ name__value }}"
attributes:
- name: name
kind: Text
@@ -58,16 +57,15 @@ nodes:
cardinality: many
optional: true
# ==========================================================================
# ===================================================================
# Underlay P2P Link
# ==========================================================================
# ===================================================================
- name: UnderlayLink
namespace: Infra
description: Point-to-point underlay link between devices
label: Underlay Link
icon: mdi--cable-data
display_labels:
- description__value
display_label: "{{ description__value }}"
attributes:
- name: description
kind: Text
@@ -108,9 +106,9 @@ nodes:
cardinality: one
direction: outbound
# ==========================================================================
# ===================================================================
# Host Connection
# ==========================================================================
# ===================================================================
- name: HostConnection
namespace: Infra
description: Host connection to fabric (single or dual-homed)
@@ -118,8 +116,7 @@ nodes:
icon: mdi--desktop-tower
human_friendly_id:
- hostname__value
display_labels:
- hostname__value
display_label: "{{ hostname__value }}"
attributes:
- name: hostname
kind: Text