Closes #18147: Include device & VM interfaces in VRF related objects #1407

Closed
opened 2026-04-06 00:49:48 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jeremystretch on 8/22/2025

Fixes: #18147

  • Introduce the RelatedObjectCount dataclass to accept an optional label
  • Update the related_objects.html inclusion template to use RelatedObjectCount
  • Extend VRFView.get_extra_context() to include device & VM interface counts
  • Tweak the signature of get_related_models() to avoid passing mutable values for omit and extra
*Originally created by @jeremystretch on 8/22/2025* ### Fixes: #18147 - Introduce the RelatedObjectCount dataclass to accept an optional label - Update the `related_objects.html` inclusion template to use RelatedObjectCount - Extend `VRFView.get_extra_context()` to include device & VM interface counts - Tweak the signature of `get_related_models()` to avoid passing mutable values for `omit` and `extra`
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1407