International bandwidth quota

asked 2015-04-19 08:52:02 -0600

madsmao gravatar image

I am currently working on setting up an Openstack cloud. Because international bandwidth is very expensive here, I would like to allow users to control the amount of international bandwidth available to them on an instance basis. Also, I would like to be able to measure actual international bandwidth used, so billing can take actual usage into account.

I have read through the quota documentation, but cannot seem to find any evidence that this is something that is easily achievable "out of the box".

I am keen to hear if anybody has any kind of input on how I might achieve this.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-04-20 15:31:10 -0600

updated 2015-04-20 15:35:45 -0600

Have you taken a look at these links? Either create a new flavor with extra specs or use tc. Good luck.

Excerpt from link:

Network Traffic shaping -- i.e. limit inbound/outbound bandwidth -- is achieved by using tc. Note that libvirt uses tc to allow traffic shaping by network interface. If libvirt was using cgroups to control bandwidth, all network interfaces of a guest would be constrained since cgroups work at process level.

edit flag offensive delete link more


I have looked at those links, but I cannot see that any of those methods allow me to specifically limit international bandwidth for traffic moving through the same network interface. I could implement this limitation on gateway/switch level, but would like to control it from Openstack

madsmao gravatar imagemadsmao ( 2015-04-22 06:12:20 -0600 )edit

I am also looking for help in this regard. Since its been quite some time you have posted.. Were you able to get any solution for this.

penugonda gravatar imagepenugonda ( 2017-03-23 09:44:14 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-04-19 08:52:02 -0600

Seen: 190 times

Last updated: Apr 20 '15