Cross-Domain Relationship Model¶
InfraLynx uses explicit ID-based relationships across domains. Domain packages own their own entities, while cross-domain packages define the bindings between them.
Relationship Rules¶
- relationships are explicit, not inferred from naming or topology
- IDs are used instead of embedded objects across package boundaries
- domain packages keep ownership of their own entities
- cross-domain logic lives in dedicated integration contracts, not inside app runtimes
Current Relationship Set¶
- device to interface through
dcim-domain - interface to IP address through
network-domain - interface to VLAN through
network-domain - cable to interface through
network-domain - VRF to prefix to IP hierarchy through
ipam-domainandnetwork-domain
Package Ownership¶
@infralynx/dcim-domainowns physical entities and cable/device primitives@infralynx/ipam-domainowns VRFs, prefixes, IP addresses, and VLANs@infralynx/network-domainowns cross-domain bindings and validation helpers
Integration Boundaries¶
dcim-domainknows interface-local references such as cable IDs and bound VLAN/IP IDsipam-domainknows prefix hierarchy and interface references where the entity naturally owns themnetwork-domainvalidates the shape of the cross-domain relationships without embedding domain objects