标签:qos service -- 虚拟机 限速 agent policy Openstack neutron
修改Neutron配置文件,使其支持Qos
修改Neutron.conf
service_plugins = neutron.services.qos.qos_plugin.QoSPlugin
修改plugins/ml2/ml2_conf.ini
复制代码
[ml2]
extension_drivers=qos
[agent]
extensions=qos
复制代码
重启neutron服务
systemctl restart neutron-server.service neutron-linuxbridge-agent.service neutron-dhcp-agent.service neutron-metadata-agent.service
创建一个policy
neutron qos-policy-create test
openstack network qos policy create test
添加限速rule
neutron qos-bandwidth-limit-rule-createbw-limiter --max-kbps 700000 --max-burst-kbps 560000
openstack network qos rule create b67368e8-187b-4777-822c-1af3ed59a59e --max-kbps 20480 --max-burst-kbits 30720 --type bandwidth-limit
绑定Port
neutron port-update <port_id> --qos-policy test
openstack port set 32873801-a55c-4656-8147-0dd1b576d75a --qos-policy b67368e8-187b-4777-822c-1af3ed59a59e
绑定Network
neutron net-update <network_id> --qos-policy test
标签:qos,service,--,虚拟机,限速,agent,policy,Openstack,neutron 来源: https://www.cnblogs.com/alberto/p/14379290.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。