Commit Graph
478 Commits
Author SHA1 Message Date
Ruben S. Montero ebc165f70f F #4885: Enable TM mads to define orphan snapshots. This is control
under TM_MAD_CONF for each MAD. By default orphans are not allowed
2017-07-05 18:13:47 +02:00
Javi Fontan 8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Ruben S. Montero bca17f4ee6 F #4809: Update SqlDB method name. DO NOT replicate monitoring data 2017-04-21 19:16:45 +02:00
Ruben S. Montero a6d4ab3c9f F #4809: Update Sql database interface to include read/write/bootstrap
operations
2017-04-18 17:12:19 +02:00
Ruben S. Montero d90cd64cca B #5032: Add datastore capacity usage in quota calculations for storage
drivers that clone to SELF (e.g. Ceph)
2017-03-30 18:58:18 +02:00
Ruben S. Montero 97c5fcd2f2 F #2347: VMGroupRule class. Methods to check rule consistency 2017-01-13 01:56:25 +01:00
Ruben S. Montero a1c1dee188 F #2347: Moved VMGroup logic from VirtualMachine to VMGroupPool. Added
authorization tests to VMGroup usage in VMs
2017-01-05 16:51:30 +01:00
Ruben S. Montero 20d10c7b12 F #2347: Fixes some bugs to VMGroups 2017-01-05 00:32:14 +01:00
Ruben S. Montero a6fc7b23cb F #2347: VMs are added/removed from VMGROUP roles. VMGROUP with VMs
cannot be updated
2017-01-04 15:23:35 +01:00
Ruben S. Montero 7cbceb043b Added VirtualMachineNic interface to abstract NIC logic 2016-12-24 01:36:30 +01:00
Ruben S. Montero 6f3066ddd1 F #4393: Add resize API calls. Fix disk for SELF tm_mad drivers quotas. 2016-12-17 02:49:14 +01:00
Ruben S. Montero 178489ef11 F #4393: Moved Saveas implementation to VirtualMachineDiks. Fix bugs 2016-12-14 18:16:00 +01:00
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
Ruben S. Montero 7c36ef0381 B #4779: Allow to instantiate a VM without NICs 2016-09-14 23:28:18 +02:00
Daniel Dehennin f362e64c05 Feature #3510: authorize “EMULATOR” in VM TEMPLATE (#112)
* src/vm/VirtualMachine.cc (insert): Add “EMULATOR” to the list of
  VM attributes understood by opennebula.

* src/vmm/LibVirtDriverKVM.cc (deployment_description_kvm): Get
  “EMULATOR” from VM template first, then from default and finally from
  hardcoded path.

Thanks Vladislav Gorbunov for the patch
2016-09-13 14:48:13 +02:00
Ruben S. Montero ecc8be7c20 B #4774: Aonly network variables are parsed when regeneriting context 2016-09-13 13:11:09 +02:00
Ruben S. Montero 5a3e0596a4 feature #4464: Return list of viable clusters on automatic_requirements
API call
2016-09-01 15:46:01 +02:00
Carlos Martín b9588846ef Feature #4464: Refresh VM cluster requirements
Cluster requirements are recalculated:

- on release from hold
- on resume from undeployed/stopped
- on resched
- on migrate
2016-08-30 18:35:09 +02:00
Carlos Martín b836ad30c0 Feature #4464: Allow migration between clusters that share datastores/vnets
(cherry picked from commit f789d500f4005d00c63657ebed8d1b87b066dde6)
2016-08-18 16:25:38 +02:00
Ruben S. Montero 34672cbb1f bug #4637: Adds @> operator for boolean expresions. @> evaluates to
true if the value is included in a result array. An array of attributes
is obtained for multiple values xpath, e.g.
<CLUSTER>
<ID>100</ID>
<ID>101</ID>
</CLUSTER>

an expresion of the form CLUSTER/ID in a requirement returns [100, 101].
To test if a given element is in a datastore:

CLUSTER/ID @> 101 -----> [100, 101] @> 101 ---> true

Note that CLUSTER/ID = 101 only evaluates the first element found

CLUSTER/ID = 101 ----> 100 = 101 ----> false

