Pool governance for Cloud Management Pools control the values that users select when they request cloud resources. Each pool contains a filter on a table that you specify. Configure the filter to refine the values that you want to display to users. The filter can be in the form of a query or a script. For example, you might want to limit the networks that a user can select to those in a certain logical datacenter. You would use the out-of-box pool that runs on the Cloud Network [cmdb_ci_network] table, which uses a script to filter the networks based on the logical datacenters to which they belong. Pools and blueprints When you configure blueprints, specify variables for the form behavior. For each variable you can specify pools as the data source and choose the resource pool. This enables the variable in the blueprint to pull its values from the result of the filter in the resource pool. Out of box pools Several pools are provided out of box: Pool Based on this table Filter Type Description ApplicationPool Application Query Filter the names of applications. AvailabilityZonePool Availability zone [cmdb_ci_availability_zone] Script Filters availability zones based on the logical datacenter they belong to. BusinessServicePool Business Service [cmdb_ci_service] Query Filters the names of business services. ChefServerPool Chef Server [sn_cfg_chef_server] Script Filters chef server credentials by Chef server. CloudAccountPool Cloud Account [cmdb_ci_cmp_cloud_account] Query Filters the names of cloud accounts. ComputeProfilePool Compute Profile [sn_cmp_compute_profile] Script Filters compute profiles by the logical datacenter and the cloud account it belongs to. CostCenterPool Cost Center [cmn_cost_center] Script Filters the cost center to those which the user belongs. DatastorePool VMware vCenter datastore [cmdb_ci_vcenter_datastore] Script Filters datastores based on the logical datacenter they belong to. IPAddressPool Cloud IP Address [cmdb_ci_cloud_ip_address] Query Filters the IP addresses. NetworkPool Cloud Network [cmdb_ci_network] table Script Filters networks based on the logical datacenter they belong to. OSProfilePool OS Profile [sn_cmp_os_profile] Script Filters compute profiles by the logical datacenter and the cloud account it belongs to. ProjectsPool Project [pm_project] Query Filters the names of projects. ResourceGroupPool Resource group [cmdb_ci_resource_group] Script Filters resource group based on the logical datacenter they belong to. SecurityGroupPool Compute Security Group [cmdb_ci_compute_security_group] Script Filters the security group by the network it belongs to. SecurityGroupProfilePool Compute Security Group Profile [sn_cmp_security_grp_profile] Query Filters the names of security group profiles. SSHKeyPool CMP SSH Key Pair [sn_cmp_ssh_credentials] Script Filters user keys by user. StorageAccountPool Cloud Storage Account [cmdb_ci_cloud_storage_account] Script Filters cloud storage accounts based on the logical datacenter they belong to. StorageVolumePool Storage Volume [cmdb_ci_storage_volume] Query Filters the names of storage volumes. SubnetPool Cloud Subnet [cmdb_ci_cloud_subnet] Script Filters the subnet by the network it belongs to. UserGroupPool Group [sys_user_group] Script Filters the groups to only that the user belongs to. VmFolderPool VMware vCenter folder [cmdb_ci_vcenter_folder] Script Filters VM folders based on the logical datacenter they belong to. Create a cloud resource pool Create a cloud resource pool to use in blueprints. Pools control the values that users see when they request a resource. Before you beginRole required: sn_cmp.cloud_governor Procedure Navigate to Cloud Management > Cloud Admin Portal > Manage > Resource Pools. Click New. Fill out the form fields (see table). Figure 1. A new resource pool Field Description Resource Pool Name Enter a descriptive name. Type Select the type that determines whether the total count of available values for the option the user is selecting will remain the same (Static) or decrease by one (Diminishing). Lookup Table Select the table in the system that contains the records you display to the user in the blueprint. Lookup Field(not necessary if using a script) Select the field from the lookup table that contains the values you are display to the user. The display value for the lookup field is not used on the User Portal. Instead, use the Lookup label field(s). This field is ignored if you configure a script filter. Lookup label field(s)(not necessary if using a script) Enter the label appears to the user for the lookup field. This field is ignored if you configure a script filter. Right-click the header and select Save. On the Resource Pool Filters related list, click New. Fill out the form fields (see table). Figure 2. A resource pool for security group filter Field Description Filter Name Enter a descriptive name. Resource Pool Verify the resource pool this filter belongs to. Type Select the type of filter: Query: Perform a query on records in the Lookup Table based on the Lookup Field. Script: Use a script to filter the records. Right-click the form header and select Save. If you must pass a value that is mapped to another table back to the pool, create a record in the Resource Pool Filter Values related list. If you are returning filter values in JSON from a script, you do not need to configure filter values. On the Resource Pool Filter Values related list, click New. Fill out the form fields (see table): Figure 3. A resource pool for security group filter value Field Description Resource Pool Filter The name of the filter to which this filter value belongs. Type Select the type of filter value: Query: Metadata Rule: Metadata Rule Name[Appears if you select the Metadata Rule type] Enter a metadata rule name. Operator Select a logical operator: AND OR Field Enter the field from the Lookup Table. As an example, CloudAccount Value Enter the value that you are passing back to the resource pool in the format $(field), where field is the value in the Field field. As an example, $(CloudAccount). Order Enter an order number that determines when the value is applies relative to other resource filter values. The lower value is applied first. Click Update. What to do next Use the cloud resource pool you created in a blueprint. See Create a Cloud Management blueprint for more information.