Modeling service blueprints
Default blueprints
The following default blueprints are available out-of-the-box. However, you need to import them to be able to view them on the Service Blueprints page.
- Default Blueprint for Kubernetes (K8S): A blueprint with Kubernetes namespace as the starting node. Each node is of a single kind.
- Default Blueprint using Tags: It contains a node with multiple kinds included. This can be used as part of tag-based services.
As a service designer, you can create additional blueprints by using the default blueprints. For more information, see To create a service blueprint from another blueprint.
To import the default blueprints
On the Service Blueprints page, click > Import BMC default Blueprints option to import the out-of-the-box default blueprints.
To create a service blueprint
Perform the following instructions to create a service blueprint:
- From the Service Blueprints page, click Create.
The Create new Service Blueprint page is displayed. - Specify the name, description, and provider (domain) details for the blueprint.
For example, Kubernetes (K8s) Upgrade Deployment, K8s deployment template, .itbiz.com. - In the Select CIs section, do the following:
- Click +Add CIs. The Add CIs page is displayed with list of all CIs available for selection.
- To filter and add the CIs of interest, do one of the following:
- Type the name of the CIs (minimum three characters) of your interest.
- Select a category to narrow down the list of CIs of interest.
The filtered CIs are listed.
- Select one or more CIs and click Add (incl. related) to add the CI with all the related elements or click Add to add only the CI.
- (Optional) To undo the selected CIs and start afresh, click Clear Content and perform steps 5 a to 5 c again.
- (Optional) Set the service topology display option as either Organic or Hierarchic.
By default, Hierarchic (Left to right) is selected.
- Click Next Step (Edit the Blueprint rules).
The Edit Blueprint Rules section is displayed.(Optional) Select App to Infra or Infra to App mode based on your service requirement type.
By default, App to Infra is selected.- (Optional) From the Available CI Kinds section, select view as icons
or view as type
to change the list view.
- Type the name of the CI Kind of your choice or directly select the CI Kind of your choice from the list to add to the CI rules.
For more information on resolving errors, see To resolve the errors when selecting a CI kind. - Establish a valid connection between the CI Kinds selected as shown in this image.
- Click on the selected class to define CI rules.
The Define CI Rule pane is displayed. - (Optional) Change the Kind from the drop down.
You can select multiple kinds from the drop down. - (Optional) Select an unwanted CI kind from the map and delete it.
- (Optional) Include or exclude the content of a CI kind. You have an option to exclude the content of a CI kind and keep only the related nodes as part of a blueprint. By default, the Include Content option is enabled.
- (Optional) Add or edit the filter criteria and save the changes. For more information on resolving the CI kind errors, see To resolve the errors when selecting a CI kind.
- Click Next step (Preview result) to preview the blueprint model.
- Save the blueprint. For more information on viewing the list of blueprints, see To view the service blueprint libraries.
To resolve the errors when selecting a CI kind
Perform the following instructions when you see an error icon above a CI kind while creating or editing a service:
Hover over the CI kind for the tips. Based on the error tips do one of the following:
- If there are more than one root nodes in the service model, make one of those as a root node by connecting them as required.
- If there is only one root node with an error icon, do the following steps:
- Click the node.
The Define CI Rule page is displayed. - Click Add New Filter > Add New Filter Criteria to add or click Edit > Edit to edit filter criteria.
You can add a maximum of three filters.- Select Set as variable and type a message in the Define user prompt message text box.
- Select a named attribute.
- (Optional) Select an extended attribute:
- From the Actions menu
, select Use Extended Attributes.
- Select extended attributes from the displayed list.
- From the Actions menu
- Save and close.
- Save and close the Define CI Rule page.
The error is resolved.
- Click the node.
To view the service blueprint libraries
Perform the following instructions to view the list of all enabled or disabled service blueprints:
From the Service Blueprints page, click Show disabled to view the list of all disabled service blueprints.
You can click Hide disabled to view only the list of all enabled service blueprints.
To create a service blueprint from another blueprint
Perform the following instructions to create a service blueprint:
- From the Service Blueprints page, select a blueprint from the list and click Action > Create a new Blueprint from option.
The Create new Service Blueprint page appears. - Edit the Blueprint rules as required and click Next Step (Preview result) to preview the model.
- Save the blueprint.
To view the details of a service blueprint
Perform the following instructions to view a service blueprint:
- From the Service Blueprints page, select a blueprint from the list and click Action > View option.
The View Service Blueprint page appears. - (Optional) Change the display to Organic or Hierarchic view.
- View and click Close.
To edit a service blueprint
Perform the following instructions to edit a service blueprint:
- From the Service Blueprints page, select a blueprint from the list and click Action > Edit option.
The Edit Service Blueprint page appears. - Edit the Blueprint rules as required.
For more information, see step 5 and step 6 of To create a service blueprintsection. - Click Next Step (Preview result) to preview the Blueprint model.
- Save the blueprint.
To list the related services of a service blueprint
Perform the following instructions to view the list of all services that a service blueprint is associated with:
- From the Service Blueprints page, select a blueprint from the list and click Action > List related Services option.
The Related Services page appears. - (Optional) Use to sort the list in ascending or descending order.
- Click Close.
To enable a service blueprint
Enabling a blueprint makes it available for a service model. Perform the following instructions to enable a service blueprint:
- From the Service Blueprints page, select a blueprint from the list and click Action >Enable option.
The blueprint is now ready to be used as part of a service model. - Click Hide disabled to view the list of all enabled service blueprints.
- Check for the newly enabled blueprint in the list.
- (Optionally, to verify if it is available for a service model) Click Entities and select a service to edit.
- Click Add Dynamic content.
- Search for the enabled blueprint.
It is available for selection.
To disable a service blueprint
Disabling a blueprint makes is unavailable for a service model. Perform the following instructions to disable a service blueprint:
- From the Service Blueprints page, select a blueprint from the list and click Action > Disable option.
The blueprint is no longer available for a service model.
- Click Show disabled to view the list of all disabled service blueprints.
- Check for the disabled blueprint in the list.
- (Optionally, to verify if it is not available for a service model) Click Entities and select a service to edit.
- Click Add Dynamic content.
- Search for the disabled blueprint.
It will not be available for selection.
To export a service blueprint
Perform the following instructions to delete a service blueprint:
- From the Service Blueprints page, select a blueprint from the list and click Action >Export option.
The blueprint is saved as a JSON file into your default download folder. - (Optional) Open the JSON file and verify it is exported correctly.
To import a service blueprint
Perform the following instructions to delete a service blueprint:
- From the Service Blueprints page, click Import Service Blueprint.
- Navigate to the folder where you have saved or downloaded the exported JSON blueprint file.
- Click Show disabled to view the imported blueprint listed. By default, the imported blueprint is in disabled state.
To delete a service blueprint
Perform the following instructions to delete a service blueprint:
- From the Service Blueprints page, select a blueprint from the list and click Action >Delete option.
A confirmation dialog box appears. - Click Proceed to delete the blueprint.