diff options
Diffstat (limited to 'src/resource_inventory')
-rw-r--r-- | src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py | 14 | ||||
-rw-r--r-- | src/resource_inventory/resource_manager.py | 3 |
2 files changed, 1 insertions, 16 deletions
diff --git a/src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py b/src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py deleted file mode 100644 index b3459bf..0000000 --- a/src/resource_inventory/migrations/0018_manual_change_rconfig_default_name.py +++ /dev/null @@ -1,14 +0,0 @@ -from django.db import migrations, models - - -class Migration(migrations.Migration): - dependencies = [ - ('resource_inventory', '0016_auto_20201109_1947'), - ] - operations = [ - migrations.AlterField( - model_name='resourceconfiguration', - name='name', - field=models.CharField(default='opnfv-host') - ), - ] 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 = {} |