You can create tenant virtual data centers to enable secure multi-tenancy and resource allocation. These data centers can be created on different compute nodes that offer specific service level agreements for each telecommunication workload.
Project quotas limit OpenStack resources across multiple compute nodes or availability zones, but they do not guarantee resource availability. By creating a tenant virtual data center to allocate CPU and memory for an OpenStack project on a compute node, you provide a resource guarantee for tenants and avoid noisy neighbor scenarios in a multi-tenant environment.
The tenant virtual data center allocates resources at the compute node level. You can also allocate resources on the virtual network function (VNF) level using the same flavor. For instructions, see Configure QoS Resource Allocation for Instances.
You can manage tenant virtual data centers using the viocli utility, vAPI, or Data Center Command-Line Interface (DCLI). This procedure uses the viocli utility as an example. For information about vAPI or DCLI usage, see Using the Tenant Virtual Data Center vAPIs.
Prerequisites
- Determine the UUID of the project under which you want to create the tenant virtual data center. You can find project UUIDs by running the openstack project list command.
- Determine the name of the compute node on which you want to create the tenant virtual data center. You can find the names of compute nodes by running the openstack compute service list command.
Procedure
Results
What to do next
You can display the resource pools in a tenant virtual data center by running the viocli inventory-admin show-tenant-vdc --id tvdc-uuid
command. Each resource pool is listed with its provider ID, project ID, status, minimum and maximum CPU, minimum and maximum memory, and compute node information. If a tenant virtual data center includes multiple resource pools, the first row displays aggregate information for all pools.
You can update your tenant virtual data centers by running the viocli inventory-admin update-tenant-vdc command. For specific parameters, see viocli inventory-admin Command.
You can delete an unneeded tenant virtual data center by running the viocli inventory-admin delete-tenant-vdc --id tvdc-uuid
command.