summaryrefslogtreecommitdiffstats
path: root/tests/dmz-clean.sh
diff options
context:
space:
mode:
authorblsaws <bryan.sullivan@att.com>2016-06-10 08:16:15 -0700
committerblsaws <bryan.sullivan@att.com>2016-06-10 08:16:15 -0700
commitca11067db2b34a9f816f743284da9b6a20ad4c42 (patch)
tree5737434b25ee4d28a8562753b0b4cd5e9a833b7b /tests/dmz-clean.sh
parent0ac4fa32c670dd12d7199345560edf94a51d0475 (diff)
Align tests with common approach across adhoc/CI/Functest environments.
JIRA: COPPER-4 Change-Id: I1b7f498b7b0d53e503396d75c40e6db26f0fa21b Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'tests/dmz-clean.sh')
-rw-r--r--tests/dmz-clean.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/dmz-clean.sh b/tests/dmz-clean.sh
index 6859192..0823cad 100644
--- a/tests/dmz-clean.sh
+++ b/tests/dmz-clean.sh
@@ -18,11 +18,14 @@
#
# Status: this is a work in progress, under test.
#
+# Prequisite: OPFNV installed per JOID or Apex installer
+# - OpenStack CLI environment variables setup
# How to use:
# Install Congress test server per https://wiki.opnfv.org/copper/academy
-# $ source ~/git/copper/tests/adhoc/dmz.sh
-# After test, cleanup with
-# $ bash ~/git/copper/tests/adhoc/dmz-clean.sh
+# # Create Congress policy and resources that exercise policy
+# $ bash dmz.sh
+# After test, cleanup
+# $ bash dmz-clean.sh
if [ $# -eq 1 ]; then
if [ $1 == "debug" ]; then
@@ -30,8 +33,6 @@ if [ $# -eq 1 ]; then
fi
fi
-source /tmp/copper/admin-openrc.sh
-
echo "Get Congress policy 'test' ID"
test_policy_ID=$(openstack congress policy show test | awk "/ id / { print \$4 }")