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 9992a6a6dc
commit 7151ec63fa
2 changed files with 2 additions and 0 deletions

View File

@ -1652,6 +1652,7 @@ namespace HypervResource
strtRouteCmd.storageNetmask = subnet;
strtRouteCmd.storageMacAddress = storageNic.GetPhysicalAddress().ToString();
strtRouteCmd.gatewayIpAddress = storageNic.GetPhysicalAddress().ToString();
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);
CREATE TABLE `cloud`.`s2s_vpn_gateway_details` (
`id` bigint unsigned NOT NULL auto_increment,