@@ -933,330 +933,6 @@ CREATE VIEW `cloud`.`event_view` AS
933933 LEFT JOIN
934934 ` cloud` .` event` eve ON event .start_id = eve .id ;
935935
936- CREATE TABLE `cloud `.` user_data` (
937- ` id` bigint unsigned NOT NULL auto_increment COMMENT ' id' ,
938- ` uuid` varchar (40 ) NOT NULL COMMENT ' UUID of the user data' ,
939- ` name` varchar (256 ) NOT NULL COMMENT ' name of the user data' ,
940- ` account_id` bigint unsigned NOT NULL COMMENT ' owner, foreign key to account table' ,
941- ` domain_id` bigint unsigned NOT NULL COMMENT ' domain, foreign key to domain table' ,
942- ` user_data` mediumtext COMMENT ' value of the userdata' ,
943- ` params` mediumtext COMMENT ' value of the comma-separated list of parameters' ,
944- PRIMARY KEY (` id` ),
945- CONSTRAINT ` fk_userdata__account_id` FOREIGN KEY (` account_id` ) REFERENCES ` account` (` id` ) ON DELETE CASCADE ,
946- CONSTRAINT ` fk_userdata__domain_id` FOREIGN KEY (` domain_id` ) REFERENCES ` domain` (` id` ) ON DELETE CASCADE ,
947- CONSTRAINT ` uc_userdata__uuid` UNIQUE (` uuid` )
948- ) ENGINE= InnoDB DEFAULT CHARSET= utf8;
949-
950- ALTER TABLE ` cloud` .` user_vm` ADD COLUMN ` user_data_id` bigint unsigned DEFAULT NULL COMMENT ' id of the user data' AFTER ` user_data` ;
951- ALTER TABLE ` cloud` .` user_vm` ADD COLUMN ` user_data_details` mediumtext DEFAULT NULL COMMENT ' value of the comma-separated list of parameters' AFTER ` user_data_id` ;
952- ALTER TABLE ` cloud` .` user_vm` ADD CONSTRAINT ` fk_user_vm__user_data_id` FOREIGN KEY ` fk_user_vm__user_data_id` (` user_data_id` ) REFERENCES ` user_data` (` id` );
953-
954- ALTER TABLE ` cloud` .` vm_template` ADD COLUMN ` user_data_id` bigint unsigned DEFAULT NULL COMMENT ' id of the user data' ;
955- ALTER TABLE ` cloud` .` vm_template` ADD COLUMN ` user_data_link_policy` varchar (255 ) DEFAULT NULL COMMENT ' user data link policy with template' ;
956- ALTER TABLE ` cloud` .` vm_template` ADD CONSTRAINT ` fk_vm_template__user_data_id` FOREIGN KEY ` fk_vm_template__user_data_id` (` user_data_id` ) REFERENCES ` user_data` (` id` );
957-
958- -- Added userdata details to template
959- DROP VIEW IF EXISTS ` cloud` .` template_view` ;
960- CREATE VIEW `cloud `.` template_view` AS
961- SELECT
962- ` vm_template` .` id` AS ` id` ,
963- ` vm_template` .` uuid` AS ` uuid` ,
964- ` vm_template` .` unique_name` AS ` unique_name` ,
965- ` vm_template` .` name` AS ` name` ,
966- ` vm_template` .` public` AS ` public` ,
967- ` vm_template` .` featured` AS ` featured` ,
968- ` vm_template` .` type` AS ` type` ,
969- ` vm_template` .` hvm` AS ` hvm` ,
970- ` vm_template` .` bits` AS ` bits` ,
971- ` vm_template` .` url` AS ` url` ,
972- ` vm_template` .` format` AS ` format` ,
973- ` vm_template` .` created` AS ` created` ,
974- ` vm_template` .` checksum` AS ` checksum` ,
975- ` vm_template` .` display_text` AS ` display_text` ,
976- ` vm_template` .` enable_password` AS ` enable_password` ,
977- ` vm_template` .` dynamically_scalable` AS ` dynamically_scalable` ,
978- ` vm_template` .` state` AS ` template_state` ,
979- ` vm_template` .` guest_os_id` AS ` guest_os_id` ,
980- ` guest_os` .` uuid` AS ` guest_os_uuid` ,
981- ` guest_os` .` display_name` AS ` guest_os_name` ,
982- ` vm_template` .` bootable` AS ` bootable` ,
983- ` vm_template` .` prepopulate` AS ` prepopulate` ,
984- ` vm_template` .` cross_zones` AS ` cross_zones` ,
985- ` vm_template` .` hypervisor_type` AS ` hypervisor_type` ,
986- ` vm_template` .` extractable` AS ` extractable` ,
987- ` vm_template` .` template_tag` AS ` template_tag` ,
988- ` vm_template` .` sort_key` AS ` sort_key` ,
989- ` vm_template` .` removed` AS ` removed` ,
990- ` vm_template` .` enable_sshkey` AS ` enable_sshkey` ,
991- ` parent_template` .` id` AS ` parent_template_id` ,
992- ` parent_template` .` uuid` AS ` parent_template_uuid` ,
993- ` source_template` .` id` AS ` source_template_id` ,
994- ` source_template` .` uuid` AS ` source_template_uuid` ,
995- ` account` .` id` AS ` account_id` ,
996- ` account` .` uuid` AS ` account_uuid` ,
997- ` account` .` account_name` AS ` account_name` ,
998- ` account` .` type` AS ` account_type` ,
999- ` domain` .` id` AS ` domain_id` ,
1000- ` domain` .` uuid` AS ` domain_uuid` ,
1001- ` domain` .` name` AS ` domain_name` ,
1002- ` domain` .` path` AS ` domain_path` ,
1003- ` projects` .` id` AS ` project_id` ,
1004- ` projects` .` uuid` AS ` project_uuid` ,
1005- ` projects` .` name` AS ` project_name` ,
1006- ` data_center` .` id` AS ` data_center_id` ,
1007- ` data_center` .` uuid` AS ` data_center_uuid` ,
1008- ` data_center` .` name` AS ` data_center_name` ,
1009- ` launch_permission` .` account_id` AS ` lp_account_id` ,
1010- ` template_store_ref` .` store_id` AS ` store_id` ,
1011- ` image_store` .` scope` AS ` store_scope` ,
1012- ` template_store_ref` .` state` AS ` state` ,
1013- ` template_store_ref` .` download_state` AS ` download_state` ,
1014- ` template_store_ref` .` download_pct` AS ` download_pct` ,
1015- ` template_store_ref` .` error_str` AS ` error_str` ,
1016- ` template_store_ref` .` size` AS ` size` ,
1017- ` template_store_ref` .physical_size AS ` physical_size` ,
1018- ` template_store_ref` .` destroyed` AS ` destroyed` ,
1019- ` template_store_ref` .` created` AS ` created_on_store` ,
1020- ` vm_template_details` .` name` AS ` detail_name` ,
1021- ` vm_template_details` .` value` AS ` detail_value` ,
1022- ` resource_tags` .` id` AS ` tag_id` ,
1023- ` resource_tags` .` uuid` AS ` tag_uuid` ,
1024- ` resource_tags` .` key` AS ` tag_key` ,
1025- ` resource_tags` .` value` AS ` tag_value` ,
1026- ` resource_tags` .` domain_id` AS ` tag_domain_id` ,
1027- ` domain` .` uuid` AS ` tag_domain_uuid` ,
1028- ` domain` .` name` AS ` tag_domain_name` ,
1029- ` resource_tags` .` account_id` AS ` tag_account_id` ,
1030- ` account` .` account_name` AS ` tag_account_name` ,
1031- ` resource_tags` .` resource_id` AS ` tag_resource_id` ,
1032- ` resource_tags` .` resource_uuid` AS ` tag_resource_uuid` ,
1033- ` resource_tags` .` resource_type` AS ` tag_resource_type` ,
1034- ` resource_tags` .` customer` AS ` tag_customer` ,
1035- CONCAT(` vm_template` .` id` ,
1036- ' _' ,
1037- IFNULL(` data_center` .` id` , 0 )) AS ` temp_zone_pair` ,
1038- ` vm_template` .` direct_download` AS ` direct_download` ,
1039- ` vm_template` .` deploy_as_is` AS ` deploy_as_is` ,
1040- ` user_data` .` id` AS ` user_data_id` ,
1041- ` user_data` .` uuid` AS ` user_data_uuid` ,
1042- ` user_data` .` name` AS ` user_data_name` ,
1043- ` user_data` .` params` AS ` user_data_params` ,
1044- ` vm_template` .` user_data_link_policy` AS ` user_data_policy`
1045- FROM
1046- (((((((((((((` vm_template`
1047- JOIN ` guest_os` ON ((` guest_os` .` id` = ` vm_template` .` guest_os_id` )))
1048- JOIN ` account` ON ((` account` .` id` = ` vm_template` .` account_id` )))
1049- JOIN ` domain` ON ((` domain` .` id` = ` account` .` domain_id` )))
1050- LEFT JOIN ` projects` ON ((` projects` .` project_account_id` = ` account` .` id` )))
1051- LEFT JOIN ` vm_template_details` ON ((` vm_template_details` .` template_id` = ` vm_template` .` id` )))
1052- LEFT JOIN ` vm_template` ` source_template` ON ((` source_template` .` id` = ` vm_template` .` source_template_id` )))
1053- LEFT JOIN ` template_store_ref` ON (((` template_store_ref` .` template_id` = ` vm_template` .` id` )
1054- AND (` template_store_ref` .` store_role` = ' Image' )
1055- AND (` template_store_ref` .` destroyed` = 0 ))))
1056- LEFT JOIN ` vm_template` ` parent_template` ON ((` parent_template` .` id` = ` vm_template` .` parent_template_id` )))
1057- LEFT JOIN ` image_store` ON ((ISNULL(` image_store` .` removed` )
1058- AND (` template_store_ref` .` store_id` IS NOT NULL )
1059- AND (` image_store` .` id` = ` template_store_ref` .` store_id` ))))
1060- LEFT JOIN ` template_zone_ref` ON (((` template_zone_ref` .` template_id` = ` vm_template` .` id` )
1061- AND ISNULL(` template_store_ref` .` store_id` )
1062- AND ISNULL(` template_zone_ref` .` removed` ))))
1063- LEFT JOIN ` data_center` ON (((` image_store` .` data_center_id` = ` data_center` .` id` )
1064- OR (` template_zone_ref` .` zone_id` = ` data_center` .` id` ))))
1065- LEFT JOIN ` launch_permission` ON ((` launch_permission` .` template_id` = ` vm_template` .` id` )))
1066- LEFT JOIN ` user_data` ON ((` user_data` .` id` = ` vm_template` .` user_data_id` ))
1067- LEFT JOIN ` resource_tags` ON (((` resource_tags` .` resource_id` = ` vm_template` .` id` )
1068- AND ((` resource_tags` .` resource_type` = ' Template' )
1069- OR (` resource_tags` .` resource_type` = ' ISO' )))));
1070-
1071- DROP VIEW IF EXISTS ` cloud` .` user_vm_view` ;
1072- CREATE
1073- VIEW ` user_vm_view` AS
1074- SELECT
1075- ` vm_instance` .` id` AS ` id` ,
1076- ` vm_instance` .` name` AS ` name` ,
1077- ` user_vm` .` display_name` AS ` display_name` ,
1078- ` user_vm` .` user_data` AS ` user_data` ,
1079- ` account` .` id` AS ` account_id` ,
1080- ` account` .` uuid` AS ` account_uuid` ,
1081- ` account` .` account_name` AS ` account_name` ,
1082- ` account` .` type` AS ` account_type` ,
1083- ` domain` .` id` AS ` domain_id` ,
1084- ` domain` .` uuid` AS ` domain_uuid` ,
1085- ` domain` .` name` AS ` domain_name` ,
1086- ` domain` .` path` AS ` domain_path` ,
1087- ` projects` .` id` AS ` project_id` ,
1088- ` projects` .` uuid` AS ` project_uuid` ,
1089- ` projects` .` name` AS ` project_name` ,
1090- ` instance_group` .` id` AS ` instance_group_id` ,
1091- ` instance_group` .` uuid` AS ` instance_group_uuid` ,
1092- ` instance_group` .` name` AS ` instance_group_name` ,
1093- ` vm_instance` .` uuid` AS ` uuid` ,
1094- ` vm_instance` .` user_id` AS ` user_id` ,
1095- ` vm_instance` .` last_host_id` AS ` last_host_id` ,
1096- ` vm_instance` .` vm_type` AS ` type` ,
1097- ` vm_instance` .` limit_cpu_use` AS ` limit_cpu_use` ,
1098- ` vm_instance` .` created` AS ` created` ,
1099- ` vm_instance` .` state` AS ` state` ,
1100- ` vm_instance` .` update_time` AS ` update_time` ,
1101- ` vm_instance` .` removed` AS ` removed` ,
1102- ` vm_instance` .` ha_enabled` AS ` ha_enabled` ,
1103- ` vm_instance` .` hypervisor_type` AS ` hypervisor_type` ,
1104- ` vm_instance` .` instance_name` AS ` instance_name` ,
1105- ` vm_instance` .` guest_os_id` AS ` guest_os_id` ,
1106- ` vm_instance` .` display_vm` AS ` display_vm` ,
1107- ` guest_os` .` uuid` AS ` guest_os_uuid` ,
1108- ` vm_instance` .` pod_id` AS ` pod_id` ,
1109- ` host_pod_ref` .` uuid` AS ` pod_uuid` ,
1110- ` vm_instance` .` private_ip_address` AS ` private_ip_address` ,
1111- ` vm_instance` .` private_mac_address` AS ` private_mac_address` ,
1112- ` vm_instance` .` vm_type` AS ` vm_type` ,
1113- ` data_center` .` id` AS ` data_center_id` ,
1114- ` data_center` .` uuid` AS ` data_center_uuid` ,
1115- ` data_center` .` name` AS ` data_center_name` ,
1116- ` data_center` .` is_security_group_enabled` AS ` security_group_enabled` ,
1117- ` data_center` .` networktype` AS ` data_center_type` ,
1118- ` host` .` id` AS ` host_id` ,
1119- ` host` .` uuid` AS ` host_uuid` ,
1120- ` host` .` name` AS ` host_name` ,
1121- ` host` .` cluster_id` AS ` cluster_id` ,
1122- ` vm_template` .` id` AS ` template_id` ,
1123- ` vm_template` .` uuid` AS ` template_uuid` ,
1124- ` vm_template` .` name` AS ` template_name` ,
1125- ` vm_template` .` display_text` AS ` template_display_text` ,
1126- ` vm_template` .` enable_password` AS ` password_enabled` ,
1127- ` iso` .` id` AS ` iso_id` ,
1128- ` iso` .` uuid` AS ` iso_uuid` ,
1129- ` iso` .` name` AS ` iso_name` ,
1130- ` iso` .` display_text` AS ` iso_display_text` ,
1131- ` service_offering` .` id` AS ` service_offering_id` ,
1132- ` service_offering` .` uuid` AS ` service_offering_uuid` ,
1133- ` disk_offering` .` uuid` AS ` disk_offering_uuid` ,
1134- ` disk_offering` .` id` AS ` disk_offering_id` ,
1135- (CASE
1136- WHEN ISNULL(` service_offering` .` cpu` ) THEN ` custom_cpu` .` value`
1137- ELSE ` service_offering` .` cpu`
1138- END) AS ` cpu` ,
1139- (CASE
1140- WHEN ISNULL(` service_offering` .` speed` ) THEN ` custom_speed` .` value`
1141- ELSE ` service_offering` .` speed`
1142- END) AS ` speed` ,
1143- (CASE
1144- WHEN ISNULL(` service_offering` .` ram_size` ) THEN ` custom_ram_size` .` value`
1145- ELSE ` service_offering` .` ram_size`
1146- END) AS ` ram_size` ,
1147- ` backup_offering` .` uuid` AS ` backup_offering_uuid` ,
1148- ` backup_offering` .` id` AS ` backup_offering_id` ,
1149- ` service_offering` .` name` AS ` service_offering_name` ,
1150- ` disk_offering` .` name` AS ` disk_offering_name` ,
1151- ` backup_offering` .` name` AS ` backup_offering_name` ,
1152- ` storage_pool` .` id` AS ` pool_id` ,
1153- ` storage_pool` .` uuid` AS ` pool_uuid` ,
1154- ` storage_pool` .` pool_type` AS ` pool_type` ,
1155- ` volumes` .` id` AS ` volume_id` ,
1156- ` volumes` .` uuid` AS ` volume_uuid` ,
1157- ` volumes` .` device_id` AS ` volume_device_id` ,
1158- ` volumes` .` volume_type` AS ` volume_type` ,
1159- ` security_group` .` id` AS ` security_group_id` ,
1160- ` security_group` .` uuid` AS ` security_group_uuid` ,
1161- ` security_group` .` name` AS ` security_group_name` ,
1162- ` security_group` .` description` AS ` security_group_description` ,
1163- ` nics` .` id` AS ` nic_id` ,
1164- ` nics` .` uuid` AS ` nic_uuid` ,
1165- ` nics` .` device_id` AS ` nic_device_id` ,
1166- ` nics` .` network_id` AS ` network_id` ,
1167- ` nics` .` ip4_address` AS ` ip_address` ,
1168- ` nics` .` ip6_address` AS ` ip6_address` ,
1169- ` nics` .` ip6_gateway` AS ` ip6_gateway` ,
1170- ` nics` .` ip6_cidr` AS ` ip6_cidr` ,
1171- ` nics` .` default_nic` AS ` is_default_nic` ,
1172- ` nics` .` gateway` AS ` gateway` ,
1173- ` nics` .` netmask` AS ` netmask` ,
1174- ` nics` .` mac_address` AS ` mac_address` ,
1175- ` nics` .` broadcast_uri` AS ` broadcast_uri` ,
1176- ` nics` .` isolation_uri` AS ` isolation_uri` ,
1177- ` vpc` .` id` AS ` vpc_id` ,
1178- ` vpc` .` uuid` AS ` vpc_uuid` ,
1179- ` networks` .` uuid` AS ` network_uuid` ,
1180- ` networks` .` name` AS ` network_name` ,
1181- ` networks` .` traffic_type` AS ` traffic_type` ,
1182- ` networks` .` guest_type` AS ` guest_type` ,
1183- ` user_ip_address` .` id` AS ` public_ip_id` ,
1184- ` user_ip_address` .` uuid` AS ` public_ip_uuid` ,
1185- ` user_ip_address` .` public_ip_address` AS ` public_ip_address` ,
1186- ` ssh_details` .` value` AS ` keypair_names` ,
1187- ` resource_tags` .` id` AS ` tag_id` ,
1188- ` resource_tags` .` uuid` AS ` tag_uuid` ,
1189- ` resource_tags` .` key` AS ` tag_key` ,
1190- ` resource_tags` .` value` AS ` tag_value` ,
1191- ` resource_tags` .` domain_id` AS ` tag_domain_id` ,
1192- ` domain` .` uuid` AS ` tag_domain_uuid` ,
1193- ` domain` .` name` AS ` tag_domain_name` ,
1194- ` resource_tags` .` account_id` AS ` tag_account_id` ,
1195- ` account` .` account_name` AS ` tag_account_name` ,
1196- ` resource_tags` .` resource_id` AS ` tag_resource_id` ,
1197- ` resource_tags` .` resource_uuid` AS ` tag_resource_uuid` ,
1198- ` resource_tags` .` resource_type` AS ` tag_resource_type` ,
1199- ` resource_tags` .` customer` AS ` tag_customer` ,
1200- ` async_job` .` id` AS ` job_id` ,
1201- ` async_job` .` uuid` AS ` job_uuid` ,
1202- ` async_job` .` job_status` AS ` job_status` ,
1203- ` async_job` .` account_id` AS ` job_account_id` ,
1204- ` affinity_group` .` id` AS ` affinity_group_id` ,
1205- ` affinity_group` .` uuid` AS ` affinity_group_uuid` ,
1206- ` affinity_group` .` name` AS ` affinity_group_name` ,
1207- ` affinity_group` .` description` AS ` affinity_group_description` ,
1208- ` vm_instance` .` dynamically_scalable` AS ` dynamically_scalable` ,
1209- ` user_data` .` id` AS ` user_data_id` ,
1210- ` user_data` .` uuid` AS ` user_data_uuid` ,
1211- ` user_data` .` name` AS ` user_data_name` ,
1212- ` user_vm` .` user_data_details` AS ` user_data_details` ,
1213- ` vm_template` .` user_data_link_policy` AS ` user_data_policy`
1214- FROM
1215- (((((((((((((((((((((((((((((((((` user_vm`
1216- JOIN ` vm_instance` ON (((` vm_instance` .` id` = ` user_vm` .` id` )
1217- AND ISNULL(` vm_instance` .` removed` ))))
1218- JOIN ` account` ON ((` vm_instance` .` account_id` = ` account` .` id` )))
1219- JOIN ` domain` ON ((` vm_instance` .` domain_id` = ` domain` .` id` )))
1220- LEFT JOIN ` guest_os` ON ((` vm_instance` .` guest_os_id` = ` guest_os` .` id` )))
1221- LEFT JOIN ` host_pod_ref` ON ((` vm_instance` .` pod_id` = ` host_pod_ref` .` id` )))
1222- LEFT JOIN ` projects` ON ((` projects` .` project_account_id` = ` account` .` id` )))
1223- LEFT JOIN ` instance_group_vm_map` ON ((` vm_instance` .` id` = ` instance_group_vm_map` .` instance_id` )))
1224- LEFT JOIN ` instance_group` ON ((` instance_group_vm_map` .` group_id` = ` instance_group` .` id` )))
1225- LEFT JOIN ` data_center` ON ((` vm_instance` .` data_center_id` = ` data_center` .` id` )))
1226- LEFT JOIN ` host` ON ((` vm_instance` .` host_id` = ` host` .` id` )))
1227- LEFT JOIN ` vm_template` ON ((` vm_instance` .` vm_template_id` = ` vm_template` .` id` )))
1228- LEFT JOIN ` vm_template` ` iso` ON ((` iso` .` id` = ` user_vm` .` iso_id` )))
1229- LEFT JOIN ` volumes` ON ((` vm_instance` .` id` = ` volumes` .` instance_id` )))
1230- LEFT JOIN ` service_offering` ON ((` vm_instance` .` service_offering_id` = ` service_offering` .` id` )))
1231- LEFT JOIN ` disk_offering` ` svc_disk_offering` ON ((` volumes` .` disk_offering_id` = ` svc_disk_offering` .` id` )))
1232- LEFT JOIN ` disk_offering` ON ((` volumes` .` disk_offering_id` = ` disk_offering` .` id` )))
1233- LEFT JOIN ` backup_offering` ON ((` vm_instance` .` backup_offering_id` = ` backup_offering` .` id` )))
1234- LEFT JOIN ` storage_pool` ON ((` volumes` .` pool_id` = ` storage_pool` .` id` )))
1235- LEFT JOIN ` security_group_vm_map` ON ((` vm_instance` .` id` = ` security_group_vm_map` .` instance_id` )))
1236- LEFT JOIN ` security_group` ON ((` security_group_vm_map` .` security_group_id` = ` security_group` .` id` )))
1237- LEFT JOIN ` user_data` ON ((` user_data` .` id` = ` user_vm` .` user_data_id` )))
1238- LEFT JOIN ` nics` ON (((` vm_instance` .` id` = ` nics` .` instance_id` )
1239- AND ISNULL(` nics` .` removed` ))))
1240- LEFT JOIN ` networks` ON ((` nics` .` network_id` = ` networks` .` id` )))
1241- LEFT JOIN ` vpc` ON (((` networks` .` vpc_id` = ` vpc` .` id` )
1242- AND ISNULL(` vpc` .` removed` ))))
1243- LEFT JOIN ` user_ip_address` ON ((` user_ip_address` .` vm_id` = ` vm_instance` .` id` )))
1244- LEFT JOIN ` user_vm_details` ` ssh_details` ON (((` ssh_details` .` vm_id` = ` vm_instance` .` id` )
1245- AND (` ssh_details` .` name` = ' SSH.KeyPairNames' ))))
1246- LEFT JOIN ` resource_tags` ON (((` resource_tags` .` resource_id` = ` vm_instance` .` id` )
1247- AND (` resource_tags` .` resource_type` = ' UserVm' ))))
1248- LEFT JOIN ` async_job` ON (((` async_job` .` instance_id` = ` vm_instance` .` id` )
1249- AND (` async_job` .` instance_type` = ' VirtualMachine' )
1250- AND (` async_job` .` job_status` = 0 ))))
1251- LEFT JOIN ` affinity_group_vm_map` ON ((` vm_instance` .` id` = ` affinity_group_vm_map` .` instance_id` )))
1252- LEFT JOIN ` affinity_group` ON ((` affinity_group_vm_map` .` affinity_group_id` = ` affinity_group` .` id` )))
1253- LEFT JOIN ` user_vm_details` ` custom_cpu` ON (((` custom_cpu` .` vm_id` = ` vm_instance` .` id` )
1254- AND (` custom_cpu` .` name` = ' CpuNumber' ))))
1255- LEFT JOIN ` user_vm_details` ` custom_speed` ON (((` custom_speed` .` vm_id` = ` vm_instance` .` id` )
1256- AND (` custom_speed` .` name` = ' CpuSpeed' ))))
1257- LEFT JOIN ` user_vm_details` ` custom_ram_size` ON (((` custom_ram_size` .` vm_id` = ` vm_instance` .` id` )
1258- AND (` custom_ram_size` .` name` = ' memory' ))));
1259-
1260936-- Add XenServer 8.2.1 hypervisor capabilities
1261937INSERT IGNORE INTO ` cloud` .` hypervisor_capabilities` (uuid, hypervisor_type, hypervisor_version, max_guests_limit, max_data_volumes_limit, max_hosts_per_cluster, storage_motion_supported) VALUES (UUID(), ' XenServer' , ' 8.2.1' , 1000 , 253 , 64 , 1 );
1262938
0 commit comments