Feature #282

SQL tables for templates re-design

Added by Carlos Martín over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:07/15/2010
Priority:Normal Due date:
Assignee:Carlos Martín % Done:

0%

Category:OpenNebula Core
Target version:Release 2.0
Resolution:fixed Addon:
Story points-
Velocity based estimate-

Description

Templates are stored in the DB as individual pairs of [attribute - value].
This doesn't bring any advantage, because internally all attributes are read and then managed as a complete template object.

DB schema should be re-designed to store templates as a whole, to speed up the rebuild from DB to memory and have cleaner tables.

Associated revisions

Revision 35aa6ade
Added by Carlos Martín over 1 year ago

feature #282: Templates can be now parsed from xml-formatted strings.

Revision ab24a66e
Added by Carlos Martín over 1 year ago

feature #192: Tests for feature #282.

Revision 8384abf0
Added by Carlos Martín over 1 year ago

feature #282: Templates can be now parsed from xml-formatted strings.
(cherry picked from commit 35aa6ade2c054282eca76c777c9318575a6f154d)

Revision 7e5d3cf8
Added by Carlos Martín over 1 year ago

feature #192: Tests for feature #282.
(cherry picked from commit ab24a66e0ec8fd28d9387c80c63c3c747a946ab5)

Revision be0ae408
Added by Carlos Martín over 1 year ago

feature #282: HostTemplate moved from its own table to a host_pool column.

Revision d0ccf2b9
Added by Carlos Martín over 1 year ago

feature #282: Added libxml to tests SConstructs

Revision 7dac88cd
Added by Ruben S. Montero over 1 year ago

feature #282: Thread saefty & memory leaks for XML parsing

Revision fbc455a2
Added by Ruben S. Montero over 1 year ago

feature #282: fix dump method

Revision 5b333b98
Added by Ruben S. Montero over 1 year ago

feature #282: clear the template before re-build

Revision 5cd85b4a
Added by Ruben S. Montero over 1 year ago

feature #282: Removed already addressed TODO

Revision 071066c1
Added by Carlos Martín over 1 year ago

feature #282: Host template initialization fixed to match the old HostTemplate class.

Revision 7221ae06
Added by Carlos Martín over 1 year ago

feature #282 & #192: VirtualMachineTemplate moved from its own table to a vm_pool column.

Revision 24987794
Added by Carlos Martín over 1 year ago

feature #282: VirtualNetworkTemplate moved from its own table to a network_pool column.

Revision 8faeadaf
Added by Carlos Martín over 1 year ago

feature #282: ImageTemplate moved from its own table to a image_pool column.

Revision ff654365
Added by Carlos Martín over 1 year ago

feature #282: Wrong xml generation for Image.

Revision a49d7b31
Added by Ruben S. Montero over 1 year ago

feature #282: Fixed Vnet XML render

Revision fa002ca7
Added by Carlos Martín over 1 year ago

feature #282: Template attributes are now managed by the PoolSQL objects, and then the object has to be updated to write changes to DB.

Revision 7a6b9fc9
Added by Carlos Martín over 1 year ago

feature #282: Scheduler now builds objects from the pool dump xmls, instead of querying the core for each one individually.

Revision 4c4dfd6e
Added by Ruben S. Montero over 1 year ago

feature #282: Removed unneeded try, made VirtualMachineXML constructors as HostXML

History

Updated by Ruben S. Montero over 1 year ago

  • Target version set to Release 2.0

Updated by Carlos Martín over 1 year ago

Additional task: documentation has to be updated. Libxml is now a dependency to compile OpenNebula.

Updated by Ruben S. Montero over 1 year ago

  • Category set to OpenNebula Core
  • Status changed from New to Closed
  • Assignee set to Carlos Martín
  • Resolution set to fixed

Also available in: Atom PDF