def index(self, req):
        context = req.environ['nova.context']
        authorize(context)
        vpns = [self._vpn_dict(context, x['project_id'], x)
                for x in self._get_all_cloudpipes(context)]
        return {'cloudpipes': vpns}
Adds the rule and feature lists to the current cube
dataset/ETHPy150Open openstack/nova/nova/api/openstack/compute/legacy_v2/contrib/cloudpipe.py/CloudpipeController.index--crossover with--dataset/ETHPy150Open sfu-natlang/Kriya/src/Kriya-Decoder/lazyMerge_CP.py/Cube.addTuple