Table of Contents

Working with DCF interface properties in GQI queries

In this tutorial, you will learn how to work with GQI queries that contain DCF interface information. By way of example, the tutorial will show how you can display information about the DCF interface properties using a grid visualization. Using GQI query filter components, you will then be able to filter the displayed interfaces.

Prerequisites

Tip

If you use a DaaS system, these prerequisites are automatically met.

Overview

Step 1: Deploy the tutorial package from the Catalog

To deploy the package:

  1. Go to the Kata DCF package in the DataMiner Catalog.

  2. Deploy the latest version of the package on your DMA using the Deploy button.

    While the package is being deployed, you can follow the progress of the deployment in the Admin app, on the Deployments page for your DMS. Make sure to use the Refresh button in the top-left corner.

    The package will deploy the following components:

    • The Generic Data Simulator connector, which exposes DCF interfaces and will be used by the elements created for this tutorial.

    • The SLC-AS-Kata-DCF Automation script, which will be used to provision the view, elements, DCF interface properties, DCF connections, and properties required for this tutorial.

    • The kata_dcf_view.vsdx Visio file, which will be used to visualize DCF interfaces, connections, and related properties in Cube.

    • The KATA_DCF dashboard, located in the dashboard folder with the same name. This is the dashboard used in the previous tutorial Getting started with DCF and in Kata #45.

    • The KATA_DCF_ADVANCED dashboard, located in the same folder. This blank dashboard will be used for this tutorial and contains the following GQI queries:

      • DCF_ELEMENTS: The nodes representing the routers, switches, and PCs available in the network diagram.
      • DCF_ELEMENTS_POSITION: The positions for the nodes available in this tutorial.
      • DCF_INTERFACES: The DCF interfaces exposed by the elements created for this tutorial.
      • DCF_CONNECTIONS: The DCF connections created for this tutorial.
      • DCF_CONNECTIONS_PROPERTIES: Properties related to the DCF connections available in this tutorial.
  3. When the package has been fully deployed, in the Automation module in DataMiner Cube, go to the folder Kata DCF and execute the script SLC-AS-Kata-DCF to provision the components required for this tutorial.

    When the script is complete, the following items should become available in the Surveyor:

    • Views:

      • SLC_KATA_DCF
      • 00_ROUTER
      • 01_SWITCH
      • 02_PC
      • 10_PROVISIONING
    • Elements:

      • RO-01
      • SW-01
      • SW-02
      • PC-11
      • PC-12
      • PC-13
      • PC-21
      • PC-22
      • PC-23
      • SKYLINE_GENERIC_PROVISIONING

    Kata DCF Advanced Provisioned Elements

  4. If you have not yet done so in the previous tutorial, assign a Visio file to the DLC_KATA_DCF view:

    1. In the Surveyor, select the view SLC_KATA_DCF.

    2. Right-click the VISUAL page, select Set as active Visio file > Existing, and select the file kata_dcf_view.vsdx.

      If you cannot see that Visio file listed in the window, click Other file and browse to the folder C:\Skyline DataMiner\Views. You will be able to select the file there. If you do not have access to this folder, restarting the DMA will also make the Visio file become available in the window.

Step 2: Provision DCF connections and properties

Note

If you are doing this tutorial on the same system where you have already done the previous tutorial Getting started with DCF, you can skip this step completely, because you have already taken care of the provisioning.

  1. In the Automation module in DataMiner Cube, go the folder Kata DCF and execute the script SLC-AS-Kata-DCF-Advanced to provision the DCF interface properties.

  2. Confirm that these properties have been correctly provisioned:

    1. Open a router, switch, or PC element that was added earlier in this tutorial, and go to the page General Parameters.

    2. Next to DataMiner Connectivity Framework, click the Configure button.

    3. Check if the [Interface Properties] table contains the DCF interface property Bandwidth for each port available in the Interfaces table (4 in total).

      DCF Interface Properties

    Tip

    See also: General parameters

  3. Open the element SKYLINE_GENERIC_PROVISIONING.

  4. Go to the DCF Import page of the element and click the Import button.

    When the Progress parameter indicates 100, the Status parameter should indicate that 8 connections were found and imported.

  5. Open the overview available in the view SLC_KATA_DCF (tab dcf) and confirm that all the DCF connections were provisioned correctly.

    The following connections should be displayed:

    Network Diagram Overview with connections

Step 3: Configure the visualizations

  1. Go to the Dashboards app.

  2. In the pane on the left, in the KATA_DCF folder, select the dashboard KATA_DCF_ADVANCED.

  3. Click the pencil icon in the dashboard header bar to start editing the dashboard.

  4. Drag a Grid visualization from the pane on the left onto the dashboard.

    Grid Visualization

  5. Drag a Query Filter visualization from the pane on the left onto the dashboard.

    Query Filter Visualization

  6. Drag the edges of both components to resize them so they will be large enough to display all the interfaces.

  7. In the Data pane on the right, expand the Queries node, and drag the query DCF_INTERFACES to both components.

    Tip

    Take a look at the GQI query to further understand how the GQI query was built to retrieve the DCF interface property.

  8. In the Data pane, expand the query DCF_INTERFACES and drag the Bandwidth column to the Query filter visualization.

    Query Filter Configuration

  9. Make sure the query filter component is selected, go to the Settings pane on the right, and enable the Filter assistance option.

    As a result, you should now see three possible suggestions for the Bandwidth column.

    Query Filter with filter suggestion

  10. In the Data pane on the right, expand Components > Query Filter, and drag the Query columns item to the grid component as a filter.

    Query Filter in grid visualization

  11. Stop editing the dashboard so you can test the query filter.

    When one of the values available for the Bandwidth is selected in the query filter, only the DCF interfaces that match the value of this property will be highlighted.

    Query Filter in action

  12. Edit the dashboard again, select the grid component, and in the Layout tab on the right, click Edit at the bottom to open the template editor.

  13. Add two text layers to display the element name of the DCF interface and the Bandwidth DCF interface property:

    1. Go to the Tools pane on the left, select Text, and drag an area below the {Name} placeholder to add a text layer there.

    2. In the pane on the right, change the value Text to {Element Name}.

      Template Editor - First text layer

    3. Repeat the steps above to add another text layer below that with the value {Bandwidth}.

      Template Editor - Second text layer

    4. Click Save.

    The grid should now display the element name and bandwidth for each interface.

    Grid Visualization updated