Add IPAddress.assigned_objects
Helper Property
#4108
Labels
type: feature
Introduction of new or enhanced functionality to the application
IPAddress
hadassigned_object
but because of the M2M change, that is not applicable.Currently you must access the assigned interfaces via
instance.interfaces
andinstance.vminterfaces
.Proposal is to introduce
assigned_objects
which would return something to the effect of[*self.interfaces, *self.vminterfaces]
.Context: https://github.com/nautobot/nautobot/pull/3399/files#diff-15c6afc90d7ab9ffc408a2b7c6857caf4c3ebb9bc1213aa5340cbc301f85e7c0L597)
Also worth considering #1178
The text was updated successfully, but these errors were encountered: