openstack qos限速
#!/bin/bashfor i in cat flavor.txt
do
openstack flavor set $i --property quota:read_bytes_sec=51200000--property quota:write_bytes_sec=51200000 --property quota:disk_read_iops_sec=1000 --property quota:disk_read_iops_sec=1000
openstack flavor set $i --property quota:vif_outbound_average=81920 --property quota:vif_inbound_average=81920 --property quota:vif_outbound_burst=122880 --property quota:vif_inbound_burst=122880
echo "$i limit succ"
done
页:
[1]