#!/bin/bash
for 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
转载于:https://blog.51cto.com/peitianwang/2045576