'Return the paste URLMap wrapped WSGI application.
:param name: Name of the application to load.
:returns: Paste URLMap object wrapping the requested application.
:raises: `nova.exception.PasteAppNotFound`'

def load_app(self, name):

    try:
        LOG.debug('Loading    app    %(name)s    from    %(path)s', {'name': name, 'path': self.config_path})
        return deploy.loadapp(('config:%s' % self.config_path), name=name)
    except LookupError:
        LOG.exception(_LE("Couldn't    lookup    app:    %s"), name)
        raise exception.PasteAppNotFound(name=name, path=self.config_path)
