fix(schema): refactor UnderlayLink IPs from attributes to InfraIPAddress relations — refs #47

This commit is contained in:
Damien
2026-02-13 11:24:17 +01:00
parent ed820f3380
commit e527534820

View File

@@ -72,12 +72,6 @@ nodes:
- name: description
kind: Text
description: Link description (e.g., spine1:eth1 <-> leaf1:eth11)
- name: local_ip
kind: IPNetwork
description: Local interface IP with mask
- name: remote_ip
kind: IPNetwork
description: Remote interface IP with mask
- name: mtu
kind: Number
default_value: 9214
@@ -97,6 +91,11 @@ nodes:
identifier: underlay_link_local_interface
cardinality: one
direction: outbound
- name: local_ip_address
peer: InfraIPAddress
identifier: underlay_link_local_ip
cardinality: one
direction: outbound
- name: remote_device
peer: InfraDevice
identifier: underlay_link_remote_device
@@ -107,6 +106,11 @@ nodes:
identifier: underlay_link_remote_interface
cardinality: one
direction: outbound
- name: remote_ip_address
peer: InfraIPAddress
identifier: underlay_link_remote_ip
cardinality: one
direction: outbound
# ================================================================
# Host Connection