You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When retrieving a device via the API, its primary_ip4 and primary_ip6 fields are extended to include nested representations of and links to their respective IP addresses (if assigned). However, the virtual machine serializer includes only the numeric primary key of the IP address.
Additionally, the primary_ip field, which replicates either the primary_ip4 or primary_ip field depending on how NetBox is configured, is absent.
The text was updated successfully, but these errors were encountered:
Issue type
[ ] Feature request
[x] Bug report
[ ] Documentation
Environment
Description
This issue was initially raised by Thomas W. on the mailing list.
When retrieving a device via the API, its
primary_ip4
andprimary_ip6
fields are extended to include nested representations of and links to their respective IP addresses (if assigned). However, the virtual machine serializer includes only the numeric primary key of the IP address.Additionally, the
primary_ip
field, which replicates either theprimary_ip4
orprimary_ip
field depending on how NetBox is configured, is absent.The text was updated successfully, but these errors were encountered: