The XML definition for tenants is shown below.
<?xml version="1.0" encoding="utf-8"?> <Tenant name ="Tenant name" label="Label"> <Comment>Comment</Comment> <UserGroup name="User group name" label="Label"> <Comment>Comment</Comment> <Role name="Role name"> <Scopes> <Scope>Tenant name</Scope> </Scopes> </Role> </UserGroup> <User name="User ID" label = "Label" > <Password>Password</Password> <Comment>Comment</Comment> <UserGroup>User Group Name</UserGroup> </User> <Pools> <Pool name="Resource pool name" type="Resource pool type" label="Label"> <Comment>Comment</Comment> <Priority>Priority</Priority> </Pool> </Pools> <GlobalPoolLinks> <GlobalPoolLink>Global pool name</GlobalPoolLink> ... </GlobalPoolLinks> </Tenant> |
Element Name | Description | Remarks (Possible Values, Examples) |
---|---|---|
Tenant name (Tenant name) | Tenant Name | Specify a character string beginning with an alphanumeric character and containing up to 32 alphanumeric characters, underscores ("_"), and hyphens ("-"). When creating it in a resource folder, specify the resource folder name using slashes ("/"). Creation in a tenant is not possible. |
Label (Tenant label) | Tenant label (optional) | Specify a character string of up to 32 alphanumeric characters or symbols. |
Comment (Comment) | Comment for a tenant (optional) | Specify a character string of up to 256 alphanumeric characters or symbols. |
User group name (UserGroup name) | Name of the user group to create in the tenant | Specify a user group name to create. If the UserGroup element is omitted, "supervisor" is set. |
User ID (User name) | Name of the user to create in the tenant | Specify the user ID to create. If the User element is omitted, no user is created.
Role names (Role name) and access scopes (Scope) cannot be specified. |
Resource pool name (Pool name) | Name of the resource pool to create in the tenant | Specify the name of the resource pool to create in the tenant. If the Pools element is omitted, no resource pool is created in the tenant. |
Resource pool types (Pool type) | Resource Pool Types | Specify the type of the resource pool to create in the tenant. It can be specified using the following methods:
|
Label (Pool label) | Label for the resource pool (optional) | Specify a character string of up to 32 alphanumeric characters or symbols. |
Comment (Pool comment) | Comment for the resource pool (optional) | Specify a character string of up to 256 alphanumeric characters or symbols. |
Priority (Priority) | Resource pool priority (optional) | Specify the priority for the resource pool as between 1 and 10. If omitted, "5" is set. For the priority order, "1" is the highest and "10" is the lowest. |
Global pool name (GlobalPoolLink) | Name of the global pool | Specify the resource pool name to be defined in a global pool of a tenant. If the GlobalPoolLinks element is omitted, no global pool is defined for the tenant. |
Example
<?xml version="1.0" encoding="utf-8"?> <Tenant name ="TenantFolder" label="TenantFolder Label"> <Comment>TenantFolder Comment</Comment> <UserGroup name="TenantUserGroup" label="TenantUserGroup Label"> <Comment>TenantUserGroup Comment</Comment> <Role name="administrator"> <Scopes> <Scope>TenantFolder</Scope> </Scopes> </Role> </UserGroup> <User name="TenantAdminUser" label="TenantAdministratorUser Label"> <Password>tenant123</Password> <Comment>TenantAdministratorUser Comment</Comment> <UserGroup>TenantUserGroup</UserGroup> </User> <Pools> <Pool name="VMHostPool" type="vm" label="VMHostPool Label"> <Comment>VMHostPool Comment</Comment> <Priority>5</Priority> </Pool> <Pool name="ServerPool" type="server" label="ServerPool Label"> <Comment>ServerPool Comment</Comment> <Priority>5</Priority> </Pool> <Pool name="StoragePool" type="storage" label="StoragePool Label"> <Comment>StoragePool Comment</Comment> <Priority>5</Priority> </Pool> <Pool name="NetworkPool" type="network" label="NetworkPool Label"> <Comment>NetworkPool Comment</Comment> <Priority>5</Priority> </Pool> <Pool name="AddressPool" type="address" label="AddressPool label"> <Comment>AddressPool Comment</Comment> <Priority>5</Priority> </Pool> <Pool name="ImagePool" type="image" label="ImagePool label"> <Comment>ImagePool Comment</Comment> <Priority>5</Priority> </Pool> </Pools> <GlobalPoolLinks> <GlobalPoolLink>/VMHostPool</GlobalPoolLink> <GlobalPoolLink>/ServerPool</GlobalPoolLink> ... </GlobalPoolLinks> </Tenant> |