1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-06 13:17:42 +03:00
Commit Graph

85 Commits

Author SHA1 Message Date
Ruben S. Montero
71e7b3dc20 F #4393: Move authorize disk to VirtualMachineDisk class 2016-12-12 09:30:11 +01:00
Ruben S. Montero
9297321d91 F #4393: New VirtualMachineDisk interface to abstract all disk
management logic. Adapted classes to new interface and re-allocated some
functions. Work on disk resize operations.
2016-12-12 02:28:00 +01:00
Jaime Melis
14c318b7b9 Feature #3907: Improve the FSTYPE heuristic 2016-05-06 16:23:29 +02:00
Javi Fontan
e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Carlos Martín
01a0079f0c Feature #4400: New param to clone templates recursively 2016-04-11 13:27:31 +02:00
Ruben S. Montero
60ea093786 feature #4317: Recursive disk operations can work on DISK based on image
names.
2016-03-01 12:12:19 +01:00
Ruben S. Montero
5761be4d10 feature #4217: Simplify Template, Attribute and PoolObjectSQL class interfaces 2016-02-05 00:33:37 +01:00
Jaime Melis
15e54f59ea Feature #4217: Send the market data to the driver 2016-01-26 20:24:33 +01:00
Ruben S. Montero
e958ed3c2d feature - : Remove unused update methods 2015-12-10 15:39:23 +01:00
Ruben S. Montero
dd882538eb feature #3987: DS inherited attributes logic moved to the DatastorePool class 2015-10-28 19:29:23 +01:00
Jaime Melis
e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Carlos Martín
fc3de05fb6 Feature #1727: Fix system_disk quotas
Add DS disk attributes; add disk-snapshots to total
2015-07-22 17:20:37 +02:00
Ruben S. Montero
e599187ad5 feature #3782: Copy snapshots from Image to VM disks, and back. Still
needs to do the same on attach dettach operations
2015-06-01 19:28:37 +02:00
Jaime Melis
8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
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