Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interface still reflects cached assignments even after assigned Network object is deleted #315

Open
jathanism opened this issue Feb 9, 2018 · 0 comments
Labels

Comments

@jathanism
Copy link
Contributor

When a Network address is assigned to an Interface and the underlying Network object is deleted from the database, the Interface._addresses_cache and Interface._networks_cache are no updated. This is an inconsistency that needs to be addressed.

Possible solutions:

  • A Network object cannot be deleted as long as it has an existing Assignment relationship to an Interface
  • Deleting a Network with an Assignment in place also triggers an update to the Interface to refresh its cached relationships.
@jathanism jathanism added the bug label Feb 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant