aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-12-18 12:16:57 -0500
committerSawyer Bergeron <sbergeron@iol.unh.edu>2020-12-18 17:19:55 +0000
commit107d8bb663083cd2e5fc09417ccd41560bc272c9 (patch)
tree5920f17e279268df8c0bb767221008cad46ace45 /src/resource_inventory
parent17388941fc3cff40cf2c7e7290e6bad9a27ca578 (diff)
Reduce log spam: deletion on resource bundles should be deprecated2.1.42.1.3
Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Change-Id: I6bffc393f7a6f93c4b8cd8d4c8bacba0c23fb256 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
Diffstat (limited to 'src/resource_inventory')
-rw-r--r--src/resource_inventory/resource_manager.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resource_inventory/resource_manager.py b/src/resource_inventory/resource_manager.py
index 140cc09..f587a82 100644
--- a/src/resource_inventory/resource_manager.py
+++ b/src/resource_inventory/resource_manager.py
@@ -64,9 +64,11 @@ class ResourceManager:
# public interface
def deleteResourceBundle(self, resourceBundle):
+ raise NotImplementedError("Resource Bundle Deletion Not Implemented")
+
+ def releaseResourceBundle(self, resourceBundle):
for resource in resourceBundle.get_resources():
resource.release()
- resourceBundle.delete()
def get_vlans(self, resourceTemplate):
networks = {}