You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ADD COLUMN `forsystemvms`TINYINT(1) NOT NULL DEFAULT '0' COMMENT 'Indicates if IP is dedicated for CPVM or SSVM';
457
+
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.op_dc_ip_address_alloc','forsystemvms', 'TINYINT(1) NOT NULL DEFAULT 0 COMMENT ''Indicates if IP is dedicated for CPVM or SSVM''');
413
458
414
-
ALTERTABLE`cloud`.`op_dc_ip_address_alloc`
415
-
ADD COLUMN `vlan`INT(10) UNSIGNED NULL COMMENT 'Vlan the management network range is on';
459
+
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.op_dc_ip_address_alloc','vlan', 'INT(10) UNSIGNED NULL COMMENT ''Vlan the management network range is on''');
416
460
417
461
-- CLOUDSTACK-4757: Support multidisk OVA
418
-
ALTERTABLE`cloud`.`vm_template` ADD COLUMN `parent_template_id`bigint(20) unsigned DEFAULT NULL COMMENT 'If datadisk template, then id of the root template this template belongs to';
462
+
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.vm_template','parent_template_id', 'bigint(20) unsigned DEFAULT NULL COMMENT ''If datadisk template, then id of the root template this template belongs to''');
419
463
420
464
-- CLOUDSTACK-10146: Bypass Secondary Storage for KVM templates
421
-
ALTERTABLE`cloud`.`vm_template`
422
-
ADD COLUMN `direct_download`TINYINT(1) DEFAULT '0' COMMENT 'Indicates if Secondary Storage is bypassed and template is downloaded to Primary Storage';
465
+
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.vm_template','direct_download', 'TINYINT(1) DEFAULT 0 COMMENT ''Indicates if Secondary Storage is bypassed and template is downloaded to Primary Storage''');
423
466
424
467
-- Changes to template_view for both multidisk OVA and bypass secondary storage for KVM templates
425
468
DROPVIEW IF EXISTS `cloud`.`template_view`;
@@ -528,8 +571,7 @@ CREATE VIEW `cloud`.`template_view` AS
528
571
OR (`resource_tags`.`resource_type`='ISO')))));
529
572
530
573
-- CLOUDSTACK-10109: Enable dedication of public IPs to SSVM and CPVM
531
-
ALTERTABLE`cloud`.`user_ip_address`
532
-
ADD COLUMN `forsystemvms`TINYINT(1) NOT NULL DEFAULT '0' COMMENT 'true if IP is set to system vms, false if not';
574
+
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.user_ip_address','forsystemvms', 'TINYINT(1) NOT NULL DEFAULT 0 COMMENT ''true if IP is set to system vms, false if not''');
533
575
534
576
-- ldap binding on domain level
535
577
CREATETABLEIF NOT EXISTS `cloud`.`domain_details` (
@@ -541,11 +583,11 @@ CREATE TABLE IF NOT EXISTS `cloud`.`domain_details` (
541
583
CONSTRAINT`fk_domain_details__domain_id`FOREIGN KEY (`domain_id`) REFERENCES`domain`(`id`) ON DELETE CASCADE
Copy file name to clipboardExpand all lines: engine/storage/datamotion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
Copy file name to clipboardExpand all lines: engine/storage/snapshot/src/main/java/org/apache/cloudstack/storage/snapshot/StorageSystemSnapshotStrategy.java
0 commit comments