summaryrefslogtreecommitdiffstats
path: root/tests/network_bridging-clean.sh
diff options
context:
space:
mode:
authorBryan Sullivan <bryan.sullivan@att.com>2017-01-18 07:33:01 -0800
committerBryan Sullivan <bryan.sullivan@att.com>2017-01-18 09:13:34 -0800
commit85b2f25678ccf7a34569a38924b53b3cae073140 (patch)
treed5343d4aa535098b795651b0996c7df340b29c87 /tests/network_bridging-clean.sh
parent52c497c18a308b8dc761ceb8ee20d9d95cd7e384 (diff)
First working version of network_bridging test.
JIRA: COPPER-4 Add additional comment on Devstack use. Update comments in cleanup script. Update copyright year. Change-Id: I8d6523ed0d35558ef22c840a9d08a4a390c20cf4 Signed-off-by: Bryan Sullivan <bryan.sullivan@att.com>
Diffstat (limited to 'tests/network_bridging-clean.sh')
-rw-r--r--tests/network_bridging-clean.sh19
1 files changed, 9 insertions, 10 deletions
diff --git a/tests/network_bridging-clean.sh b/tests/network_bridging-clean.sh
index 689eaa2..02db216 100644
--- a/tests/network_bridging-clean.sh
+++ b/tests/network_bridging-clean.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2015-2016 AT&T Intellectual Property, Inc
+# Copyright 2015-2017 AT&T Intellectual Property, Inc
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -16,16 +16,15 @@
# What this is: Cleanup script for the test network_bridging.sh
#
-# Status: this is a work in progress, under test.
+# Status: this is a work in progress, under test.
#
-# Prequisite: OPFNV installed per JOID or Apex installer
+# Prequisite:
+# - OpenStack Congress installed as part of an OpenStack deployment,
+# e.g. via Devstack, or OPFNV
# - OpenStack CLI environment variables setup
# How to use:
-# Install Congress test server per https://wiki.opnfv.org/copper/academy
-# # Create Congress policy and resources that exercise policy
-# $ bash network_briding.sh
-# # After test, cleanup
-# $ bash network_briding-clean.sh
+# $ bash network_bridging-clean.sh
+
if [ $# -eq 1 ]; then
if [ $1 == "debug" ]; then
@@ -68,10 +67,10 @@ echo "Delete test_dmz network"
neutron net-delete test_dmz
echo "Delete test_admin subnet"
-neutron subnet-delete test_dmz
+neutron subnet-delete test_admin
echo "Delete test_admin network"
-neutron net-delete test_dmz
+neutron net-delete test_admin
set +x #echo off