CLOUDSTACK-5311: Fix the host version reported by the hyper-v agent. Also updated the hypervisor

capabilities for hyper-v.
This commit is contained in:
Devdeep Singh 2013-12-12 16:48:46 +05:30
parent affe7efc82
commit db2b8d9b0d
2 changed files with 2 additions and 0 deletions

View File

@ -1646,6 +1646,7 @@ namespace HypervResource
strtRouteCmd.storageNetmask = config.PrivateNetmask;
strtRouteCmd.storageMacAddress = config.PrivateMacAddress;
strtRouteCmd.gatewayIpAddress = config.GatewayIpAddress;
strtRouteCmd.hypervisorVersion = System.Environment.OSVersion.Version.ToString();
strtRouteCmd.caps = "hvm";
// Detect CPUs, speed, memory

View File

@ -828,6 +828,7 @@ CREATE TABLE `cloud`.`network_acl_item_details` (
ALTER TABLE `cloud`.`alert` ADD COLUMN `name` varchar(255) DEFAULT NULL COMMENT 'name of the alert';
UPDATE `cloud`.`hypervisor_capabilities` SET `max_data_volumes_limit`=13 WHERE `hypervisor_type`='Vmware';
INSERT IGNORE INTO `cloud`.`hypervisor_capabilities`(uuid, hypervisor_type, hypervisor_version, max_guests_limit, security_group_enabled, max_data_volumes_limit, storage_motion_supported) VALUES (UUID(), 'Hyperv', '6.3', 1024, 0, 64, 0);
ALTER TABLE `cloud`.`external_load_balancer_devices` ADD COLUMN `is_exclusive_gslb_provider` int(1) unsigned NOT NULL DEFAULT 0 COMMENT '1 if load balancer appliance is acting exclusively as gslb service provider in the zone and can not be used for LB';