summaryrefslogtreecommitdiffstats
path: root/tests/dmz-clean.sh
diff options
context:
space:
mode:
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 }")