Chapter 9. Data Centers

9.1. Data Center Elements

The datacenters collection provides information about the data centers in a Red Hat Virtualization environment. An API user accesses this information through the rel="datacenters" link obtained from the entry point URI.
The following table shows specific elements contained in a data center resource representation.

Table 9.1. Data center elements

Element Type Description Properties
name string A plain text, human-readable name for the data center. The name is unique across all data center resources.
description string A plain text, human-readable description of the data center  
link rel="storagedomains" relationship A link to the sub-collection for storage domains attached to this data center.  
link rel="clusters" relationship A link to the sub-collection for clusters attached to this data center.  
link rel="networks" relationship A link to the sub-collection for networks available to this data center.  
link rel="permissions" relationship A link to the sub-collection for data center permissions.  
link rel="quotas" relationship A link to the sub-collection for quotas associated with this data center.  
local Boolean: true or false Specifies whether the data center is a local data center, such as created in all-in-one instances.
storage_format enumerated Describes the storage format version for the data center. A list of enumerated values are available in capabilities.
version major= minor= complex The compatibility level of the data center.
supported_versions complex A list of possible version levels for the data center, including version major= minor=.
mac_pool string The MAC address pool associated with the data center. If no MAC address pool is specified the default MAC address pool is used.
status see below The data center status.
The status contains one of the following enumerated values: uninitialized, up, maintenance, not_operational, problematic and contend. These states are listed in data_center_states under capabilities.