[RFE] rate-limit external connectivity traffic.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
I want to develop feature rate-limit based on contrail-openstack context.
My core requirement is controlling total rate of all the VMs accessing public/internet network in the one project or one tenant, which including inbound and outbound for accessing public/internet network traffic. If VM1 access VM2 in the same tenant in the same data center, the traffic is not limited.
The scene is as follows:
There are two or more nets in the project customer A. Let's say that only two nets now in the projects: Net1 and Net2 .There are VMs in the two Nets. VMs access public/internet by their FIPs Their FIPs are FIP1 and FIP2。 I want to limit total bandwidth of FIP1 and FIP2 to 10Mbits/s bidirectional.
In the contrail-openstack solution, there is one simple software gateway(VGW) which provide the ability to access the public/internet for the VM. I do my TC test in this context.
All the traffic accessing public/internet network is via the NIC of VGW Nodes.
So My core ides is to use tc tools to limit traffic according to FIPs.
My preliminary test is feasible. When I have done it, will update the script here.
summary: |
- [openstack] [neutron] [REF] rate-limit + [REF] rate-limit |
tags: | added: qos rfe |
summary: |
- [REF] rate-limit + [RFE] rate-limit |
summary: |
- [RFE] rate-limit + [RFE] bandwidth rate-limit |
Changed in neutron: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
description: | updated |
You should have tc in vrouter namespace for fip qos, and in this case, it will cause performance problem due to single queue of vrouter vif. I think you should consider ovs qos.