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

Method graphics_passwd

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

Source from the content-addressed store, hash-verified

113 return domname
114
115 def graphics_passwd(self, name):
116 inst = self.get_instance(name)
117 password = util.get_xml_path(inst.XMLDesc(VIR_DOMAIN_XML_SECURE), "/domain/devices/graphics/@passwd")
118 if password is None:
119 return "None"
120 return password
121
122
123class wvmInstance(wvmConnect):

Callers 1

instancesFunction · 0.80

Calls 1

get_instanceMethod · 0.80

Tested by

no test coverage detected