Commit Graph
423 Commits
Author SHA1 Message Date
Ruben S. Montero ca33ac46c3 development: Update VirtualMachine.add_history interface 2016-04-10 22:53:33 +02:00
Ruben S. Montero 3c389f3270 development: Homogenous VM_MAD/TM_MAD (vs VMMMAD/TMMAD) name. oned does
not store DS_LOCATION, single get_system_dir() function
2016-04-10 22:39:21 +02:00
Carlos Martín 63a6b8e5f5 Bug #4395: Fix cluster check for manual resources
It was not working for volatile disks, nics with manual IP,
kernet with a manual instead of a file.
2016-04-08 13:12:50 +02:00
Ruben S. Montero 67ba59ada1 feature #3848: Remove VN_MAD from Host in oned. Remove VMWare driver in
core
2016-04-07 11:06:43 +02:00
Ruben S. Montero 784a4fc960 feature #2980: VNC port tracking. Includes a VNC bitmap for each cluster to
track the ports in use in the cluster and avoid port collision. VNC ports are
assigned when the VM is deployed and released when the VM is stopped, undeployed
or done.

Includes the following:
  - 9da66150dc0e3dc2731518d8a215f9598696a999
  - 4c35a9fcccf70cbe87d2947403ea815967e7b605
  - ccfccb6d2fc40aa1c07eb994f37b8da4fb479082
  - b1b64e61a39f4452c7ba00e581de42888e0e84a5
  - d474ee4db9ed520bcae743d510be35b25ea988ed
  - dacb61b1402da2ec309b6e79bdd285d0d11de84f
2016-04-05 12:56:34 +02:00
Ruben S. Montero ef9001bfef feature #4369:Use CLUSTER_ID instead of CLUSTER_IDS for compatibility
reasons
2016-03-21 15:03:46 +01:00
Carlos Martín 82892ad70f Merge remote-tracking branch 'origin/master' into feature-4369 2016-03-17 18:22:51 +01:00
Carlos Martín 664de7c462 Feature #4369: Return error if a VM resource is not in any cluster
This is to implement the idea that DS & vnets in 0 clusters
are not available to any Host
2016-03-16 15:47:08 +01:00
Ruben S. Montero 9fb06c870d feature #4215: Generate context before a restore action. Context is
regenerated whenever a it is needed to capture VNET and NIC updates
2016-03-16 14:54:22 +01:00
Carlos Martín f6d10bdec0 Feature #4369: Undo Host changes to have only one cluster 2016-03-15 16:37:36 +01:00
Carlos Martín 4697f1eec0 Feature #4369: New automatic_cluster_requirements to filter out clusters 2016-03-11 18:35:00 +01:00
Carlos Martín e8a05ca1d7 Feature #4369: Replace cluster ID with a set of IDs 2016-03-10 16:28:33 +01:00
Javi Fontan ba7ffbb543 Merge branch 'feature-4186' 2016-03-08 17:34:48 +01:00
Ruben S. Montero b16fea2532 feature #4097: Add resource information to log messages using clog 2016-03-02 23:01:43 +01:00
Ruben S. Montero 7ca1036683 feature #4097: Use glibc to log thourgh syslog, removes log4cpp
dependency
2016-03-02 17:08:06 +01:00
Ruben S. Montero 9e4af1ebc6 feature #3204: Security Group dynamic update. Add support to update SG
rules of running VMs though a new one.secgroup.commit operation
2016-03-01 23:31:31 +01:00
Tino Vazquez 006ba41c62 feature #4186: Merge branch 'feature-4217' into feature-4186
Marketplace branch into vcenter storage
2016-02-10 12:25:28 +01:00
Ruben S. Montero c53425c0ed feature #4217: Generic class for supported actions, used in
VirtualRouter, VirtualMachine & MarketPlace. Simplify enum names for
MarketPlaceApps
2016-02-09 16:34:25 +01:00
Tino Vazquez b5d162a50b feature #4187: Import VMs in poweroff 2016-02-09 12:56:01 +01:00
Ruben S. Montero 91c489abac feature #4217: Generic parse of CONTEXT attribute. Fix in clean up VM 2016-02-07 18:05:28 +01:00
Ruben S. Montero 6a0b71e9dd feature #4217: Adapt Marketplace classes to new Template interfaces 2016-02-05 00:55:24 +01:00
Ruben S. Montero 5761be4d10 feature #4217: Simplify Template, Attribute and PoolObjectSQL class interfaces 2016-02-05 00:33:37 +01:00
Ruben S. Montero 6478bf1778 feature #4215: Use always created_by 2016-02-05 00:31:50 +01:00
Carlos Martín 68a0184ed2 Feature #4215: Implement auth & quotas for all VR actions 2016-02-01 17:07:04 +01:00
Carlos Martín 7a7f07cdad Feature #4215: Remove vrouter ip recipients from context 2016-01-28 16:17:34 +01:00
Carlos Martín a4b466fa6a Feature #4215: New method vrouter.attachnic 2016-01-28 16:06:18 +01:00
Carlos Martín 364d9ecda8 Feature #4215: Redo context variables when a NIC is attached/detached 2016-01-27 11:27:26 +01:00
Carlos Martín d7eb8769e1 Feature #4215: update-context uses the user token password 2016-01-25 17:38:46 +01:00
Carlos Martín 3cee54afc9 Feature #4215: Attach nic action updates the context cdrom 2016-01-25 16:20:12 +01:00
Carlos Martín c41d43f09a Feature #4215: Add keepalived_id/password 2016-01-19 18:13:31 +01:00
Carlos Martín 696e2cd006 Feature #4215: Add NIC/VROUTER_MANAGEMENT; IP can be requested from sunstone 2016-01-19 15:19:29 +01:00
Carlos Martín 4f5fd6dda6 Feature #4215: Delete VMs when VRs are deleted. Disable actions on VRouter VMs 2016-01-18 16:47:14 +01:00
Carlos Martín f9c3a93e4b Feature #4215: Context var ethx_vrouter_ip_recipients 2016-01-15 16:42:51 +01:00
Carlos Martín 8435389717 Feature #4215: Add ethx_vrouter_ip to context 2016-01-15 15:40:27 +01:00
Carlos Martín 4c68cd7c9e Feature #4215: VRs have NICs defined
VRs can request vnet leases. If a vm template has a
VROUTER_ID, the NICs from that VR are merged into
the template. If the VR NIC has a floating IP, it
is added as VROUTER_IP.
2015-12-16 12:32:19 +01:00
Carlos Martín eafd5143c4 Feature #4215: Store VM - VR id reference 2015-12-01 16:36:50 +01:00
Carlos Martín 4b6aaa8b19 Feature #4215: Store a list of VR inside each vnet 2015-12-01 15:35:33 +01:00
Ruben S. Montero 57ca5f414b bug #4164: Moved imported_vm_action logic to the driver class. Add
defaults for well-known drivers
2015-11-20 15:45:20 +01:00
Carlos Martín 6595df3b01 Bug #4164: Remove poweroff action for kvm & xen imported VMs
(cherry picked from commit d369908da2)
2015-11-18 13:17:09 +01:00
Ruben S. Montero f6ec52dddc bug #4146: Fix bug when the target is already in use 2015-11-13 17:15:03 +01:00
Ruben S. Montero 6bcc97bd08 bug #4022: Do not set snapshots on persistent images if its TM ln mode
is SYSTEM. Update quota update and snapshot survival after delete
--recreate according to:

 +--------+-------------------------------------+
 |LN/CLONE|     PERSISTENT    |   NO PERSISTENT |
 |        |---------+---------+-----------------+
 | TARGET | created |  quota  | created | quota |
 +--------+---------+---------+-----------------+
 | SYSTEM | system  | VM + DS | system  | VM    |
 | SELF   | image   | DS      | image   | DS    |
 | NONE   | image   | DS      | image   | DS    |
 +----------------------------------------------+

