CLI Resource Pool Management

This is a list of resource-pool management tasks to perform with the MAAS CLI. See MAAS CLI on how to get started and Resource pools for an explanation of the subject.

Creating a resource pool

Here’s an example that demonstrates how to create a new resource pool named myresource.

maas $PROFILE resource-pools create name=myresource description="A new resource pool."

The description field is optional.

List available resource pools

maas $PROFILE resource-pools read

List a single resource pool

maas $PROFILE resource-pool read $RESOURCE_POOL_ID

Update a resource pool

maas $PROFILE resource-pool update $RESOURCE_POOL_ID name=newname description="A new description."

The name and description fields are optional.

Delete a resource pool

maas $PROFILE resource-pool delete $RESOURCE_POOL_ID

Add a machine to a resource pool

maas $PROFILE machine update $SYSTEM_ID pool=$POOL_NAME

Last updated a month ago. Help improve this document in the forum.