From 2a27e475e4ad8dcf98c56bcc9e7bf986364023cc Mon Sep 17 00:00:00 2001 From: Peter Date: Mon, 14 Jul 2025 21:42:53 +0200 Subject: [PATCH] Fixes #19828: Add L2VPNTerminationType to InterfaceType (#19879) Co-authored-by: swoga <3697291+swoga@users.noreply.github.com> --- 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')]]