From 2c014bade5005e37c9356609506bbc4ea9883756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Brunel?= <56799322+Etibru@users.noreply.github.com> Date: Mon, 5 May 2025 15:31:47 +0200 Subject: [PATCH] fix: Set qinq_role allow_null to True --- netbox/ipam/api/serializers_/vlans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/ipam/api/serializers_/vlans.py b/netbox/ipam/api/serializers_/vlans.py index a6f428343..3eada3193 100644 --- a/netbox/ipam/api/serializers_/vlans.py +++ b/netbox/ipam/api/serializers_/vlans.py @@ -66,7 +66,7 @@ class VLANSerializer(NetBoxModelSerializer): tenant = TenantSerializer(nested=True, required=False, allow_null=True) status = ChoiceField(choices=VLANStatusChoices, required=False) role = RoleSerializer(nested=True, required=False, allow_null=True) - qinq_role = ChoiceField(choices=VLANQinQRoleChoices, required=False) + qinq_role = ChoiceField(choices=VLANQinQRoleChoices, required=False, allow_null=True) qinq_svlan = NestedVLANSerializer(required=False, allow_null=True, default=None) l2vpn_termination = L2VPNTerminationSerializer(nested=True, read_only=True, allow_null=True)