Add the sp_rand_init and sp_rand_cleanup tools.

These will be used on the worker node to set up a random volume name
prefix for the StorPool volumes and snapshots created during
the OpenStack CI run, and detach and remove them all later.

Change-Id: Ic558e2183db8068545f7454f956dc8bc740959c6
diff --git a/tools/sp-rand/setup.cfg b/tools/sp-rand/setup.cfg
new file mode 100644
index 0000000..1273ae8
--- /dev/null
+++ b/tools/sp-rand/setup.cfg
@@ -0,0 +1,33 @@
+[metadata]
+name = sp_rand
+version = attr: sp_rand.defs.VERSION
+author = StorPool
+author_email = openstack-dev@storpool.com
+description = Set up and clean up volumes with random name prefixes.
+
+[options]
+zip_safe = True
+package_dir =
+    = src
+packages =
+    sp_rand
+setup_requires =
+install_requires =
+    confget >= 4
+    storpool >= 6
+
+[options.package_data]
+sp_rand =
+    py.typed
+
+[options.entry_points]
+console_scripts =
+    sp_rand_cleanup = sp_rand.cleanup:main
+    sp_rand_init = sp_rand.init:main
+
+[flake8]
+max_line_length = 88
+
+[mypy]
+python_version = 3.8
+strict = True