MCPcopy Index your code
hub / github.com/retspen/webvirtcloud / get_console_websocket_port

Method get_console_websocket_port

vrtManager/instance.py:472–476  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

470 return port
471
472 def get_console_websocket_port(self):
473 console_type = self.get_console_type()
474 websocket_port = util.get_xml_path(self._XMLDesc(0),
475 "/domain/devices/graphics[@type='%s']/@websocket" % console_type)
476 return websocket_port
477
478 def get_console_passwd(self):
479 return util.get_xml_path(self._XMLDesc(VIR_DOMAIN_XML_SECURE),

Callers 1

consoleFunction · 0.80

Calls 2

get_console_typeMethod · 0.95
_XMLDescMethod · 0.95

Tested by

no test coverage detected