diff options
author | blsaws <bryan.sullivan@att.com> | 2016-03-14 14:20:06 -0700 |
---|---|---|
committer | blsaws <bs3131@att.com> | 2016-04-01 08:30:07 -0700 |
commit | e7c883ce12b714328540a0a037ed2ab9cfda1d92 (patch) | |
tree | 4dcb47b21b39f014088b65c8ac4b8c15239e99f2 /tests/adhoc/dmz01-clean.sh | |
parent | 072d4cfc11121c3ac3183541da70f3ce68e846cf (diff) |
Add security group removal
JIRA: COPPER-4
Change-Id: I6216b7e98c86e839506170fe0a42e2a45b25e7d8
Signed-off-by: blsaws <bryan.sullivan@att.com>
Diffstat (limited to 'tests/adhoc/dmz01-clean.sh')
-rw-r--r-- | tests/adhoc/dmz01-clean.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/adhoc/dmz01-clean.sh b/tests/adhoc/dmz01-clean.sh index fff7dea..69f8754 100644 --- a/tests/adhoc/dmz01-clean.sh +++ b/tests/adhoc/dmz01-clean.sh @@ -38,6 +38,10 @@ instance=$(nova list | awk "/ cirros2 / { print \$2 }") if [ "$instance" != "" ]; then nova delete $instance fi +sg=$(neutron security-group-list | awk "/ dmz / { print \$2 }") + +neutron security-group-delete $sg + router=$(neutron router-list | awk "/ test_router / { print \$2 }") test_internal_interface=$(neutron router-port-list $router | grep 10.0.0.1 | awk '{print $2}') |