Skip to content

Commit 2705f01

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. Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
1 parent 5199609 commit 2705f01

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ INSERT IGNORE INTO `cloud`.`configuration` VALUES ('Network', 'DEFAULT', 'manage
3535
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)');
3636
ALTER TABLE `cloud`.`load_balancer_vm_map` ADD state VARCHAR(40) NULL COMMENT 'service status updated by LB healthcheck manager';
3737

38+
alter table storage_pool add hypervisor varchar(32);
3839
alter table storage_pool change storage_provider_id storage_provider_name varchar(255);
3940
alter table template_host_ref add state varchar(255);
4041
alter table template_host_ref add update_count bigint unsigned;
@@ -830,6 +831,7 @@ CREATE VIEW `cloud`.`storage_pool_view` AS
830831
storage_pool.removed,
831832
storage_pool.capacity_bytes,
832833
storage_pool.scope,
834+
storage_pool.hypervisor,
833835
cluster.id cluster_id,
834836
cluster.uuid cluster_uuid,
835837
cluster.name cluster_name,

0 commit comments

Comments
 (0)