1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Add count_fhrp_groups to interface serializers

This commit is contained in:
jeremystretch
2021-11-04 09:58:33 -04:00
parent bbb98083eb
commit 67c73768c1
7 changed files with 25 additions and 8 deletions

View File

@@ -91,6 +91,10 @@ class NestedFHRPGroupSerializer(WritableNestedSerializer):
fields = ['id', 'url', 'display', 'protocol', 'group_id']
class NestedFHRPGroupAssignmentSerializer(WritableNestedSerializer):
url = serializers.HyperlinkedIdentityField(view_name='ipam-api:fhrpgroupassignment-detail')
#
# VLANs
#