network bandwidth based on flavor extra specs are not working

asked 2017-02-05 07:38:32 -0500

senyapsudah gravatar image

Hi Guys,

i'm trying to set network bandwidth limit on per flavor basis. for example, small flavor will have 1Mbps inbound/outbound and large flavor will have 10Mbps inbound/outbound. When i spawned instance based on the flavor. i notice the bandwidth limit does not work. it will still goes up to whatever my uplink bandwidth can go. Below are the extra spec that i put on per flavor:

quota:vif_inbound_peak
quota:vif_outbound_peak

I have test using neutron to limit the bandwidth and i can see it's working. Since i would like to differentiate the bandwidth based on the flavor, setting bandwidth limit based on neutron will not meet the requirement.

Please advise, the best steps to be taken.

edit retag flag offensive close merge delete

Comments

I believe the issue is because the interface that we are using is openvswitch. not linuxbridge.

senyapsudah gravatar imagesenyapsudah ( 2017-02-06 10:04:42 -0500 )edit