summaryrefslogtreecommitdiffstats
path: root/predPy
diff options
context:
space:
mode:
authorLinghui Zeng <linghui.zeng@huawei.com>2016-04-21 10:56:57 +0800
committerLinghui Zeng <linghui.zeng@huawei.com>2016-04-21 10:56:57 +0800
commita93333c82059a3bd371481cecf6785cbb4cfa9f8 (patch)
tree65def33dd566dbb6a524a1617221a3d98d633fed /predPy
parent905e00d214a703c521bfd91ae98201764b0c6ff0 (diff)
Add dashboard code for data collection
JIRA: PREDICTION-49 Change-Id: Idf697cc48f119fae7c5b86291fd4c71a17ff4373 Signed-off-by: Linghui Zeng <linghui.zeng@huawei.com>
Diffstat (limited to 'predPy')
-rw-r--r--predPy/templates/source.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/predPy/templates/source.html b/predPy/templates/source.html
new file mode 100644
index 0000000..b9b0699
--- /dev/null
+++ b/predPy/templates/source.html
@@ -0,0 +1,15 @@
+<h2>Set environment variables using the OpenStack RC file</h2>
+
+<p>To set the required environment variables for the OpenStack command-line clients, you must create an environment file
+called an OpenStack rc file, or <code class="filename">openrc.sh</code> file. This project-specific environment
+file contains the credentials that all OpenStack services use.</p>
+
+<p>When you source the file, environment variables are set for your current shell. The variables enable the OpenStack client
+commands to communicate with the OpenStack services that run in the cloud.</p>
+
+<h2>source your openrc file in a fixed form: source openrc [username] [projectname]</h2>
+
+<form action="/" method="POST" height=29px>
+ <input type="text" name="content" class="input-box">
+ <input type="submit" value="Submit" class="button">
+</form>