#source admin-openrc.sh 查询虚机的port #neutron port-list --device_id ddab3bd7-adb6-4907-85ff-17c4ceb4c0e6 创建qos 策略 #neutron qos-policy-create demo-bw-limiter 创建策略规则,限制上下行带宽 #openstack network qos rule create --type bandwidth-limit --max-kbps 10000 --max-burst-kbits 10000 --ingress demo-bw-limiter #openstack network qos rule create --type bandwidth-limit --max-kbps 10000 --max-burst-kbits 10000 --egress demo-bw-limiter
更新端口指定qos为 demo-bw-limiter #neutron port-update 769a9e59-e721-4ea8-807b-985d38d6447e --qos-policy demo-bw-limiter
|