Skip to content

Conversation

DanSheps
Copy link
Member

@DanSheps DanSheps commented Jul 9, 2025

Fixes: #7845 - Direct relationship between IP objects and Prefixes

  • Add FK from IPAddress to Prefix
  • Add FK from IPRange to Prefix
  • Add FK from Prefix to (Parent) Prefix
  • Add FK from Prefix to Aggregate
  • Adjusted Search Indicies
  • Adjusted Filtersets
    • Added filter for Prefix to IPAddress and IPRange Filterset
    • Added filter for parent and Aggregate to Prefix Filterset

@DanSheps DanSheps self-assigned this Jul 9, 2025
@DanSheps DanSheps changed the base branch from main to feature July 9, 2025 17:59
@jeremystretch
Copy link
Member

@DanSheps have you explored how PostgreSQL triggers might be employed to achieve automatic reassignment of parents at the database level? IMO relying on application level signal handlers seems like it might introduce performance issues, especially when dealing with very large hierarchies.

@DanSheps
Copy link
Member Author

Nope, but I can take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically create direct assignments of IP addresses to their parent prefixes
2 participants