From afa268ad2df2679c71398ecc210bf652c32dfc94 Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Fri, 6 Feb 2026 08:51:47 +0000 Subject: [PATCH] fix(schema): add unique identifiers for UnderlayLink relationships Infrahub requires unique identifiers when multiple relationships point to the same peer type with the same direction. Ref: #41 --- schemas/extensions.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/schemas/extensions.yml b/schemas/extensions.yml index 87e20fd..b726e27 100644 --- a/schemas/extensions.yml +++ b/schemas/extensions.yml @@ -85,15 +85,19 @@ nodes: kind: Parent - name: local_device peer: InfraDevice + identifier: underlaylink__local_device cardinality: one - name: local_interface peer: InfraInterfaceEthernet + identifier: underlaylink__local_interface cardinality: one - name: remote_device peer: InfraDevice + identifier: underlaylink__remote_device cardinality: one - name: remote_interface peer: InfraInterfaceEthernet + identifier: underlaylink__remote_interface cardinality: one # =============================================================================