MCPcopy
hub / github.com/retspen/webvirtcloud / graphics_type

Method graphics_type

vrtManager/instance.py:85–90  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

83 self.wvm.defineXML(xml)
84
85 def graphics_type(self, name):
86 inst = self.get_instance(name)
87 console_type = util.get_xml_path(inst.XMLDesc(0), "/domain/devices/graphics/@type")
88 if console_type is None:
89 return "None"
90 return console_type
91
92 def graphics_listen(self, name):
93 inst = self.get_instance(name)

Callers 1

instancesFunction · 0.80

Calls 1

get_instanceMethod · 0.80

Tested by

no test coverage detected