@@ -104,6 +104,41 @@ class LinodeInterfaceVPCIPv4Options(JSONObject):
104104 ranges : Optional [List [LinodeInterfaceVPCIPv4RangeOptions ]] = None
105105
106106
107+ @dataclass
108+ class LinodeInterfaceVPCIPv6SLAACOptions (JSONObject ):
109+ """
110+ Options accepted for a single SLAAC when creating or updating the IPv6 configuration of a VPC Linode Interface.
111+
112+ NOTE: Linode interfaces may not currently be available to all users.
113+ """
114+
115+ range : Optional [str ] = None
116+
117+
118+ @dataclass
119+ class LinodeInterfaceVPCIPv6RangeOptions (JSONObject ):
120+ """
121+ Options accepted for a single range when creating or updating the IPv6 configuration of a VPC Linode Interface.
122+
123+ NOTE: Linode interfaces may not currently be available to all users.
124+ """
125+
126+ range : Optional [str ] = None
127+
128+
129+ @dataclass
130+ class LinodeInterfaceVPCIPv6Options (JSONObject ):
131+ """
132+ Options accepted when creating or updating the IPv6 configuration of a VPC Linode Interface.
133+
134+ NOTE: Linode interfaces may not currently be available to all users.
135+ """
136+
137+ is_public : Optional [bool ] = None
138+ slaac : Optional [List [LinodeInterfaceVPCIPv6SLAACOptions ]] = None
139+ ranges : Optional [List [LinodeInterfaceVPCIPv6RangeOptions ]] = None
140+
141+
107142@dataclass
108143class LinodeInterfaceVPCOptions (JSONObject ):
109144 """
@@ -114,6 +149,7 @@ class LinodeInterfaceVPCOptions(JSONObject):
114149
115150 subnet_id : int = 0
116151 ipv4 : Optional [LinodeInterfaceVPCIPv4Options ] = None
152+ ipv6 : Optional [LinodeInterfaceVPCIPv6Options ] = None
117153
118154
119155@dataclass
@@ -265,6 +301,44 @@ class LinodeInterfaceVPCIPv4(JSONObject):
265301 ranges : List [LinodeInterfaceVPCIPv4Range ] = field (default_factory = list )
266302
267303
304+ @dataclass
305+ class LinodeInterfaceVPCIPv6SLAAC (JSONObject ):
306+ """
307+ A single SLAAC entry under the IPv6 configuration of a VPC Linode Interface.
308+
309+ NOTE: Linode interfaces may not currently be available to all users.
310+ """
311+
312+ range : str = ""
313+ address : str = ""
314+
315+
316+ @dataclass
317+ class LinodeInterfaceVPCIPv6Range (JSONObject ):
318+ """
319+ A single range under the IPv6 configuration of a VPC Linode Interface.
320+
321+ NOTE: Linode interfaces may not currently be available to all users.
322+ """
323+
324+ range : str = ""
325+
326+
327+ @dataclass
328+ class LinodeInterfaceVPCIPv6 (JSONObject ):
329+ """
330+ A single address under the IPv6 configuration of a VPC Linode Interface.
331+
332+ NOTE: Linode interfaces may not currently be available to all users.
333+ """
334+
335+ put_class = LinodeInterfaceVPCIPv6Options
336+
337+ is_public : bool = False
338+ slaac : List [LinodeInterfaceVPCIPv6SLAAC ] = field (default_factory = list )
339+ ranges : List [LinodeInterfaceVPCIPv6Range ] = field (default_factory = list )
340+
341+
268342@dataclass
269343class LinodeInterfaceVPC (JSONObject ):
270344 """
@@ -279,6 +353,7 @@ class LinodeInterfaceVPC(JSONObject):
279353 subnet_id : int = 0
280354
281355 ipv4 : Optional [LinodeInterfaceVPCIPv4 ] = None
356+ ipv6 : Optional [LinodeInterfaceVPCIPv6 ] = None
282357
283358
284359@dataclass
0 commit comments