fix(schema): refactor UnderlayLink IPs from attributes to InfraIPAddress relations — refs #47
This commit is contained in:
@@ -72,12 +72,6 @@ nodes:
|
|||||||
- name: description
|
- name: description
|
||||||
kind: Text
|
kind: Text
|
||||||
description: Link description (e.g., spine1:eth1 <-> leaf1:eth11)
|
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
|
- name: mtu
|
||||||
kind: Number
|
kind: Number
|
||||||
default_value: 9214
|
default_value: 9214
|
||||||
@@ -97,6 +91,11 @@ nodes:
|
|||||||
identifier: underlay_link_local_interface
|
identifier: underlay_link_local_interface
|
||||||
cardinality: one
|
cardinality: one
|
||||||
direction: outbound
|
direction: outbound
|
||||||
|
- name: local_ip_address
|
||||||
|
peer: InfraIPAddress
|
||||||
|
identifier: underlay_link_local_ip
|
||||||
|
cardinality: one
|
||||||
|
direction: outbound
|
||||||
- name: remote_device
|
- name: remote_device
|
||||||
peer: InfraDevice
|
peer: InfraDevice
|
||||||
identifier: underlay_link_remote_device
|
identifier: underlay_link_remote_device
|
||||||
@@ -107,6 +106,11 @@ nodes:
|
|||||||
identifier: underlay_link_remote_interface
|
identifier: underlay_link_remote_interface
|
||||||
cardinality: one
|
cardinality: one
|
||||||
direction: outbound
|
direction: outbound
|
||||||
|
- name: remote_ip_address
|
||||||
|
peer: InfraIPAddress
|
||||||
|
identifier: underlay_link_remote_ip
|
||||||
|
cardinality: one
|
||||||
|
direction: outbound
|
||||||
|
|
||||||
# ================================================================
|
# ================================================================
|
||||||
# Host Connection
|
# Host Connection
|
||||||
|
|||||||
Reference in New Issue
Block a user