

def __init__(self):
    super(CellsAPI, self).__init__()
    target = messaging.Target(topic=CONF.cells.topic, version='1.0')
    version_cap = self.VERSION_ALIASES.get(CONF.upgrade_levels.cells, CONF.upgrade_levels.cells)
    from nova.cells import utils as cells_utils
    serializer = cells_utils.ProxyObjectSerializer()
    self.client = rpc.get_client(target, version_cap=version_cap, serializer=serializer)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/rpcapi.py CellsAPI.__init__/original