

def get_keypair_at_top(self, ctxt, user_id, name):
    if (not CONF.cells.enable):
        return
    cctxt = self.client.prepare(version='1.37')
    keypair = cctxt.call(ctxt, 'get_keypair_at_top', user_id=user_id, name=name)
    if (keypair is None):
        raise exception.KeypairNotFound(user_id=user_id, name=name)
    return keypair

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