Skip to content

Commit 37fd3f7

Browse files
authored
Merge pull request avocado-framework#4239 from smitterl/iface_loadparm
libvirt_xml/../interface: add loadparm attribute
2 parents 79cfcbd + ccbbcc6 commit 37fd3f7

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

virttest/libvirt_xml/devices/interface.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class Interface(base.TypedDeviceBase):
2424
"driver",
2525
"address",
2626
"boot",
27+
"loadparm",
2728
"rom",
2829
"mtu",
2930
"filterref",
@@ -121,6 +122,14 @@ def __init__(self, type_name="network", virsh_instance=base.base.virsh):
121122
tag_name="boot",
122123
attribute="order",
123124
)
125+
accessors.XMLAttribute(
126+
property_name="loadparm",
127+
libvirtxml=self,
128+
forbidden=None,
129+
parent_xpath="/",
130+
tag_name="boot",
131+
attribute="loadparm",
132+
)
124133
accessors.XMLElementNest(
125134
"bandwidth",
126135
self,

0 commit comments

Comments
 (0)