mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Add changing option of network model. Show model on instance network list
This commit is contained in:
parent
8b9fe4e887
commit
c62e6ba3bc
4 changed files with 50 additions and 16 deletions
|
@ -639,6 +639,10 @@ class wvmConnect(object):
|
|||
return [v.text for v in ctx.xpath("/domainCapabilities/devices/hostdev/enum[@name='subsysType']/value")]
|
||||
return util.get_xml_path(self.get_dom_cap_xml(arch, machine), func=get_hostdev_list)
|
||||
|
||||
def get_network_models(self):
|
||||
"""Get available image filename extensions"""
|
||||
return ['default', 'e1000', 'virtio']
|
||||
|
||||
def get_image_formats(self):
|
||||
"""Get available image formats"""
|
||||
return ['raw', 'qcow', 'qcow2']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue