Fix DNS use for testcase 3
[sdnvpn.git] / odl-pipeline / lib / tripleo_introspector.sh
1 #!/bin/bash
2 #
3 # Copyright (c) 2017 All rights reserved
4 # This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 #
8 # http://www.apache.org/licenses/LICENSE-2.0
9 DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
10 if [ -e ~/stackrc ];then
11   . ~/stackrc
12 fi
13 set -e
14 export PYTHONPATH=$PYTHONPATH:$DIR
15 mkdir -p $DIR/tmp
16 cd $DIR
17 python ./tripleo_introspector/tripleo_introspector.py $@