Skip to content

Commit

Permalink
adds missing status choicefield for vdc #13556
Browse files Browse the repository at this point in the history
  • Loading branch information
abhi1693 authored and jeremystretch committed Aug 25, 2023
1 parent ca5e698 commit 03b341d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netbox/dcim/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,7 @@ class VirtualDeviceContextSerializer(NetBoxModelSerializer):
primary_ip = NestedIPAddressSerializer(read_only=True, allow_null=True)
primary_ip4 = NestedIPAddressSerializer(required=False, allow_null=True)
primary_ip6 = NestedIPAddressSerializer(required=False, allow_null=True)
status = ChoiceField(choices=VirtualDeviceContextStatusChoices)

# Related object counts
interface_count = serializers.IntegerField(read_only=True)
Expand Down

0 comments on commit 03b341d

Please sign in to comment.