Esempio n. 1
0
 def destroy(self):
     payload = {'server_group_id': self.uuid}
     try:
         self._destroy_in_db(self._context, self.uuid)
     except exception.InstanceGroupNotFound:
         db.instance_group_delete(self._context, self.uuid)
     self.obj_reset_changes()
     compute_utils.notify_about_server_group_update(self._context,
                                                    "delete", payload)
Esempio n. 2
0
 def destroy(self):
     payload = {'server_group_id': self.uuid}
     try:
         self._destroy_in_db(self._context, self.uuid)
     except exception.InstanceGroupNotFound:
         db.instance_group_delete(self._context, self.uuid)
     self.obj_reset_changes()
     compute_utils.notify_about_server_group_update(self._context,
                                                    "delete", payload)
Esempio n. 3
0
 def destroy(self, context):
     db.instance_group_delete(context, self.uuid)
     self.obj_reset_changes()
Esempio n. 4
0
 def destroy(self):
     payload = {'server_group_id': self.uuid}
     db.instance_group_delete(self._context, self.uuid)
     self.obj_reset_changes()
     compute_utils.notify_about_server_group_update(self._context, "delete",
                                                    payload)
Esempio n. 5
0
 def destroy(self, context):
     db.instance_group_delete(context, self.uuid)
     self.obj_reset_changes()
Esempio n. 6
0
 def destroy(self):
     payload = {'server_group_id': self.uuid}
     db.instance_group_delete(self._context, self.uuid)
     self.obj_reset_changes()
     compute_utils.notify_about_server_group_update(self._context,
                                                    "delete", payload)