X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fopenstack%2Fosaggregate.py;h=d2aff6adeb0378f0b085c592fe8931add3b50c0e;hb=8ca0e2c3232ddb01c8b0c93dd5bb43efc07f9836;hp=95185108dcc7d8ed140c4abee3ac5dba3124a0ad;hpb=d891423bfc8045c2e7a2bb534d61c74501ea5a80;p=sfa.git diff --git a/sfa/openstack/osaggregate.py b/sfa/openstack/osaggregate.py index 95185108..d2aff6ad 100644 --- a/sfa/openstack/osaggregate.py +++ b/sfa/openstack/osaggregate.py @@ -265,7 +265,7 @@ class OSAggregate: def delete_instances(self, project_name): instances = self.driver.shell.db.instance_get_all_by_project(project_name) - security_group_manager = SecurityGroup(self) + security_group_manager = SecurityGroup(self.driver) for instance in instances: # deleate this instance's security groups for security_group in instance.security_groups: