Skip to content

Commit bb5bbf2

Browse files
author
Sateesh Chodapuneedi
committed
CLOUDSTACK-2029 zone wide primary storage support for cloudstack over vmware deployments
Added new column 'hypervisor' to table storage_pool to associate a identify a pool at zone level by hypervisor type.
1 parent e9a6d47 commit bb5bbf2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup/db/db/schema-410to420.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 'manage
3333
INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 'management-server', 'midonet.providerrouter.id', 'd7c5e6a3-e2f4-426b-b728-b7ce6a0448e5', 'Specifies the UUID of the Midonet provider router (if using Midonet)');
3434
ALTER TABLE `cloud`.`load_balancer_vm_map` ADD state VARCHAR(40) NULL COMMENT 'service status updated by LB healthcheck manager';
3535

36+
alter table storage_pool add hypervisor varchar(32);
3637
alter table storage_pool change storage_provider_id storage_provider_name varchar(255);
3738
alter table template_host_ref add state varchar(255);
3839
alter table template_host_ref add update_count bigint unsigned;
@@ -802,6 +803,7 @@ CREATE VIEW `cloud`.`storage_pool_view` AS
802803
storage_pool.removed,
803804
storage_pool.capacity_bytes,
804805
storage_pool.scope,
806+
storage_pool.hypervisor,
805807
cluster.id cluster_id,
806808
cluster.uuid cluster_uuid,
807809
cluster.name cluster_name,

0 commit comments

Comments
 (0)