Feature #282

SQL tables for templates re-design

Added by Carlos Martín over 10 years ago. Updated about 10 years ago.

Status:ClosedStart date:07/15/2010
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Core & System
Target version:Release 2.0
Resolution:fixed Pull request:

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 10 years ago

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

Revision ab24a66e
Added by Carlos Martín over 10 years ago

feature #192: Tests for feature #282.

Revision 8384abf0
Added by Carlos Martín over 10 years 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 10 years ago

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

Revision be0ae408
Added by Carlos Martín over 10 years ago

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

Revision d0ccf2b9
Added by Carlos Martín over 10 years ago

feature #282: Added libxml to tests SConstructs

Revision 7dac88cd
Added by Ruben S. Montero over 10 years ago

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

Revision fbc455a2
Added by Ruben S. Montero over 10 years ago

feature #282: fix dump method

Revision 5b333b98
Added by Ruben S. Montero over 10 years ago

feature #282: clear the template before re-build

Revision 5cd85b4a
Added by Ruben S. Montero over 10 years ago

feature #282: Removed already addressed TODO

Revision 071066c1
Added by Carlos Martín over 10 years ago

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

Revision 7221ae06
Added by Carlos Martín over 10 years ago

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

Revision 24987794
Added by Carlos Martín over 10 years ago

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

Revision 8faeadaf
Added by Carlos Martín over 10 years ago

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

Revision ff654365
Added by Carlos Martín over 10 years ago

feature #282: Wrong xml generation for Image.

Revision a49d7b31
Added by Ruben S. Montero over 10 years ago

feature #282: Fixed Vnet XML render

Revision fa002ca7
Added by Carlos Martín over 10 years 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 10 years 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 10 years ago

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

Revision 9299fdec
Added by Juan Jose Montiel Cano over 3 years ago

Feature 2774 Better Zone handling in Sunstone (#282)

  • F #2774 added new param to config
  • F #2774 Disabled upload when you change the zone
  • F #2774 Disabled vnc when you change the zone

History

#1 Updated by Ruben S. Montero over 10 years ago

  • Target version set to Release 2.0

#2 Updated by Carlos Martín over 10 years ago

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

#3 Updated by Ruben S. Montero about 10 years ago

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

Also available in: Atom PDF