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

Unknown macro: {multi-excerpt-include}

Before you begin

Create tag groups and tags, as described in Creating tag groups and tags.

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

To add 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 is displayed:

    Unknown macro: {multi-excerpt-include}
  2. Under Quick Links on the left, click a policy type under Policies.
  3. In the Edit Condition workarea, 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 conditions:
  4. Create a condition:
    A condition is satisfied if any of the tags from the selected Tag Source are in the selected Tag Groupand 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 pool policies are considered only for compute 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.

To 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 is displayed:

  2. In the Quick Links section under Policies, click the policy that you want to edit: Network ContainerCompute Pools, or Virtual Disk Repository Pools.
     
  3. You can make the following changes:
    • You can select Match All or Match Any.
      • Match All — All of the conditions listed in this policy must be met before the policy will be in effect. If you have only one condition, Match All is the only option available.
      • Match Any — If any of the conditions listed in this policy are met, the policy will be in effect.
    • You can add a condition by clicking Add condition .
    • You can remove a condition by clicking Delete condition  next to the condition that you want to delete.
    • You can change the tag source for a condition by clicking the  list in the Tag Source column.
      • Service Blueprint — Indicates that you want to match tags applied to service blueprints
      • Tenant — Indicates that you want to match tags applied to tenants
    • You can change the tag group for a condition by clicking the  list in the Tag Group column.
  4. Click Save.

The saved policy is evaluated for new service instances.

Was this page helpful? Yes No Submitting... Thank you

Comments