1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00
Commit Graph

71 Commits

Author SHA1 Message Date
Ruben S. Montero
d1a2b207f2 feature #2587: Added a DEFAULT_DEV_PREFIX for CD-ROM devices 2014-02-20 12:36:06 +01:00
Javi Fontan
193e7a9cf6 feature #2371: add pagination to pool info
When the end_id of pool.info xmlrpc call is lower than -1 the parameters
do not refer to object ids but offset and cuantity used for pool pagination.r
The SQL query will have "LIMIT start_id,-end_id".
2014-01-13 16:30:43 +01:00
Jaime Melis
11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Carlos Martín
bc6ae465d9 Feature #2479: Allow CONTEXT/DEV_PREFIX, and make 'hd' the default prefix for cdrom type disks 2013-11-21 16:01:35 +01:00
Carlos Martín
b559b3250a Feature #2459: Define image, ds and vnet attributes to be inherited to the VM disk or nic sections 2013-11-14 11:49:53 +01:00
Jaime Melis
7357bffe34 Update copyright notice 2013-01-24 16:18:30 +01:00
Jaime Melis
af61e33f8c Update year to 2013 2013-01-24 16:03:57 +01:00
Carlos Martín
d4245a6699 Feature #1681: Add new oned.conf att. for a default umask 2013-01-18 18:34:51 +01:00
Ruben S. Montero
46c3a8ec1c feature #1617: Implements a new $FILE parser for VM templates. Initial function to get kernels from FILE_DS datastores 2012-11-17 02:46:03 +01:00
Ruben S. Montero
0496414051 feature #1617: Checks: FILE Images can only be registered in FILE_DS. Cannot clone FILE images. 2012-11-16 13:57:17 +01:00
Ruben S. Montero
fc3f24045d bug - : Solves wrong deployment file generation when using context. Adds collections to perform sanity
checks on host to vms and image to vms relationships
2012-10-25 01:32:35 +02:00
Ruben S. Montero
29ad5368d2 feature #1013: Abstract hook registration. Add hook support for images, users and groups. 2012-10-09 11:56:01 +02:00
Ruben S. Montero
29366ca7f2 feature #1291: Clone operation in ImageDriver. Clone logic moved to ImageManager. Added missing add_image for saveas and clone operations 2012-06-13 00:32:01 +02:00
Carlos Martín
b377e4db99 Feature #1291: New one.image.clone method
The core functionality is in place, but it is using the CP command.
To make it work, the ds_map cp scripts need to ignore the
check_restricted call. We will have to add another script to
the ds_mad drivers, probably clone
2012-05-25 12:56:51 +02:00
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