Description
Deployment Type
Self-hosted
NetBox Version
v4.2.8
Python Version
3.10
Steps to Reproduce
- Enable SQL logging
- Do API requests:
- api/ipam/ip-addresses/
- api/ipam/prefixes
- api/dcim/interfaces
Expected Behavior
All required data is loaded by batch SQL requests
Observed Behavior
In the output you will see repeated SQL calls for each object in the response set:
circuits_virtualcircuittermination
for interfacesdcim_interface
folowing bydcim_device
for ip-addressdcim_site
for prefixes