Add IPAM foundation objects and schemas

Add device model, supernet prefixes, and ASN number pool for IPAM
foundation
Add IP prefix and address schemas with resource manager support
Add device model schema with port specifications
Add site IP prefix relationships and fabric device model relationships
This commit is contained in:
Damien
2026-03-20 19:58:34 +01:00
parent 12d927d460
commit f82f9d22a1
6 changed files with 155 additions and 0 deletions

29
infrahub/schemas/ipam.yml Normal file
View File

@@ -0,0 +1,29 @@
# IPAM Schema for EVPN-VXLAN Fabric
# IP Prefix and Address types inheriting from Infrahub builtins
# to enable the resource manager
---
version: "1.0"
nodes:
# ================================================================
# IP Prefix (inherits BuiltinIPPrefix for resource manager support)
# ================================================================
- name: IPPrefix
namespace: Ipam
inherit_from:
- "BuiltinIPPrefix"
description: "IP Prefix for hierarchical IPAM (supernets, site prefixes, pool parents)"
label: IP Prefix
icon: mdi--ip-network-outline
include_in_menu: false
# ================================================================
# IP Address (inherits BuiltinIPAddress for resource manager support)
# ================================================================
- name: IPAddress
namespace: Ipam
inherit_from:
- "BuiltinIPAddress"
description: "IP Address managed by resource pools"
label: IP Address
icon: mdi--ip-network
include_in_menu: false