feat(ipam): add interface associations to IP addresses

Add interface node and kind to all IP address entries in the IPAM configuration file. This change enhances the IPAM configuration by explicitly associating each IP address with its corresponding interface, improving clarity and maintainability of the network configuration.

The changes include:
- Adding interface node and kind for all Router-ID Loopback0 addresses
- Adding interface node and kind for all VTEP Loopback1 addresses
- Adding interface node and kind for all spine and leaf P2P underlay addresses
- Maintaining consistent format across all IP address entries
This commit is contained in:
Damien
2026-02-21 16:02:54 +01:00
parent 9c8bc40046
commit e9dad132ea
2 changed files with 216 additions and 1 deletions

View File

@@ -11,54 +11,120 @@ spec:
# ============================================================
- address: "10.0.199.254/31"
description: leaf1 MLAG peer-link
interface:
node: leaf1__Vlan4090
kind: InfraInterfaceVlan
- address: "10.0.199.255/31"
description: leaf2 MLAG peer-link
interface:
node: leaf2__Vlan4090
kind: InfraInterfaceVlan
- address: "10.0.199.252/31"
description: leaf3 MLAG peer-link
interface:
node: leaf3__Vlan4090
kind: InfraInterfaceVlan
- address: "10.0.199.253/31"
description: leaf4 MLAG peer-link
interface:
node: leaf4__Vlan4090
kind: InfraInterfaceVlan
- address: "10.0.199.250/31"
description: leaf5 MLAG peer-link
interface:
node: leaf5__Vlan4090
kind: InfraInterfaceVlan
- address: "10.0.199.251/31"
description: leaf6 MLAG peer-link
interface:
node: leaf6__Vlan4090
kind: InfraInterfaceVlan
- address: "10.0.199.248/31"
description: leaf7 MLAG peer-link
interface:
node: leaf7__Vlan4090
kind: InfraInterfaceVlan
- address: "10.0.199.249/31"
description: leaf8 MLAG peer-link
interface:
node: leaf8__Vlan4090
kind: InfraInterfaceVlan
# ============================================================
# MLAG iBGP Peering SVI (Vlan4091) — /31
# ============================================================
- address: "10.0.3.0/31"
description: leaf1 MLAG iBGP peering
interface:
node: leaf1__Vlan4091
kind: InfraInterfaceVlan
- address: "10.0.3.1/31"
description: leaf2 MLAG iBGP peering
interface:
node: leaf2__Vlan4091
kind: InfraInterfaceVlan
- address: "10.0.3.2/31"
description: leaf3 MLAG iBGP peering
interface:
node: leaf3__Vlan4091
kind: InfraInterfaceVlan
- address: "10.0.3.3/31"
description: leaf4 MLAG iBGP peering
interface:
node: leaf4__Vlan4091
kind: InfraInterfaceVlan
- address: "10.0.3.4/31"
description: leaf5 MLAG iBGP peering
interface:
node: leaf5__Vlan4091
kind: InfraInterfaceVlan
- address: "10.0.3.5/31"
description: leaf6 MLAG iBGP peering
interface:
node: leaf6__Vlan4091
kind: InfraInterfaceVlan
- address: "10.0.3.6/31"
description: leaf7 MLAG iBGP peering
interface:
node: leaf7__Vlan4091
kind: InfraInterfaceVlan
- address: "10.0.3.7/31"
description: leaf8 MLAG iBGP peering
interface:
node: leaf8__Vlan4091
kind: InfraInterfaceVlan
# ============================================================
# VRF gold SVI addresses — /24
# ============================================================
# Vlan34 (leaf3/leaf4)
- address: "10.34.34.2/24"
description: leaf3 Vlan34 VRF gold
interface:
node: leaf3__Vlan34
kind: InfraInterfaceVlan
- address: "10.34.34.3/24"
description: leaf4 Vlan34 VRF gold
interface:
node: leaf4__Vlan34
kind: InfraInterfaceVlan
# Vlan78 (leaf7/leaf8)
- address: "10.78.78.2/24"
description: leaf7 Vlan78 VRF gold
interface:
node: leaf7__Vlan78
kind: InfraInterfaceVlan
- address: "10.78.78.3/24"
description: leaf8 Vlan78 VRF gold
interface:
node: leaf8__Vlan78
kind: InfraInterfaceVlan
# Vlan900 — BGP border (leaf7/leaf8)
- address: "10.90.90.2/29"
description: leaf7 Vlan900 BGP border
interface:
node: leaf7__Vlan900
kind: InfraInterfaceVlan
- address: "10.90.90.3/29"
description: leaf8 Vlan900 BGP border
interface:
node: leaf8__Vlan900
kind: InfraInterfaceVlan