mirror of https://github.com/apache/cloudstack.git
Update nw_rate & mc_rate to int unsigned to allow rates > 65Gbps (#13380)
* update column type * Apply suggestion from @DaanHoogland Co-authored-by: dahn <daan@onecht.net> --------- Co-authored-by: Daan Hoogland <daan@onecht.net> Co-authored-by: Pearl Dsilva <pearl1954@gmail.com> Co-authored-by: Wei Zhou <weizhou@apache.org> Co-authored-by: Harikrishna <harikrishna.patnala@gmail.com>
This commit is contained in:
parent
3327e1449c
commit
e63b7da74c
|
|
@ -457,6 +457,15 @@ CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.gui_themes', 'login_base_domain', 'T
|
|||
-- Add description for secondary IP addresses
|
||||
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.nic_secondary_ips', 'description', 'VARCHAR(2048) DEFAULT NULL');
|
||||
|
||||
--- Change nw_rate and mc_rate column types from smallint unsigned to int unsigned to support larger rate values
|
||||
ALTER TABLE `cloud`.`service_offering`
|
||||
MODIFY COLUMN `nw_rate` int unsigned DEFAULT 200 COMMENT 'network rate throttle mbits/s',
|
||||
MODIFY COLUMN `mc_rate` int unsigned DEFAULT 10 COMMENT 'mcast rate throttle mbits/s';
|
||||
|
||||
ALTER TABLE `cloud`.`network_offerings`
|
||||
MODIFY COLUMN `nw_rate` int unsigned COMMENT 'network rate throttle mbits/s',
|
||||
MODIFY COLUMN `mc_rate` int unsigned COMMENT 'mcast rate throttle mbits/s';
|
||||
|
||||
-- Soft delete port forwarding, load balancing and firewall rules
|
||||
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.firewall_rules', 'removed', 'datetime DEFAULT NULL');
|
||||
CALL `cloud`.`IDEMPOTENT_ADD_COLUMN`('cloud.load_balancer_vm_map', 'removed', 'datetime DEFAULT NULL');
|
||||
|
|
|
|||
Loading…
Reference in New Issue