aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory
diff options
context:
space:
mode:
authorSean Smith <ssmith@iol.unh.edu>2021-03-08 16:21:56 -0500
committerSean Smith <ssmith@iol.unh.edu>2021-03-08 16:21:56 -0500
commit8a902d357fa6eca07384d25fac32a6e0521a63e5 (patch)
tree9f6b70e20c254d4fe75f47537c434fe2f8b671f9 /src/resource_inventory
parenta320df5bf04978fc1e73a2e49d1a4bed5b82b849 (diff)
Release VLAN on booking end
Signed-off-by: Sean Smith <ssmith@iol.unh.edu> Change-Id: Ib17fd871501a2af46bb78bbdfc68112a66e763c0
Diffstat (limited to 'src/resource_inventory')
-rw-r--r--src/resource_inventory/resource_manager.py3
1 files changed, 1 insertions, 2 deletions
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 = {}