Carlos Martín
3f51dd48de
Feature #862 : Remove public attribute from core
2012-01-04 06:31:20 -08:00
Carlos Martín
f0d8ac78d6
Bug #759 : Check if XML is valid before it is stored in the DB.
2011-12-19 17:09:31 +01:00
Ruben S. Montero
9abd1e91a4
Merge branch 'master' into bug-847
2011-10-27 01:46:30 +02:00
Carlos Martín
f0b1a28d89
Bug #868 : Add new one.image.chtype method, in core, ruby & java oca, and CLI. Needs testing
2011-10-21 18:50:04 +02:00
Ruben S. Montero
30a9162f5e
Merge branch 'master' into bug-847
...
Conflicts:
src/um/UserPool.cc
2011-10-15 00:22:52 +02:00
Ruben S. Montero
7683ba8998
bug #847 : Cleans image templates so only metadata is left. Adds path and fstype to image attributes for reference
2011-10-11 16:05:32 +02: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
Ruben S. Montero
c8f44ede9a
feature #788 : Compute image size when moving an image to the repository. Drivers now return <CP|MV|MKFS> SUCESS IMAGE_ID SOURCE SIZE. The fs based image repository drivers has been updates, oneimage utility has been also updated to show the size (list and show operations).
2011-08-31 16:21:18 +02:00
Ruben S. Montero
22574704e4
bug #742 : Cosmetic change in error message for Image::persistent method
2011-07-27 10:17:17 +02:00
Carlos Martín
3cf9d5c68b
Bug #742 : Images can't be made (non)persistent when are in use. Add better error reporting.
2011-07-26 19:35:58 +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
Ruben S. Montero
589fa7a875
feature #407 : Fixes Image tests. persistent method returns 0 (not true) for successful operations
2011-06-09 10:51:17 +02:00
Carlos Martín
e28ad2a69d
Feature #662 , #407 : Delete operator<< from PoolObjectSQL classes. Remove Cluster objects.
2011-06-03 15:33:48 +02:00
Carlos Martín
fa46633339
Feature #662 : New update method for Images and Templates added to OCA and CLI (work in progress).
...
New template instantiate method in OCA and CLI.
Fix small bugs in RM.
2011-06-02 19:17:22 +02:00
Ruben S. Montero
686b8d5b40
feature #662 : Removed uneeded files. New factory method to get templates from a PoolObjectSQL
2011-06-01 23:53:09 +02:00
Ruben S. Montero
b050a5da9f
feature #622 : Public is now an attribute of PoolObjectSQL. Redesign of authorization function
2011-05-26 12:20:56 +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
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
9799a3bc20
feature #523 : Added delete method for the Image Manager
2011-03-25 00:11:10 +01:00
Ruben S. Montero
8d3a1e3557
feature #523 : Integration of Image Drivers with the Image Manager
2011-03-24 18:27:19 +01:00
Ruben S. Montero
9db8829d35
feature #523 : work on the release image methods
2011-03-24 16:37:15 +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
Ruben S. Montero
ed513e5b72
feature #407 : Minor changes in ImagePool
2011-03-08 16:52:45 +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
Carlos Martín
f9902c89ec
Bug #419 : "SELECT *" SQL statement modified to use the column names
2011-01-27 17:23:51 +00:00
Tino Vázquez
2309552eef
Fix typo in comments
2010-08-30 18:21:21 +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
Carlos Martín
6ed71133b6
feature #192 : tests for image persistence.
2010-08-05 17:49:06 +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
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
Tino Vázquez
3ed14a9f68
bug #295 : Adding persistence to images
2010-08-03 19:22:13 +02:00
Carlos Martín
f98e5bbf7c
bug #293 : Enable/disable transitions fixed.
2010-07-23 16:49:52 +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
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
edea2edf2b
feature #203 : Integrated VM allocation with AuthManager
2010-07-09 12:10:05 +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
Tino Vázquez and Ruben S. Montero
09adf06c4b
feature #200 : Disable/Enable methods for the Image Class
2010-06-24 16:22:05 +02:00
Tino Vázquez and Ruben S. Montero
3fd53cc4c2
feature #200 : New states for Images and associated life-cycle functions
2010-06-24 16:12:45 +02:00
Carlos Martín
5ddee46cc4
feature #200 : PUBLIC attribute changed from TEXT to INTEGER.
2010-06-11 15:41:49 +02:00
Constantino Vázquez Blanco
1a956aa355
feature #200 : Making ImageInfo aware of the Public attribute
2010-06-08 15:30:15 +02:00
Carlos Martín
9b8862eb4c
feature #200 : Public attribute moved to main image sql table.
2010-06-08 12:36:39 +02:00
Carlos Martín
2cb9de488d
feature #200 : Image's get_disk_attribute now adds SOURCE attribute as well.
2010-05-31 15:17:14 +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
Tino Vazquez and Carlos Martin
6f631907a0
feature #200 : Insert, replace and remove methods for Image update the DB immediately.
2010-05-27 16:02:29 +02:00
Tino Vazquez and Carlos Martin
2b14a20a5b
feature #200 : Description and bus type columns removed for Image elements.
2010-05-27 16:02:22 +02:00
Tino Vazquez and Carlos Martin
4e2c544c4c
feature #200 : Source path generation fixed, and removed target attribute.
2010-05-27 15:56: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
Constantino Vázquez Blanco
484013d9b1
feature-#200: Polishing ImagePool classes
2010-05-24 11:31:09 +02:00
Constantino Vázquez Blanco
8dd2d1a031
Initial commit of the Image pool
2010-05-20 18:58:17 +02:00