def _get_cloudpipe_for_project(self, context):
        cloudpipes = self._get_all_cloudpipes(context) or [None]
        return cloudpipes[0]
Get the cloudpipe instance for a project from context.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/cloudpipe.py/CloudpipeController._get_cloudpipe_for_project