summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2017-02-28 11:19:20 -0800
committerBryan Sullivan <bryan.sullivan@att.com>2017-02-28 11:19:20 -0800
commitd76d87440c916cad0847cca0cb06912a86dea4cc (patch)
tree9e2fabdf9c14b46041f7a0a11b9ecf9946656e46 /tests
parent180afdd04499f0a5c6b4c93cd269be526373880d (diff)
Add note about nested virtualization. Remove debug step.
JIRA: MODELS-23 It may be needed for devstack under a virt-manager VM. Change-Id: Ie6a0e066db88cba944005cae2107947cd01c9bb9 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/vHello_Tacker.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/vHello_Tacker.sh b/tests/vHello_Tacker.sh
index 7000ff2..4374f7a 100644
--- a/tests/vHello_Tacker.sh
+++ b/tests/vHello_Tacker.sh
@@ -35,6 +35,9 @@
# $ sudo route add -net 172.24.0.0/16 gw 192.168.122.112
# Sub your devstack Public network subnet for 172.24.0.0/16, and
# your devstack VM IP address on the host for 192.168.122.112
+# Also you may need to ensure that nested virtualization is enabled, e.g. in
+# virt-manager, enable "Copy host CPU confguraton" for the devstack VM.
+#
# For OPNFV-based tests, prerequisites are
# 1) models-joid-001 | models-apex-001 (installation of OPNFV system)
# The test may work, but has not been tested for other OPNFV installers.
@@ -292,7 +295,7 @@ start() {
stop() {
echo "$0: $(date) setup OpenStack CLI environment"
source /opt/tacker/admin-openrc.sh
-set -x
+
if [[ "$(tacker vnf-list|grep hello-world-tacker|awk '{print $2}')" != '' ]]; then
echo "$0: $(date) uninstall vHello blueprint via CLI"
try 12 10 "tacker vnf-delete hello-world-tacker"