summaryrefslogtreecommitdiffstats
path: root/odl-pipeline/lib/tripleo_introspector.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-01-12 12:27:41 -0500
committerTim Rozet <trozet@redhat.com>2017-01-30 14:36:24 -0500
commitc7cbf47421382ef5db5ad8a2f470def52640b21f (patch)
tree78474dd4298b163b7816e038533f50a586df9e8c /odl-pipeline/lib/tripleo_introspector.sh
parentced7ceab968ee2542b5d4d4255195d971aa61fea (diff)
Updates ODL Pipeline scripts for CSIT
Changes Include: - Change to TripleOInspector which only introspect a current Apex deployment and dump yaml config to be bundled with snapshots. - Add TripleOHelper which consists of all tripleO helper functions. Many this are done to virsh so the idea is to have at. Some point in time a libvirtHelper, or use another libvirt python lib. Thatsway it is a class so that we can inherit later on. - New argument for passing the SSH private key to use to connect to nodes is added to the service utils. - Some general clean up and consolidation of logic JIRA: APEX-363 Change-Id: I792db0fac3f4e81969fe85c05fc298fe5af02537 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'odl-pipeline/lib/tripleo_introspector.sh')
-rwxr-xr-xodl-pipeline/lib/tripleo_introspector.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/odl-pipeline/lib/tripleo_introspector.sh b/odl-pipeline/lib/tripleo_introspector.sh
new file mode 100755
index 0000000..8d1b9de
--- /dev/null
+++ b/odl-pipeline/lib/tripleo_introspector.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+if [ -e ~/stackrc ];then
+ . ~/stackrc
+fi
+set -e
+export PYTHONPATH=$PYTHONPATH:$DIR
+mkdir -p $DIR/tmp
+cd $DIR
+python ./tripleo_introspector/tripleo_introspector.py $@