Limit bandwidth of Public IPs with QoS

This document describes how to set a bandwidth limit in a virtual datacenter for each Public IP using Quality of Service (QoS traffic shaping) parameters.
You can also limit the bandwidth of NAT IPs. See https://abiquo.atlassian.net/wiki/spaces/abidel/pages/408189682


This feature applies to public IPs in infrastructure and managed by NSX in vCenter and vCenter clusters. It requires a new privilege to Manage bandwidth limit for public IPs
During an upgrade or when you create a virtual datacenter, the public IP bandwidth limit is disabled.
To use QoS, edit the limit to set a value. The platform will apply the value when you deploy or reconfigure a VM to use a public IP.

 

To edit the bandwidth limit:

  1. Select the virtual datacenter and go to Network → QoS

  2. Click the pencil edit button 

  3. To enable the bandwidth limit in a specific direction, select the Enabled checkbox for that direction

  4. For the Average, enter the amount of bandwidth, in bits per second, that each public IP in the virtual datacenter can use

  5. For the Peak, enter the maximum bandwidth in bits per second that each public IP in the virtual datacenter can use

  6. For the Burst size, enter the amount of data that can be transmitted at the peak bandwidth rate in bytes.
    A burst bonus accumulates when traffic is below the Average value and this bandwidth can be used for bursts

 

To register changes that were made outside the platform, save existing public IP bandwidth values.
In the API, to register changes, send a POST request with the existing values.

This feature sets the limits when you deploy or reconfigure a VM to use a public IP.
If you deploy a VM and the platform cannot configure the limit, then the deploy will fail and roll back.
If you reconfigure a VM and try to add a public IP, and the limit fails, then the platform will roll back the reconfigure and delete the public IP address.
If you are working with multiple VMs and there are different switches involved, then the platform will make a best effort to update all of the VMs, and log any errors. 

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved