Prefix table within VRF detail page not limited #2313

Closed
opened 2025-12-29 17:24:43 +01:00 by adam · 3 comments
Owner

Originally created by @synackray on GitHub (Jan 25, 2019).

Environment

  • Python version: 3.6.7
  • NetBox version: 2.5.3

Steps to Reproduce

  1. Create a VRF, VRF1
  2. Create more than 1,000 prefixes and assign them to VRF1
  3. Navigate to IPAM > VRFs > VRF1. The page will either load with every prefix loaded into the prefix table, or the page will generate a "504 gateway error". I modified the timeout values of gunicorn and nginx to see what generated the 504.

I expected the VRF details page to load with a sample of the prefixes (say 50) and offer navigation to see additional prefixes. This would mirror the table design of the IPAM > IP Addresses page.

The page failed to load after 60 seconds and generated a 504. This triggered with 11,598 prefixes generated. By modifying the timeout values I was able to see the page load all prefixes under the prefix table,

Originally created by @synackray on GitHub (Jan 25, 2019). ### Environment * Python version: 3.6.7 * NetBox version: 2.5.3 ### Steps to Reproduce 1. Create a VRF, VRF1 2. Create more than 1,000 prefixes and assign them to VRF1 3. Navigate to IPAM > VRFs > VRF1. The page will either load with every prefix loaded into the prefix table, or the page will generate a "504 gateway error". I modified the timeout values of gunicorn and nginx to see what generated the 504. <!-- What did you expect to happen? --> I expected the VRF details page to load with a sample of the prefixes (say 50) and offer navigation to see additional prefixes. This would mirror the table design of the IPAM > IP Addresses page. <!-- What happened instead? --> The page failed to load after 60 seconds and generated a 504. This triggered with 11,598 prefixes generated. By modifying the timeout values I was able to see the page load all prefixes under the prefix table,
adam added the status: acceptedtype: feature labels 2025-12-29 17:24:43 +01:00
adam closed this issue 2025-12-29 17:24:43 +01:00
Author
Owner

@synackray commented on GitHub (Jan 25, 2019):

Thank you very much for your time reviewing this issue. NetBox is a wonderful platform and it's clear how much effort has gone into it. Please let me know if I can answer any specific questions regarding this issue.

@synackray commented on GitHub (Jan 25, 2019): Thank you very much for your time reviewing this issue. NetBox is a wonderful platform and it's clear how much effort has gone into it. Please let me know if I can answer any specific questions regarding this issue.
Author
Owner

@jeremystretch commented on GitHub (Jan 29, 2019):

I'm not sure it's worth keeping the prefixes list under the VRF. It might be better to remove the list completely and just provide a count of assigned prefixes with a link to the filtered list.

@jeremystretch commented on GitHub (Jan 29, 2019): I'm not sure it's worth keeping the prefixes list under the VRF. It might be better to remove the list completely and just provide a count of assigned prefixes with a link to the filtered list.
Author
Owner

@DanSheps commented on GitHub (Jan 29, 2019):

I honestly did not know there was a prefix list under the VRF. However, I think it could be useful if it was just an extension of /ipam/prefixes/?vrf= instead

@DanSheps commented on GitHub (Jan 29, 2019): I honestly did not know there was a prefix list under the VRF. However, I think it could be useful if it was just an extension of /ipam/prefixes/?vrf= instead
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2313