

def index(self, req):
    'List running cloudpipe instances.'
    context = req.environ['nova.context']
    authorize(context)
    vpns = [self._vpn_dict(context, x['project_id'], x) for x in self._get_all_cloudpipes(req)]
    return {
        'cloudpipes': vpns,
    }

dataset/ETHPy150Open openstack/nova/nova/api/openstack/compute/legacy_v2/contrib/cloudpipe.py CloudpipeController.index/VarMisuse@51/77 `context`->`req`