File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -469,7 +469,6 @@ class Config(DerivedBase):
469469 "virt_mode" : Property (mutable = True ),
470470 "memory_limit" : Property (mutable = True ),
471471 "interfaces" : Property (mutable = True , json_object = ConfigInterface ),
472- "interface_generation" : Property (),
473472 }
474473
475474 @property
@@ -723,6 +722,7 @@ class Instance(Base):
723722 "disk_encryption" : Property (),
724723 "lke_cluster_id" : Property (),
725724 "capabilities" : Property (unordered = True ),
725+ "interface_generation" : Property (),
726726 }
727727
728728 @property
Original file line number Diff line number Diff line change 77 build_interface_options_vpc ,
88)
99
10- from linode_api4 import InstanceDiskEncryptionType , NetworkInterface
10+ from linode_api4 import (
11+ InstanceDiskEncryptionType ,
12+ InterfaceGeneration ,
13+ NetworkInterface ,
14+ )
1115from linode_api4 .objects import (
1216 Config ,
1317 ConfigInterface ,
@@ -477,6 +481,8 @@ def test_get_interfaces(self):
477481
478482 instance = Instance (self .client , 124 )
479483
484+ assert instance .interface_generation == InterfaceGeneration .LINODE
485+
480486 interfaces = instance .interfaces
481487
482488 LinodeInterfaceTest .assert_linode_124_interface_123 (
You can’t perform that action at this time.
0 commit comments