mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-25 04:50:00 -06:00
Rename FHRPGroupAssignment object to interface
This commit is contained in:
@@ -400,9 +400,9 @@ class VMInterface(PrimaryModel, BaseInterface):
|
||||
)
|
||||
fhrp_group_assignments = GenericRelation(
|
||||
to='ipam.FHRPGroupAssignment',
|
||||
content_type_field='content_type',
|
||||
object_id_field='object_id',
|
||||
related_query_name='vminterface'
|
||||
content_type_field='interface_type',
|
||||
object_id_field='interface_id',
|
||||
related_query_name='+'
|
||||
)
|
||||
|
||||
objects = RestrictedQuerySet.as_manager()
|
||||
|
||||
Reference in New Issue
Block a user