Bandwidth limits network for instances running [closed]

asked 2015-04-28 01:08:25 -0600

anonymous user


updated 2015-04-28 02:57:33 -0600

Hi everyone,

My OpenStack (Juno) use Neutron with GRE. I create a instance ubuntu server. Now, i want Limit bandwidth network (in/out) for this instance (instance running).

I have references:

But my problem unresolved. I need to configure how (libvirt, Open vSwitch,...)?

Edit instance-x.xml

<interface type='bridge'>
  <mac address='...'/>
  <source bridge='...'/>
  <target dev='...'/>
  <model type='virtio'/>
  <address .../>
           <inbound average='12000'/>   Incomming traffic in KiB\s
           <outbound average='12000'/>  Outgoing traffic in KiB\s

Thank you!

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by datts
close date 2015-05-03 15:31:32.936095


Are you using Icehouse, if so why not patch it like it's recommended in the first bug ticket you listed and test?

nova flavor-create --ephemeral=1 test_vif 50 256 1 1 nova flavor-key test_vif set quota:vif_inbound_average=1000 nova boot --flavor=test_vif --image=cirros-0.3.1-x86_64-uec tester

omar-munoz gravatar imageomar-munoz ( 2015-04-28 10:24:46 -0600 )edit

As i recall you can limit bandwidht using flavor metadata!

capsali gravatar imagecapsali ( 2015-04-29 05:11:09 -0600 )edit

Can someone clarify this, wouldn't using flavor limit only impact the instance directly? If yes, how can I implement bandwidth limits for router ports, so one instance has a minimum amount , while the rest share bandwidth.

bobyakov gravatar imagebobyakov ( 2015-10-15 12:54:24 -0600 )edit