Carlos Martín
3c96167012
Merge remote-tracking branch 'origin/master' into feature-1727
2015-07-20 16:01:24 +02:00
Carlos Martín
2c2fa83028
Feature #1727 : VM volatile quota adds each disk size
2015-07-20 15:46:57 +02:00
Carlos Martín
ecb8d5d528
Feature #3782 : Disk-snapshot actions operate on persistent images
...
For persisten images, quota usage is taken from the image owner.
The image snapshots are now in sync during the VM lifecycle, not
just when the VM is shutdown. This was needed because the quota
size is now the image size + image quotas, and it caused problems
if the owner was changed with snapshots pending to be saved back
to the image.
2015-07-17 18:35:52 +02:00
Ruben S. Montero
0ad70f2142
feature #3718 : Fix errors in acct with new monitor. feature #3782 : Fix
...
acct to account for new snapshots in running. feature #3718 : Reset CPU and MEMORY counters
2015-07-14 17:53:41 +02:00
Ruben S. Montero
e5eb92eeec
feature #3718 : Remove STATE from monitor values
2015-07-09 14:02:55 +02:00
Carlos Martín
27e3ac289f
Feature #3782 : Rename disk snapshot tag to name
2015-07-09 13:13:07 +02:00
Justin Riley
659948917a
add LISTEN_ADDRESS config for oned XMLRPC
...
(cherry picked from commit ad351b12c0260512b98e418bf9ec798decb3e6ca)
2015-07-07 13:45:32 +02:00
Javi Fontan
4b08d76fbf
Whitespace cleanup
2015-07-01 15:18:28 -04:00
Carlos Martín
d4c1170eee
Feature #3782 : Remove unused param from ImageManager::set_image_snapshots
2015-07-01 17:57:27 +02:00
Carlos Martín
1411e4adbb
Feature #3782 : Use int instead of unsigned int for snapshot IDs
2015-07-01 17:57:26 +02:00
Carlos Martín
143017e30d
Feature #3782 : Minor fixes to oned code
2015-07-01 15:43:22 +02:00
Ruben S. Montero
10442f8182
feature #3782 : Snapshots in RUNNING state
2015-07-01 13:38:19 +02:00
Ruben S. Montero
282a813d9a
feature #3782 : Removed unused method
2015-06-30 20:45:43 +02:00
Ruben S. Montero
6ca1ff4b6e
feature #3782 : Delete snapshots in RUNNING. Added new states for disk
...
snapshots in running
2015-06-30 20:45:43 +02:00
Ruben S. Montero
803592d43b
feature #3782 : Snapshots in SUSPENDED state + dummy changed to exit 0
2015-06-25 15:36:22 +02:00
Ruben S. Montero
f06196af7f
Remove NIC="" and DISK="" attributes (non vector)
2015-06-24 20:03:09 +02:00
Ruben S. Montero
83a4165fff
feature #3718 : Added missing include file
2015-06-24 14:19:40 +02:00
Ruben S. Montero
685a46365d
feature #3718 : New template for MONITORING data, it can accomodate any
...
data, and support the general OpenNebula Template format.
2015-06-23 21:52:10 +02:00
Ruben S. Montero
5f1d630fc6
feature #3718 : Rename update_info method to set_deploy_id
2015-06-23 17:22:46 +02:00
Ruben S. Montero
872ef3af73
feature #3718 : Add disk_cost, use disk_actual_size (needs to revisit)
2015-06-20 02:29:47 +02:00
Ruben S. Montero
3e6159f70f
feature #3781 : DISK_VIRTUAL/ACTUAL_SIZE first class element in VM
...
template
2015-06-20 00:42:20 +02:00
Ruben S. Montero
552e6a8f96
feature #3781 : Parse disk_*_size from monitor driver
2015-06-19 17:01:42 +02:00
Ruben S. Montero
9964cb27e2
feature #3782 : Quotas for single snapshot deletion
2015-06-17 17:45:37 +02:00
Ruben S. Montero
9542d396b8
feature #3782 : Update quotas on non-persistent snapshots
2015-06-17 10:10:28 +02:00
Ruben S. Montero
dac9db95d2
feature #3782 : Size for snapshots (Virtual size). Renamed is* functions to is_* in VirtualMachine.
2015-06-16 23:59:12 +02:00
Ruben S. Montero
80c06dca38
feature #3782 : renamed method to disksaveas, cli and Ruby OCA. Added
...
snap id to save as disks
2015-06-10 19:56:35 +02:00
Ruben S. Montero
630e036005
feature #3782 : Removed _hot from saveas functions
2015-06-10 12:53:55 +02:00
Ruben S. Montero
ce85188042
feature #3782 : Changes in OCA (Ruby) and CLI. Updated direct references
...
to OCA methods
2015-06-10 01:30:22 +02:00
Ruben S. Montero
9d20167c1c
feautre #3782 : Remove SAVE_AS from core
2015-06-09 23:25:10 +02:00
Ruben S. Montero
bdb1e591da
Merge branch 'master' into feature-3782
2015-06-08 23:44:21 +02:00
Ruben S. Montero
08356ed8c3
feature #3782 : Flatten action for Images
2015-06-05 16:01:06 +02:00
Ruben S. Montero
0bbb99a240
feature #3782 : Image are in LOCKED state while performing snapshot
...
operations
2015-06-05 13:32:00 +02:00
Ruben S. Montero
9348a0d455
feature #3782 : Revert action for images
2015-06-05 04:45:20 +02:00
Ruben S. Montero
62a98c550d
feature #3782 : Image XML-RPC methods for snapshot delete
2015-06-05 03:24:46 +02:00
Ruben S. Montero
1bd6ffe60a
feature #3782 : Delete operations for image snapshots. Core image manager
...
and driver functions
2015-06-05 03:18:40 +02:00
Ruben S. Montero
28d3dcb82d
feature #3782 : Snapshot operations for Image class. Add target_snapshot to
...
Image class to identify operation on progress
2015-06-05 03:15:39 +02:00
Ruben S. Montero
5510b56bd5
feature #3782 : Delete operations are now two-phase. More checks on
...
disk-snapshots actions. Improve const-ness of Snapshot class
2015-06-04 20:17:45 +02:00
Ruben S. Montero
023c853b6e
feature #3782 : Cannot clone images with snapshots
2015-06-02 23:42:19 +02:00
Ruben S. Montero
43be9c663e
feature #3782 : Image with snapshots can be only of type OS or DATABLOCK
2015-06-02 23:12:42 +02:00
Ruben S. Montero
14da3131b9
feature #3782 : Image with snapshots cannot be made non-persistent
2015-06-02 20:45:42 +02:00
Ruben S. Montero
da79447688
feature #3782 : Transfer snapshot list from/to attach disks
2015-06-02 01:50:28 +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
Ruben S. Montero
a841b12e94
feature #3782 : Copy assignment operator for Templates
2015-06-01 19:26:03 +02:00
Ruben S. Montero
82eac63f12
feature #3782 : Assignment copy constructor for Snapshots. Clear disk_id
2015-06-01 19:25:02 +02:00
Ruben S. Montero
9e30da08c1
feature #3782 : Add snapshots to Image object. Transfer them back from VM
...
disk
2015-05-30 13:33:06 +02:00
Ruben S. Montero
c2bf13fe00
feature #3782 : Copy constructor for Snapshots. Used to transfer the
...
snapshot lisk from VM disk to Image objects
2015-05-30 13:31:25 +02:00
Ruben S. Montero
3f54b6f611
feature #3782 : Update copy constructor for Template. It should purge
...
before copying. Adds a generic clear() method, and use it in class
implementation
2015-05-30 13:29:27 +02:00
Ruben S. Montero
83ac6188de
feature #3782 : New state to delete snapshots. Delete action OCA (Ruby),
...
core and CLI
2015-05-27 16:29:41 +02:00
Jaime Melis
aa43470233
Feature #3650 : Specify the default auth driver in oned.conf
2015-05-26 15:11:49 +02:00
Ruben S. Montero
036862b1ad
feature #3782 : Add children list. Rename PARENT_ID to PARENT
2015-05-26 13:52:40 +02:00