diff options
author | blsaws <bryan.sullivan@att.com> | 2016-03-14 14:20:06 -0700 |
---|---|---|
committer | blsaws <bryan.sullivan@att.com> | 2016-03-14 14:20:06 -0700 |
commit | 5a3424849d2e64d0cb0de60cb55091df6dfba75d (patch) | |
tree | 4dcb47b21b39f014088b65c8ac4b8c15239e99f2 | |
parent | 94b8b556bdf560daba655e78052431e8f09c07cb (diff) |
Add security group removal
JIRA: COPPER-4
Change-Id: I6216b7e98c86e839506170fe0a42e2a45b25e7d8
Signed-off-by: blsaws <bryan.sullivan@att.com>
-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}') |