From 8a902d357fa6eca07384d25fac32a6e0521a63e5 Mon Sep 17 00:00:00 2001 From: Sean Smith Date: Mon, 8 Mar 2021 16:21:56 -0500 Subject: Release VLAN on booking end Signed-off-by: Sean Smith Change-Id: Ib17fd871501a2af46bb78bbdfc68112a66e763c0 --- src/resource_inventory/resource_manager.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/resource_inventory') diff --git a/src/resource_inventory/resource_manager.py b/src/resource_inventory/resource_manager.py index f587a82..9406977 100644 --- a/src/resource_inventory/resource_manager.py +++ b/src/resource_inventory/resource_manager.py @@ -67,8 +67,7 @@ class ResourceManager: raise NotImplementedError("Resource Bundle Deletion Not Implemented") def releaseResourceBundle(self, resourceBundle): - for resource in resourceBundle.get_resources(): - resource.release() + resourceBundle.release() def get_vlans(self, resourceTemplate): networks = {} -- cgit 1.2.3-korg