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

        controller_method = getattr(self.controller, action)
        try:
            #NOTE(salvatore-orlando): the controller method must have
            # an argument whose name is 'request'
            return controller_method(request=request, **action_args)
        except __HOLE__ as exc:
            LOG.exception(exc)
            return Fault(webob.exc.HTTPBadRequest())
dataset/ETHPy150Open openstack/neutron/neutron/wsgi.py/Resource.dispatch