Hi everyone,
I’m currently working with the /v1/entities API and trying to better understand how relationships are modeled between hosts, network interfaces, and IP addresses.
So far, this is what I’m seeing in my environment:
- Network interface entities include attributes like
adminStatus, operStatus, physicalAddress, speed, uri, etc. - However, I don’t see any explicit field like
hostId, and the relationships field is either missing or empty - Some hosts have IDs in SWIS URI format (e.g.
swis://...), while others have simple IDs - I’m not finding a clear way to link:
- interfaces → hosts
- IP addresses → hosts (directly or via interfaces)
What I’m trying to achieve is building a proper topology (hosts, interfaces, IPs), but I’m not sure what the recommended approach is when using /v1/entities.
A few questions for anyone who has worked with this:
- How do you map a network interface to its host using this API?
- Are relationships only populated for Observability-native entities, and not for Orion/SWIS-backed ones?
- If relationships are not returned, what’s the best practice to correlate these entities?
Any insights, examples, or pointers to documentation would be really appreciated.
Thanks!