bug 14085: Upgrade: Update domain_router's Role

status 14085: resolved fixed
This commit is contained in:
Sheng Yang 2012-03-01 14:28:27 -08:00
parent 178bd35143
commit 0be40ede02
1 changed files with 3 additions and 1 deletions

View File

@ -48,4 +48,6 @@ ALTER TABLE `cloud`.`networks` DROP COLUMN `is_default`;
UPDATE `cloud`.`networks` SET guest_type=(SELECT guest_type FROM network_offerings no where no.id=network_offering_id);
UPDATE `cloud`.`networks` SET guru_name='ExternalGuestNetworkGuru' where guest_type='Isolated';
DELETE FROM `cloud`.`configuration` WHERE name='use.user.concentrated.pod.allocation';
DELETE FROM `cloud`.`configuration` WHERE name='use.user.concentrated.pod.allocation';
UPDATE `cloud`.`domain_router` SET role='VIRTUAL_ROUTER' WHERE role = 'DHCP_FIREWALL_LB_PASSWD_USERDATA' or role = 'DHCP_USERDATA';