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 13:03:46 +0300
commit440cb84b50c72591a325d0761ce4928bc613a839 (patch)
treec9248bb319fbbaa2c74f656c0cb773382cabbe33
parenta362e1e7beef9c3c9921b8f755d37dd60761c226 (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 a5512c66..9c7b5484 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: