Administer > RTSM > RTSM Modeling > Introduction > Topology Query Language > How to Create a Subgraph Definition – Scenario

Create a Subgraph Definition – Scenario

This section describes how to create a subgraph definition. In this example, the TQL query results retrieve all CIs that are connected to a Business Service CI by a Containment relationship up to a depth of 3.

Note To reach the required result, you must implement each one of the following steps.

To create this sample subgraph definition:

  1. Create a TQL query and drag a query node of type Business Service onto the editing pane.

  2. Right-click the Business Service query node and select Subgraph Definition to open the Subgraph Definition dialog box.

  3. Click the Add button. In Enrichment Manager and Impact Analysis Manager, the Add Triplet dialog box opens. In the Modeling Studio, a row is added to the table. Make the following selections:

    • From the Source drop-down list, select Managed Object.

    • From the Target drop-down list, select Managed Object.

    • From the Relationship drop-down list, select Containment.

    • Set the direction of the relationship as left to right.

    • In Enrichment Manager and Impact Analysis Manager, click OK to save your changes.

      The Subgraph Definition dialog box now looks like this:

  4. Set the Depth setting to 3.

  5. Click OK in the Subgraph Definition dialog box.

    Go to the required view in IT Universe Manager to view the results.

  6. The results show the Business Service CI aaa and all of the CIs linked to it in succession by Containment relationships down to three levels.

Related Topics Link IconRelated Information