def dispatch(self, request, action, action_args):
        """Find action-spefic method on controller and call it."""

        controller_method = getattr(self.controller, action)
        try:
            return controller_method(req=request, **action_args)
        except __HOLE__ as exc:
            LOG.exception(exc)
            return faults.Fault(webob.exc.HTTPBadRequest())
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/wsgi.py/Resource.dispatch