Network Planning Overview¶
StarlingX OpenStack introduces data networks as a dedicated layer above the StarlingX platform networks (management, OAM, and cluster-host). Data networks carry VM traffic for tenants. A tenant, also called a project, is the ownership boundary that groups a set of users and their workloads. Tenants create project networks, the virtual networks their VMs attach to, and those project networks run over the data networks. Network design is hard to change after deployment. An incorrect network design can degrade VM performance, complicate troubleshooting, and require a full redeployment to correct.
Decisions to make before deployment:
How many data networks you need and what segmentation type to use (VLAN, VXLAN, or flat)
How project networks map onto those data networks, and whether any need external reachability
How VM instances get their IP addresses (managed by StarlingX OpenStack through a subnet, or managed externally) and whether each project network uses IPv4, IPv6, or both (see Project Network Address Planning)
Which virtual switch mode to use (OVS kernel or OVS-DPDK)
Which VM network interface types you need (virtio, SR-IOV, PCI passthrough)
Ethernet bonding mode and MTU sizes for data NICs
How to align VM and vSwitch CPUs with their NIC(s) on the same NUMA node, especially for OVS-DPDK and SR-IOV or PCI passthrough workloads (discussed in greater detail in NUMA Affinity Planning for VM Workloads)
How the physical L2 access switches are configured to carry the platform and data network VLANs (see OpenStack L2 Access Switches)
Terminology¶
If you are new to OpenStack, these are the key terms used throughout this section:
Term |
Definition |
|---|---|
Data network |
A network dedicated to VM tenant traffic, separate from platform management. Sometimes called a “workload network” or “VM network” in other platforms. |
Project network |
A logical network visible to project (tenant) users, built on top of a data network. Tenants attach VMs to project networks and define their own topologies. |
DPDK |
Data Plane Development Kit. A high-performance packet processing framework that polls NICs instead of using interrupts. Used by OVS-DPDK mode. |
NUMA affinity |
Pinning VM resources to a specific CPU socket and its local memory, minimizing cross-socket latency. |
SR-IOV |
Hardware-level NIC virtualization that bypasses the virtual switch for near-native performance. Industry equivalent of “direct-attached” or “passthrough” networking. |
Virtual switch |
Software switch inside each compute host that forwards VM traffic. StarlingX OpenStack uses OVS (Open vSwitch). |
For a complete list of terms, see Basic Terminology.
Your virtual switch mode and segmentation types are the hardest to change after deployment. Plan these carefully.