class documentation
class MonitorSocket(object):
Known subclasses: ganeti.hypervisor.hv_kvm.monitor.QmpConnection
Undocumented
Method | __init__ |
Instantiates the MonitorSocket object. |
Method | close |
Closes the socket |
Method | connect |
Connect to the monitor socket if not already connected. |
Method | is |
Return whether there is a connection to the socket or not. |
Instance Variable | monitor |
Undocumented |
Instance Variable | sock |
Undocumented |
Method | _check |
Make sure that the connection is established. |
Method | _check |
Undocumented |
Method | _close |
Undocumented |
Method | _connect |
Connects to the monitor. |
Constant | _SOCKET |
Undocumented |
Instance Variable | _connected |
Undocumented |
overridden in
ganeti.hypervisor.hv_kvm.monitor.QmpConnection
Instantiates the MonitorSocket object.
Parameters | |
monitor | the filename of the UNIX raw socket on which the monitor (QMP or simple one) is listening |
overridden in
ganeti.hypervisor.hv_kvm.monitor.QmpConnection
Connect to the monitor socket if not already connected.
Connects to the monitor.
Connects to the UNIX socket
Raises | |
errors.HypervisorError | when there are communication errors |