Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

physicalserver-pool


This topic describes the verbs, command-line arguments, and API parameters available for the physicalserver-pool noun in the BMC Cloud Lifecycle Management SDK.

Note

To delete or list pools, use the pool noun, which applies to all pool types. See pool for more information.

create

Use physicalserver-pool-create from the command line to create a new compute pool with the specified physical servers.

Command-line syntax
clm physicalserver-pool-create [-h] [--waitfor TIME_OUT_SECONDS] --poolname NAME --description DESCRIPTION
--podname NAME --environmentname NAME --providername NAME --vendorname NAME --physicalserver NAME --hwarch HWARCH

Use physical_server_pool_create in the API to create a new compute pool with the specified physical servers. This command returns a StaticPool Python object with the same attributes and relationships.

API syntax
obj = physical_server_pool_create(gcac, pool_name=None, description=None, resource_names=None, pod_name=None,
network_container_name=None, provider_name=None, hwArch=None)

obj.guid # returns the GUID
obj.name # returns the name
...

Command-line argument

API parameter

Description

Required?

--poolname
pool_name

Name of the new pool.

Yes

--description
description

Description of the pool.

Yes

--podname
pod_name

Name of the pod for the pool.

Yes

--environmentname
network_container_name

Name of the environment/network container to associate with the pool.

Yes

--providername
provider_name

Name of the provider of the physical server.

Yes

--vendorname

 

Name of the vendor of the physical server.

Yes

--physicalserver
resource_names

Name of a physical server to add to the compute pool.

 

--hwarch
hwArch

The hardware architecture of the server.

 

--waitfor

 

Time in seconds to wait for response from the server, otherwise return running task details.

 

 

gcac

GenericCloudAPIClient instance/user authentication.

 

update

Use physicalserver-pool-update from the command line to update the compute pool description or the servers in the pool.

Command-line syntax
clm physicalserver-pool-update [-h] [--waitfor TIME_OUT_SECONDS] --poolname NAME [--description DESCRIPTION]
[--addresource NAME|id:<GUID>] [--removeresource NAME|id:<GUID>]

Use physical_server_pool_update in the API to update the compute pool description or the servers in the pool. This command returns a StaticPool Python object with the same attributes and relationships.

API syntax
obj = physical_server_pool_update(gcac, pool_name=None, description=None, location_name=None,
pod_name=None, add_resources=None, remove_resources=None)

obj.guid # returns the GUID
obj.name # returns the name
...

Command-line argument

API parameter

Description

Required?

--poolname
pool_name

Name of the compute pool that needs to be updated.

Yes

--description
description

New description of the compute pool.

 

--addresource
add_resources

Name or GUID of a physical to add to the compute pool.

 

--removeresource
remove_resources

Name or GUID of a physical server to remove from the compute pool.

 

--waitfor

 

Time in seconds to wait for response from the server, otherwise return running task details.

 

 

location_name

Name of the location of the compute pool.

 

 

pod_name

Name of the pod for the compute pool.

 

 

gcac

GenericCloudAPIClient instance/user authentication.

 

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*