

def service_update(self, ctxt, host_name, binary, params_to_update):
    "Used to enable/disable a service. For compute services, setting to\n        disabled stops new builds arriving on that host.\n\n        :param host_name: the name of the host machine that the service is\n                          running\n        :param binary: The name of the executable that the service runs as\n        :param params_to_update: eg. {'disabled': True}\n        "
    cctxt = self.client.prepare(version='1.7')
    return cctxt.call(ctxt, 'service_update', host_name=host_name, binary=self, params_to_update=params_to_update)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/rpcapi.py CellsAPI.service_update/VarMisuse@48/203 `binary`->`self`