Loading cloudcontrol/server/clients/host.py +9 −1 Original line number Diff line number Diff line from cloudcontrol.server.clients import Client from cloudcontrol.server.clients import Client, RegisteredCCHandler class HostHandler(RegisteredCCHandler): """ Handler binded to an host client. """ class HostClient(Client): Loading @@ -6,6 +13,7 @@ class HostClient(Client): """ ROLE = 'host' RPC_HANDLER = HostHandler def __init__(self, *args, **kwargs): super(HostClient, self).__init__(*args, **kwargs) Loading cloudcontrol/server/clients/hv.py +2 −2 Original line number Diff line number Diff line import threading from cloudcontrol.server.handlers import listed from cloudcontrol.server.clients import Client, RegisteredCCHandler from cloudcontrol.server.clients import Client from cloudcontrol.server.clients.host import HostClient from cloudcontrol.server.db import RemoteTag Loading @@ -11,7 +11,7 @@ from cloudcontrol.common.tql.db.tag import StaticTag from functools import partial class HypervisorHandler(RegisteredCCHandler): class HypervisorHandler(HostClient.RPC_HANDLER): """ Handler binded to an hv client. """ Loading Loading
cloudcontrol/server/clients/host.py +9 −1 Original line number Diff line number Diff line from cloudcontrol.server.clients import Client from cloudcontrol.server.clients import Client, RegisteredCCHandler class HostHandler(RegisteredCCHandler): """ Handler binded to an host client. """ class HostClient(Client): Loading @@ -6,6 +13,7 @@ class HostClient(Client): """ ROLE = 'host' RPC_HANDLER = HostHandler def __init__(self, *args, **kwargs): super(HostClient, self).__init__(*args, **kwargs) Loading
cloudcontrol/server/clients/hv.py +2 −2 Original line number Diff line number Diff line import threading from cloudcontrol.server.handlers import listed from cloudcontrol.server.clients import Client, RegisteredCCHandler from cloudcontrol.server.clients import Client from cloudcontrol.server.clients.host import HostClient from cloudcontrol.server.db import RemoteTag Loading @@ -11,7 +11,7 @@ from cloudcontrol.common.tql.db.tag import StaticTag from functools import partial class HypervisorHandler(RegisteredCCHandler): class HypervisorHandler(HostClient.RPC_HANDLER): """ Handler binded to an hv client. """ Loading