Add devstack plugin to ease integration tests

Instead of requiring users to install the plugin manually, add a
devstack plugin that can be enabled in order to perform the
installation.

This change should allow us to remove the tempest plugin installation
code from manila's devstack plugin and enable it in job definitions
the same way we enable plugins for manila itself and for the manila-ui
plugin.

Change-Id: If0e5daab19ec83e2da5709693d18fcee72b42766
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
new file mode 100644
index 0000000..4ee1622
--- /dev/null
+++ b/devstack/plugin.sh
@@ -0,0 +1,16 @@
+# Directory where this plugin.sh file is
+MANILA_TEMPEST_PLUGIN_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
+
+# install_manila_tempest_plugin
+function install_manila_tempest_plugin {
+    setup_dev_lib "manila-tempest-plugin"
+}
+
+if [[ "$1" == "stack" ]]; then
+    case "$2" in
+        install)
+            echo_summary "Installing manila-tempest-plugin"
+            install_manila_tempest_plugin
+            ;;
+    esac
+fi