From c7cbf47421382ef5db5ad8a2f470def52640b21f Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Thu, 12 Jan 2017 12:27:41 -0500 Subject: 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 --- odl-pipeline/lib/tripleo_introspector.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 odl-pipeline/lib/tripleo_introspector.sh (limited to 'odl-pipeline/lib/tripleo_introspector.sh') 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 $@ -- cgit 1.2.3-korg