(cherry picked from commit eed6b268ad)
2016-07-19 13:07:02 +02:00
Carlos Martín 73ff900acb Feature #4620: Minor fixes 2016-07-18 18:54:15 +02:00
Ruben S. Montero 69ab761fad feature-4620: Context for PCI devices 2016-07-18 17:05:27 +02:00
Ruben S. Montero b6dbd9c92c feature #4630: Automatic assgiment of passthrough devices. Attribute and
deployment file
2016-07-18 14:33:50 +02:00
Ruben S. Montero 086ccd4f09 feature #4620: Add PCI_ID to PCI devices 2016-07-18 11:32:58 +02:00
Ruben S. Montero caefeb0e37 feature #4620: Add PCI network requests to automatic requirements 2016-07-14 15:34:55 +02:00
Ruben S. Montero 23f556a406 feature #4620: PCI devices of type NIC gets an IP as regular NIC 2016-07-14 11:06:59 +02:00
Carlos Martín 4f7fb20dfc Feature #2237: Show allocated VM and Memory values in VM capacity 2016-07-12 12:44:18 +02:00
Carlos Martín 1d6e8e5be2 Bug #4610: Check memory value in KB
(cherry picked from commit 1c3881c6c6)
2016-07-11 11:29:38 +02:00
Carlos Martín 8529d13061 Bug #4610: Check boot order contents
(cherry picked from commit e71b23a4e7)
2016-07-08 17:26:03 +02:00
Guillaume Oberlé 107daf1431 Remove orders attributes when removing boot orders (#99)
This is to make sure that the ORDER attribute is removed correctly for disks and nics if we remove OS = [ BOOT = "disk0,...." ] from the XML template of the VM.
2016-06-08 10:06:11 +02:00
Ruben S. Montero 22963d61af development: Do not remove NETWORK & TOKEN attributes from context.This reverts
commit a7cdf91e21.
2016-05-17 19:24:12 +02:00
Ruben S. Montero a7cdf91e21 Bug #4463: Fix token generation 2016-05-13 20:10:45 +02:00
Ruben S. Montero 20b84754ee Bug #4314 Feature #4320: VMs get IP6 context with ULA only addresses.
Re-design of update logic to work as other update methods
2016-05-06 12:18:48 +02:00
Ruben S. Montero 244eec96ff feature #4320: Add template cloning ID 2016-05-05 14:47:19 +02:00
Ruben S. Montero 3abf2a73c8 Development: Fix update conf for empty context attributes 2016-05-05 11:50:12 +02:00
Jaime Melis 511b966ba4 Feature #4157: Add support for qemu guest agent 2016-05-05 10:49:59 +02:00
Javi Fontan e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero 6db32d4470 feature #4320: Do not add multiple CREATED_BY attributes 2016-05-03 10:21:33 +02:00
Ruben S. Montero 03b7b77ce8 Merge monitor information for the VM (instead of recreating). Update
Template.merge interface
2016-04-26 15:35:07 +02:00
Ruben S. Montero 2560c2da92 feature #4400: update onegate token for updateconf call 2016-04-26 12:58:31 +02:00
Ruben S. Montero bb9d4a99b5 feature #4400: Regenerate network context support for updateconf 2016-04-26 11:47:03 +02:00
Carlos Martín 229ca4be3f Feature #4320: Do not allow vm.updateconf in stopped state 2016-04-22 18:00:56 +02:00
Carlos Martín 964371f7a2 Feature #4320: Fix typo (DEVICE_MODE => MODEL) 2016-04-22 16:49:33 +02:00
Carlos Martín 0d6dd0c6ff Feature #4400: New state cloning_failure 2016-04-22 16:06:43 +02:00
Ruben S. Montero 41b2196ecc feature #4320: Make variable substitution when updating CONTEXT 2016-04-22 14:49:49 +02:00
Ruben S. Montero c0da2d7f89 feature #4400: Minor changes 2016-04-22 13:13:13 +02:00
Carlos Martín dc4a7dd416 Remove unused variable 2016-04-22 12:26:24 +02:00
Ruben S. Montero 759e645821 feature #4320: CONTEXT can now be updated in poweroff related states 2016-04-22 11:31:47 +02:00
Ruben S. Montero 32e15605cd feature #4320: New operation to update the configuration of a
VirtualMachine (OS, GRAPHICS, INPUT, RAW & FEATURES). CLI/OCA methods
implemented
2016-04-20 16:57:05 +02:00