QoS policies
A QoS policy bundles a set of network-quality rules — bandwidth caps, DSCP packet marking, and minimum-bandwidth rules — and applies them to network ports, whole networks, router gateways or load balancer VIPs, through their qos_policy_id (a load balancer's is vip_qos_policy_id). The most common rule is a bandwidth limit (cap throughput on a port at 100 Mbps, say, to prevent a runaway workload from saturating shared uplinks).
DSCP marking adds priority hints to packets leaving a port — useful when downstream networks (your office, a partner network) honor DSCP for traffic shaping. A minimum-bandwidth rule asks for at least min_kbps in one direction.
For typical workloads you don't need a policy of your own. NimbusNexus already attaches a bandwidth-limit policy when you create a VM on the external network or give a router an external gateway, sized to the bandwidth_mbps you chose. POST /api/v1/bandwidth/resize changes the limit on a port, floating IP or router gateway, and its billing with it. Apply policies when you have a specific shaping requirement — usually compliance, latency-sensitive workloads, or noisy-neighbor mitigation.
What's next
- Network ports — one of the things QoS policies attach to.
- Networks and Subnets — the broader network model.