Commit Graph
149 Commits
Author SHA1 Message Date
Ruben S. Montero c9d0df87a8 feature #513: Hooks can now use the ID or full template as arguments 2011-05-13 15:57:17 +02:00
Ruben S. Montero a7e9bd0876 feature #513: Imrpved parser for attributes, double qoutes are not needed for simple values 2011-05-13 13:52:36 +02:00
Ruben S. Montero fc9278f18b feature #513: UID, TEMPLATE can be used in context. Also IMAGE template attributes can be referred 2011-05-13 01:05:04 +02:00
Ruben S. Montero 10e85c658b feature #523: compilation warning 2011-04-12 23:06:53 +02:00
Ruben S. Montero 2c6e6821ca feature #523: Minor changes: changed a if test and moved to unlock to error sections 2011-04-12 17:44:06 +02:00
Carlos Martín 2ce4009975 Feature #523: Extra error checks for one.vm.savedisk XML-RPC method 2011-04-11 18:05:43 +02:00
Ruben S. Montero 1e4e4f2c32 feature #523, #407, #488: Template is now part of base class PoolObjectSQL 2011-04-08 01:02:55 +02:00
Ruben S. Montero 5ba3999273 feature #523: Moved saveas to core. Some checks still needs to be done: image is not persistent, image is not going to be saved. Also types should be preserved if building from an exisiting image. 2011-04-07 02:01:40 +02:00
Ruben S. Montero 7f67ceff0a Merge branch 'feature-407' into feature-523
Conflicts:
	src/image/ImagePool.cc
2011-03-24 16:53:43 +01:00
Ruben S. Montero 23ea7a6a97 feature #523: Better interface for the ImageManager 2011-03-23 00:14:27 +01:00
Carlos Martín 27341b66cf Features #539, #407: Small consistency checks for VMs 2011-03-22 18:40:03 +01:00
Ruben S. Montero c59f542ee6 feature #523: Work on the Image Repository 2011-03-22 18:21:09 +01:00
Ruben S. Montero 08466818fd Merge branch 'feature-407' into feature-523 2011-03-10 12:34:46 +01:00
Carlos Martín b2f1051e07 Feature #407: Refactor of pool dumps to be performed in PoolSQL class 2011-03-09 11:25:46 +01:00
Ruben S. Montero ac6c5644fd feature #407: Minor changes for the VirtualMachine Pool 2011-03-08 17:55:14 +01:00
Ruben S. Montero 9288a79aa3 feature #407: Several bug fixes. Better index for names. 2011-03-05 03:24:11 +01:00
Ruben S. Montero fadbe3a4d7 feature #407: All resources now uses the base classes and index 2011-03-04 23:26:55 +01:00
Ruben S. Montero e18675bf67 feature #407: Refactor of base classes to include names and uid. Also the pool now has an index to get objects by name 2011-03-04 22:37:21 +01:00
Carlos Martín e22e1cc278 Feature #407: VM's last_seq deleted, it is not needed any more 2011-03-01 18:46:59 +01:00
Carlos Martín 493a9e9c8e Feature #407: Virtual Machine uses new xml blob DB schema 2011-03-01 17:47:20 +01:00
Jaime Melis 4980255942 Update copyright year to 2011 2011-02-25 14:34:44 +01:00
Carlos Martín ebf66e0fda Feature #407: Host object uses new DB schema, storing the contents as XML 2011-02-24 18:12:26 +01:00
Carlos Martín 55f44bbc99 Core Unit testing: batch execution improvements, & missing one_auth files fix 2011-02-03 19:22:39 +01:00
Ruben S. Montero bcb7e774de Merge branch 'bug-419' 2011-02-01 16:46:39 +01:00
Ruben S. Montero 3433820b94 feature #457: Refactor Sconstruct files 2011-01-27 23:12:48 +01:00
Carlos Martín f9902c89ec Bug #419: "SELECT *" SQL statement modified to use the column names 2011-01-27 17:23:51 +00:00
Carlos Martín 43b4340177 Feature #457: Refactor of tests build process 2011-01-27 16:53:11 +01:00
Ruben S. Montero cd05b5a1ef feature #357: Added on failed hook for VMs 2010-12-22 18:08:04 +01:00
Ruben S. Montero 1ad45c3f26 Fix compilation issues with parsers 2010-09-02 22:09:31 +02:00
Ruben S. Montero 32292a134c Adds -Werror to Sconstruct files. Path by Charles Loomis
(cherry picked from commit 2b34e8a1c0)
2010-09-02 20:32:07 +02:00
Ruben S. Montero fbd2e2aefd fix white spaces 2010-08-27 16:36:36 +02:00
Carlos Martín 90a58ce066 one.vmpool.info xml-rpc method now has 2 more parameters
The method keeps compatibility, and can be called with 2 or 4 parameters

It now returns the the extended info upon request, reading only the vm_pool
table in the DB if the Histoy and username are not needed

The last parameter allows filtering by VM status
2010-08-27 16:11:28 +02:00
Ruben S. Montero 92c31a5052 a faster mem_collector, tests also updated 2010-08-10 16:30:54 +02:00
Ruben S. Montero 62fd74e890 Solved minor memory leaks when parser error occurs. Solved leaks in unit tests 2010-08-08 13:20:24 +02:00
Ruben S. Montero f16f88a6e9 bug #274: work on the error messages 2010-08-06 00:40:18 +02:00
Ruben S. Montero 3347c51489 bug #274: Updated tests 2010-08-06 00:23:57 +02:00
Ruben S. Montero 7ac6121da9 bug #274: Error messages are now sent to the user when allocating objects 2010-08-05 19:28:28 +02:00
Ruben S. Montero 4f82f078b8 Merge branch 'bug-295' into one-2.0
Conflicts:
	include/Image.h
	src/image/Image.cc
2010-08-04 17:42:53 +02:00
Carlos Martín fa002ca701 feature #282: Template attributes are now managed by the PoolSQL objects, and then the object has to be updated to write changes to DB. 2010-08-04 16:55:00 +02:00
Tino Vázquez fc91d48210 bug #291: Number of DATABLOCKs than a VM can have is set to a maximum of 10 2010-08-04 13:05:13 +02:00
Carlos Martín 7221ae061c feature #282 & #192: VirtualMachineTemplate moved from its own table to a vm_pool column. 2010-08-04 10:30:31 +02:00
Ruben S. Montero 04874dbf7a bug #295: Hooks can be specified without absolute path. Adjusted share location for system-wide installations 2010-08-02 11:24:01 +02:00
Ruben S. Montero 84e51477e4 feature #295: Only overwritten images are disabled 2010-08-01 17:54:46 +02:00
Ruben S. Montero 971031f326 bug #295: Images are disabled if have to be written in the repo 2010-08-01 17:44:58 +02:00
Carlos Martín d0ccf2b962 feature #282: Added libxml to tests SConstructs 2010-07-29 19:46:17 +02:00
Jaime Melis 71acb4318e Fixed a bug where a stringstream wasn't beiing correctly cleared in a loop 2010-07-26 17:54:38 +02:00
Carlos Martín 007f5f6b9c feature #200: XML-RPC method for saving images while a VM is executing. 2010-07-21 18:10:58 +02:00
Ruben S. Montero 2eafe51805 feature #200: Added default DISK_ID, simplified states 2010-07-21 17:50:04 +02:00
Ruben S. Montero 6e3d697d9e Updates image when acquired/released 2010-07-21 15:19:27 +02:00
Carlos Martín 5997d7ffe7 feature #281: VM can only use now one OS image and one CDROM image. 2010-07-20 20:09:37 +02:00