'Get the id for the specified plugin name.
:param plugin_name: the name of the plugin to find
:returns: the id of :plugin:
:raises: exception.EntityNotFound'

def get_plugin_id(self, plugin_name):

    try:
        self.client().plugins.get(plugin_name)
    except sahara_base.APIException:
        raise exception.EntityNotFound(entity='Plugin', name=plugin_name)
