Exemplo n.º 1
0
 def save(self):
     blob = self.to_json()
     db.instance_extra_update_by_uuid(self._context, self.instance_uuid,
                                      {'pci_requests': blob})
Exemplo n.º 2
0
 def delete_by_instance_uuid(cls, context, instance_uuid):
     values = {'numa_topology': None}
     db.instance_extra_update_by_uuid(context, instance_uuid,
                                      values)
Exemplo n.º 3
0
 def delete_by_instance_uuid(cls, context, instance_uuid):
     values = {'numa_topology': None}
     db.instance_extra_update_by_uuid(context, instance_uuid, values)
Exemplo n.º 4
0
 def _save(self):
     values = {'numa_topology': self._to_json()}
     db.instance_extra_update_by_uuid(self._context, self.instance_uuid,
                                      values)
     self.obj_reset_changes()
Exemplo n.º 5
0
 def _save(self):
     values = {'numa_topology': self._to_json()}
     db.instance_extra_update_by_uuid(self._context, self.instance_uuid,
                                      values)
     self.obj_reset_changes()