cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pau...@apache.org
Subject [cloudstack] branch master updated: add XenServer base 7.1 and 7.2 capabilities to database
Date Wed, 29 Nov 2017 16:28:17 GMT
This is an automated email from the ASF dual-hosted git repository.

paul_a pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 1421a6e  add XenServer base 7.1 and 7.2 capabilities to database
1421a6e is described below

commit 1421a6e07a76fe3a91cd342c9f43266305f23ff2
Author: Paul Angus <paul.angus@shapeblue.com>
AuthorDate: Wed Nov 29 16:25:56 2017 +0000

    add XenServer base 7.1 and 7.2 capabilities to database
---
 setup/db/db/schema-41000to41100.sql | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/setup/db/db/schema-41000to41100.sql b/setup/db/db/schema-41000to41100.sql
index 0b099d6..9a0305a 100644
--- a/setup/db/db/schema-41000to41100.sql
+++ b/setup/db/db/schema-41000to41100.sql
@@ -460,3 +460,17 @@ CREATE TABLE `cloud`.`nic_extra_dhcp_options` (
   PRIMARY KEY (`id`),
   CONSTRAINT `fk_nic_extra_dhcp_options_nic_id` FOREIGN KEY (`nic_id`) REFERENCES `nics`(`id`)
ON DELETE CASCADE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+
+-- Add XenServer 7.1 and 7.2 hypervisor capabilities
+
+INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, hypervisor_version,
max_guests_limit, max_data_volumes_limit, storage_motion_supported) values (UUID(), 'XenServer',
'7.1.0', 500, 13, 1);
+INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, hypervisor_version,
max_guests_limit, max_data_volumes_limit, storage_motion_supported) values (UUID(), 'XenServer',
'7.2.0', 500, 13, 1);
+
+-- Add XenServer 7.1 and 7.2 hypervisor guest OS mappings
+
+INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version,
guest_os_name, guest_os_id, created, is_user_defined) SELECT UUID(),'Xenserver', '7.1.0',
guest_os_name, guest_os_id, utc_timestamp(), 0  FROM `cloud`.`guest_os_hypervisor` WHERE hypervisor_type='Xenserver'
AND hypervisor_version='7.1.0';
+INSERT IGNORE INTO `cloud`.`guest_os_hypervisor` (uuid,hypervisor_type, hypervisor_version,
guest_os_name, guest_os_id, created, is_user_defined) SELECT UUID(),'Xenserver', '7.2.0',
guest_os_name, guest_os_id, utc_timestamp(), 0  FROM `cloud`.`guest_os_hypervisor` WHERE hypervisor_type='Xenserver'
AND hypervisor_version='7.2.0';
+
+
+

-- 
To stop receiving notification emails like this one, please contact
['"commits@cloudstack.apache.org" <commits@cloudstack.apache.org>'].

Mime
View raw message