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
This commit is contained in:
@@ -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
|
||||
|
||||
# =============================================================================
|
||||
|
||||
Reference in New Issue
Block a user