

@extensions.expected_errors((400, 403, 404))
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 BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/cloudpipe.py CloudpipeController.index/VarMisuse@65/92 `context`->`req`