From 07d40a5ca570b32ac11559e41e2b4f8af6d5c7f4 Mon Sep 17 00:00:00 2001 From: swoga <3697291+swoga@users.noreply.github.com> Date: Mon, 14 Jul 2025 20:05:24 +0200 Subject: [PATCH] Fixes #19828: Add L2VPNTerminationType to InterfaceType --- netbox/dcim/graphql/types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netbox/dcim/graphql/types.py b/netbox/dcim/graphql/types.py index d0818a738..8b1755e35 100644 --- a/netbox/dcim/graphql/types.py +++ b/netbox/dcim/graphql/types.py @@ -33,6 +33,7 @@ if TYPE_CHECKING: from tenancy.graphql.types import TenantType from users.graphql.types import UserType from virtualization.graphql.types import ClusterType, VMInterfaceType, VirtualMachineType + from vpn.graphql.types import L2VPNTerminationType from wireless.graphql.types import WirelessLANType, WirelessLinkType __all__ = ( @@ -440,6 +441,7 @@ class InterfaceType(IPAddressesMixin, ModularComponentType, CabledObjectMixin, P primary_mac_address: Annotated["MACAddressType", strawberry.lazy('dcim.graphql.types')] | None qinq_svlan: Annotated["VLANType", strawberry.lazy('ipam.graphql.types')] | None vlan_translation_policy: Annotated["VLANTranslationPolicyType", strawberry.lazy('ipam.graphql.types')] | None + l2vpn_termination: Annotated["L2VPNTerminationType", strawberry.lazy('vpn.graphql.types')] | None vdcs: List[Annotated["VirtualDeviceContextType", strawberry.lazy('dcim.graphql.types')]] tagged_vlans: List[Annotated["VLANType", strawberry.lazy('ipam.graphql.types')]]