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.

Adding and editing policies

This topic describes how to create and edit policies in BMC Cloud Lifecycle Management. You can edit a policy to add a condition, remove a condition, or change a condition in the policy.

This topic contains the following sections:

Overview

Policies match tags between

  • Service blueprints and available resources

  • Tenants and available resources

Policies applied to service blueprints

When you apply policies to a service blueprint and then provision a service instance based on that blueprint, tag matching dictates which resources are used for the service instance.

For a service blueprint, you can create the following types of policies:

Policy Type

Purpose

Compute pool

Controls which resource pools are used when provisioning a service instance.

Network

Controls the placement of network interfaces when provisioning a service instance. Network policies are required when using tags to match network interfaces in the service blueprint to networks in the network container.

Network container

Controls which network container a service instance is provisioned within. This is useful when a tenant has more than one network container available.

PaaS pool

Controls which PaaS resource pools are used when provisioning a service instance.

Virtual disk repository

Controls what storage is available on a virtual disk repository pool when provisioning a service instance.

You can tag a service blueprint at many levels, including the service level (the top), the definition level, and at the level of compute and PaaS resources.

Policies applied to tenants

You can create policies that map tenants to resources. This lets you control which resources are used when provisioning a service instance requested by a specific tenant user. Policies based on tenant tags are useful only when two or more tenants share a network container but require different resource pools.

 

Before you begin

Create tag groups and tags.

Tag objects in BMC Cloud Lifecycle Management, as described in Assigning a tag to an object.

To add or edit a policy

  1. From the BMC Cloud Lifecycle Management Administration console, click the vertical Workspaces menu on the left side of the window and select Service Governor.
    The Service Governor workspace opens.

  2. Under Quick Links on the left, click the policy type under Policies that you want to add or edit. For example, click Compute Pools.
  3. In the Edit Condition work area, select an item from the  list:
    • Match All — Must match all of the tags specified in all of the conditions.
    • Match Any — Match any of the tags specified in any of the conditions. 
  4. Create a condition:
    A condition is satisfied if any of the tags from the selected Tag Source are in the selected Tag Group and match a tag of a resource.
    1. Click Add condition .
    2. Under Tag Source, select an item from the  list:
      • Service Blueprint — Indicates that you want to match tags applied to service blueprints.
      • Tenant — Indicates that you want to match tags applied to tenants.
    3. Under Tag Group, using the list, select a tag group to which the tag source must belong.
  5. Continue adding conditions as needed to the policy by clicking Add condition and creating a condition.
    You can remove a condition by clicking the delete condition icon next to the condition that you want to delete.
  6. Click Save.
    You must click Save before switching to a different policy type under Quick Links on the left.

The policy is now active.

Note

  • The network container policy is evaluated before other policies. If you have conditions in the network container policy, network policies are considered only for networks that are included in the network container that is picked when the network container policy is evaluated. Similarly, compute resource pool policies and PaaS resource pool policies are considered only for compute pools or PaaS pools that are mapped to the network container that is picked during network container policy evaluation.
  • Tags assigned to networks match network interfaces in the service blueprint to networks in the network container.

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.

Comments