Snapshots created at system ds (LN_TARGET/TM_TARGET) will be deleted
after a recreate.

(cherry picked from commit c5ad05fc60680cda2763973f5079598c2bf166e7)
2015-11-13 01:40:16 +01:00
Ruben S. Montero 1b9919435e bug #4022: Removes snapshots from non-shared persistent disks. Update
Datastore Quota management to deal with bulk updates. Hook on DM & LCM
resubmit and clean_up_vm to remove snapshots

(cherry picked from commit 6f02a240ec8f4be7ef232e8f8c584665e6747233)
2015-11-13 01:40:16 +01:00
Carlos Martín 5bb39611d5 Bug #4022: Delete disk snapshotds for non-persistent images on delete --recreate
(cherry picked from commit 5ba0b121976964ce1f939d7a5f17c5b9182dd921)
2015-11-13 01:40:16 +01:00
Tino Vazquez b7698cb99d feature #4065: Add onegate token to vcenter contextualization
(cherry picked from commit 497831ab74de7149271090d368672a950eded2f0)
2015-11-11 10:14:02 +01:00
Carlos Martín 29c0a05948 Merge remote-tracking branch 'origin/feature-3987'
Conflicts:
	src/sunstone/public/app/utils/disks-resize.js
	src/sunstone/public/app/utils/vcenter/networks.js
	src/sunstone/public/app/utils/vcenter/templates.js
2015-11-06 17:09:03 +01:00
Carlos Martín 64f0b61316 Feature #3987: Minor style change 2015-11-05 18:46:36 +01:00
Ruben S. Montero fa653b9d47 feature #3987: Resolve volatile disk attributes 2015-11-05 00:04:42 +01:00
Carlos Martín ac8f45433e Feature #4084: Fix minor bug and error message
(cherry picked from commit 0b181da15dade8b3729ab41ec56fe9cf181a465a)
2015-11-02 15:40:59 +01:00
Tino Vazquez 4a6d37cf74 Feature #4084: Fix automatic requirements
(cherry picked from commit 9b8479bacfd241ff5547990a2b3a358358386b16)
2015-11-02 15:40:59 +01:00
Ruben S. Montero fef186886b feature #4084: Parse PUBLIC_CLOUD attributes so it can use USER_INPUTS
(cherry picked from commit 4b9492574ab713531a52cdccb936dc5b9db7051c)
2015-11-02 15:40:59 +01:00