aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitrios Markou <mardim@intracom-telecom.com>2017-09-28 13:03:46 +0300
committerDimitrios Markou <mardim@intracom-telecom.com>2017-09-28 11:06:42 +0000
commit841e264b708557b86ea906e24d7728d19ee974ed (patch)
tree5f55fe3f47ead82b4f9cbea5904e9199d9572111
parent3e7b53476aca36210d204e15ba0377f1862b57a3 (diff)
Bug fix: Delete unnecessary functions which are causing errors
JIRA: SFC-117 Change-Id: I20e12e38a3cf2a9954893cf52187ac153b64bdfa Signed-off-by: Dimitrios Markou <mardim@intracom-telecom.com>
-rw-r--r--sfc/lib/cleanup.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/sfc/lib/cleanup.py b/sfc/lib/cleanup.py
index a5512c6..9c7b548 100644
--- a/sfc/lib/cleanup.py
+++ b/sfc/lib/cleanup.py
@@ -84,15 +84,6 @@ def delete_floating_ips():
os_utils.delete_floating_ip(n, fip.id)
-def delete_stacks():
- logger.info("Removing stack: sfc")
- utils.run_cmd('openstack stack delete sfc --y')
- logger.info("Removing stack: sfc_test1")
- utils.run_cmd('openstack stack delete sfc_test1 --y')
- logger.info("Removing stack: sfc_test2")
- utils.run_cmd('openstack stack delete sfc_test2 --y')
-
-
def delete_instances():
n = os_utils.get_nova_client()
instances = os_utils.get_instances(n)
@@ -118,7 +109,6 @@ def cleanup(odl_ip=None, odl_port=None):
time.sleep(20)
delete_vnfds()
delete_vims()
- delete_stacks()
delete_floating_ips()
delete_instances()
if odl_ip is not None and odl_port is not None: