

def get_client(target, version_cap=None, serializer=None):
    assert (TRANSPORT is not None)
    serializer = RequestContextSerializer(serializer)
    return messaging.RPCClient(TRANSPORT, target, version_cap=version_cap, serializer=serializer)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/rpc.py get_client/original