Ruben S. Montero
71e4dc6967
bug 1212: Pass references instead of pointers
2012-04-27 00:12:55 +02:00
Carlos Martín
c71a92d18a
Bug #1232 : Improve automatic target assignment
2012-04-26 16:54:24 +02:00
Carlos Martín
f0c1641fdc
Revert "bug #1232 : Only allow Datastore & volatile disks. Remove automatic target generation. Remove unneeded oned.conf attributes"
...
This reverts commit e401b4900d
.
2012-04-26 16:54:24 +02:00
Ruben S. Montero
e401b4900d
bug #1232 : Only allow Datastore & volatile disks. Remove automatic target generation. Remove unneeded oned.conf attributes
...
(cherry picked from commit 5c1d4edb01
)
2012-04-21 01:54:14 +02:00
Ruben S. Montero
62a9ebe555
Bug: Add support for BLOCK disk types. Datastore supports a new attribute DISK_TYPE that is inherited by
...
the IMAGE and subsequent DISKs in VM templates. By default the FILE type is used
2012-04-19 11:44:19 +02:00
Ruben S. Montero
fc6aa51c0d
feature #962 , feature #1112 : Improve error messages when getting an Image or a Virtual Network
2012-02-24 21:13:56 +01:00
Carlos Martín
174ba75d63
Feature #1112 : Move datastore definition from image template to xml-rcp parameter
2012-02-15 16:47:52 +01:00
Ruben S. Montero
6d15673184
feature #1070 : Moved some logic to Template classes
2012-01-23 23:09:47 +01:00
Carlos Martín
deb244c1b6
Feature #1070 : Make VM and IMG restricted attributes configurable in oned.conf
2012-01-23 08:18:12 -08:00
Jaime Melis
a2b7cb6bc9
Bump to version 3.2.0
2012-01-12 12:29:18 +01:00
Ruben S. Montero
34cb7a19be
feature #966 : Images can now be referred by name with IMAGE. Conflicts for images with the same name can be resolved with IMAGE_UID and IMAGE_UNAME
2011-11-12 03:20:59 +01:00
Carlos Martín
21bca20780
Bug #848 : Add error message and stop oned execution if bootstrap fails
2011-10-10 06:14:46 -07:00
Carlos Martín
91d554b3aa
Bug #804 : Better image release rollback when a VM can't be created
2011-09-15 19:07:30 +02:00
Carlos Martín
32e10726d4
Bug: Image and VNet creation with an already used name reported a DB error, instead of a nice reason like Templates
2011-07-12 19:30:00 +02:00
Ruben S. Montero
82982a7a31
feature #653 , #488 : Images can only be referenced by ID in DISKs. Names can now be repeated, even for the same user
2011-07-08 18:55:21 +02:00
Ruben S. Montero
8e33e4cded
feature #687 : Resources now stores the name of the owner and the group
2011-06-30 11:31:00 +02:00
Carlos Martín
1c1d981cfe
Feature #662 : Better one.*.delete method implementation. GroupPool::drop checks for errors, and returns error messages.
2011-06-07 16:32:18 +02:00
Carlos Martín
3fa10a2ddf
Feature #407 : Add 'GID' attribute to some pool objects; change *pool.info XML-RPC flag meaning; update onedb migrator; fix tests.
...
* VM, VMTEMPLATE, VNET & IMAGE objects have a GID attribute, and a table column. The group id is inherited from the user creating the object, except for VMs created from Templates, that inherit the Template's group.
* The new flag meaning has been modified in src/rm sources and CLI commands for one.(vm,template,vnet,image)pool.info . It changes from
-2 all, -1 mine & public, >=0 UID
to
-3 mine, -2 all, -1 mine & group
* USER has a group, but not secondary ones. The user_pool table doesn't have a GID column, we'll deal with it later when the group-users relations are implemented.
* onedb migrator 1.rb: deleted USERNAME, and GID added.
2011-05-16 17:00:27 +02:00
Carlos Martín
09c93c7528
Feature #407 : Remove usernames from owned resources, only user-id is stored now.
2011-05-12 17:10:35 +02:00
Ruben S. Montero
96f26468a1
feature #523 : Image repository is now decopled from storage backend. Source is generated by drivers using a driver-specific URL.
2011-05-07 02:49:07 +02:00
Ruben S. Montero
35de55685d
Merge branch 'feature-407'
...
Conflicts:
src/host/ClusterPool.cc
2011-03-29 00:01:00 +02:00
Ruben S. Montero
6ea29d6881
feature #407 : moved dump to .h
2011-03-09 13:23:01 +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
ed513e5b72
feature #407 : Minor changes in ImagePool
2011-03-08 16:52:45 +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
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
d3828b30da
Feature #407 : Image uses new DB blob schema
2011-02-25 19:02:29 +01:00
Jaime Melis
4980255942
Update copyright year to 2011
2011-02-25 14:34:44 +01: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
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
Carlos Martín
8faeadaf72
feature #282 : ImageTemplate moved from its own table to a image_pool column.
2010-08-04 11:02:55 +02:00
Ruben S. Montero
2eafe51805
feature #200 : Added default DISK_ID, simplified states
2010-07-21 17:50:04 +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
Ruben S. Montero
0dbb3330fe
feature #203 : authorization now in RM.*allocate for IMAGEs and NETs
2010-07-14 19:37:43 +02:00
Ruben S. Montero
34b2ed6c5c
feature #203 : Authorization method for VMs now in RM
2010-07-14 18:11:29 +02:00
Ruben S. Montero
1035fe7722
feature #203 : Removed Auth from allocate (VM, IMAGE & NET). Added NETWORK and NETWORK_ID for NICs and IMAGE and IMAGE_ID for DISKS
2010-07-14 16:21:41 +02:00
Ruben S. Montero
edea2edf2b
feature #203 : Integrated VM allocation with AuthManager
2010-07-09 12:10:05 +02:00
Ruben S. Montero
85fd79c029
feature #200 : Slight modification of configuration attributes for the pool
2010-06-30 17:08:11 +02:00
Carlos Martín
f8df7cb595
feature #200 : Image initialization code refactor
2010-06-30 16:48:24 +02:00
Ruben S. Montero
cacbe7bf5e
feature #200 : Integrates ImagePool and VirtualMachinePool. Now you can requests Images from VM templates!
2010-06-25 13:24:54 +02:00
Ruben S. Montero
694685a959
feature #200 : Disks attribute generation includes image acquire.
2010-06-25 12:51:55 +02:00
Ruben S. Montero
74aa41baec
feature #206 : New methods to get NIC & DISK attributes
2010-06-25 12:08:05 +02:00
Ruben S. Montero
11fbfb5636
feature #200 : Generate Disk attributes with the ImagePool metadata
2010-06-24 18:35:18 +02:00
Tino Vázquez and Ruben S. Montero
1c9e70dd80
feature #200 : New enable/publish methods, changed ImagePool interface for modifying template attributes.
2010-06-24 16:47:39 +02:00
Constantino Vázquez Blanco
06657604b4
feature #200 : Update image in DB after modifying attribute
2010-06-11 16:23:34 +02:00
Constantino Vázquez Blanco
5623814f03
feature #200 : Fixed public attribute wrong type (from string to int)
2010-06-11 16:04:51 +02:00
Carlos Martín
151b73e616
features #200 & #253 : Default public attribute removed.
2010-06-11 15:41:43 +02:00
Constantino Vázquez Blanco
b8de290197
feature #200 : Addde Image Update method
2010-06-10 18:54:48 +02:00
Constantino Vázquez Blanco
9ca75314b4
feature #200 : Added Image Delete RM method
2010-06-08 17:42:18 +02:00
Carlos Martín
9b8862eb4c
feature #200 : Public attribute moved to main image sql table.
2010-06-08 12:36:39 +02:00
Constantino Vázquez Blanco
328f3efca2
feature #200 : Added ImageAllocate method to RM
2010-06-02 19:41:05 +02:00
Carlos Martín
9fe40f27c9
feature #200 : ImagePool's contructor changed to load existing images from the DB.
2010-05-31 18:02:21 +02:00
Carlos Martín
8035bd5c81
feature #200 : Fixed default type check.
2010-05-28 19:18:07 +02:00
Carlos Martín
c16631873f
feature #200 : Images can now modify a DISK attribute vector to include correct BUS and TARGET.
2010-05-28 19:13:35 +02:00
Constantino Vázquez Blanco and Carlos Martín
6b320815b4
feature-#200: Finishing image pool
2010-05-25 18:20:40 +02:00
Carlos Martín
9cf8af1c9b
feature #200 : More code for Image Pool
2010-05-21 12:40:47 +02:00
Constantino Vázquez Blanco
8dd2d1a031
Initial commit of the Image pool
2010-05-20 18:58:17 +02:00