From b3791d8df2a7666603148e771191e1f6e7f4a784 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Thu, 25 Jan 2018 19:23:51 +0100 Subject: Fix cleanup function A floating ip remains when executing the clean up function. That floating ip belongs to the Tacker VNF and thus we should add that creator to the list Change-Id: Ic15574bf93f30a26f81a4944d742307dda4bfe6d Signed-off-by: Manuel Buil --- sfc/lib/openstack_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sfc/lib/openstack_utils.py b/sfc/lib/openstack_utils.py index f55f62e8..28cfebe7 100644 --- a/sfc/lib/openstack_utils.py +++ b/sfc/lib/openstack_utils.py @@ -193,6 +193,7 @@ class OpenStackSFC: port_name=port_name, router_name=router.name) ip = sf_creator.add_floating_ip(float_ip) + self.creators.append(sf_creator) fips.append(ip.ip) return fips -- cgit 1.2.3-korg