From eb809812af4583ba85a297d024b04efae8425fae Mon Sep 17 00:00:00 2001 From: Damien Arnodo Date: Fri, 6 Feb 2026 09:12:15 +0000 Subject: [PATCH] fix(schema): add direction outbound for self-referencing relationship InterfaceEthernet.connected_interface is a self-reference that requires direction: outbound to avoid bidirectional conflicts per Infrahub docs. Ref: #41 --- schemas/base.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/schemas/base.yml b/schemas/base.yml index 8bf762f..f48ff72 100644 --- a/schemas/base.yml +++ b/schemas/base.yml @@ -213,6 +213,8 @@ nodes: description: Parent LAG interface - name: connected_interface peer: InfraInterfaceEthernet + identifier: ethernet_connected_to + direction: outbound cardinality: one optional: true description: Connected peer interface