2023-Nov-03-R11.1a

Define a Data View Template

  1. Click the start menu and select Data View Template Manager.
  2. In the Data View Template Manager, point to My Templates, and click the icon to select New Template.
    Graphical user interface, text, application, email

Description automatically generated
  3. Complete the following steps to define the template.
    Graphical user interface, text, application

Description automatically generated
    1. Set the Basic Information.
    2. Add variables.
    3. Define the Qualification to determine to which types of devices the DVT can be applied.
    4. Define Device or Interface Note.
    5. Define Device or Interface Highlights.
    6. Define detailed settings.
    7.  Add Recommended Automations at the template level.
    8. To set different qualifications, you can add a new branch and configure more definitions. See Branch for more details.
  4. Click Save at the upper-right corner to save the template.

Set the Basic Information

  1. Add a name and a brief description.
  2. Add a tag for the template to identify and filter the data view template.
  3. Select a data source. By default, the data source is the Current Baseline. You can specify what default data sources apply to a data view template.
    Graphical user interface, application

Description automatically generated

Add Variables

Add variables for the current Branch 1 to define what data will be displayed under the device icon or along the link on the map.
You can use two methods to add the variables: start from the position or start from the variables.

Method 1: Starts from the position.

  1. Hover over the position you would like to place the data, click and add the data.
  2. You can add built-in data, parser variables, or pure text.
    Graphical user interface, text, application

Description automatically generated
    Example:  Add the built-in data (Software Version) in position 1 under the device icon and the interface duplex in position 1 of the link on the Map.
    Graphical user interface, text, application

Description automatically generated
    1. On Device’s 1st position, click and select Add Built-in Data.
      Graphical user interface, text, application

Description automatically generated
    2.  On the Select Built-in Data window, select Device Property, and search for version. Select Software Version, and click OK.
      Graphical user interface, text, application

Description automatically generated
    3. On Interface’s 1st position, click and select Add Built-in Data.
      A picture containing table

Description automatically generated
    4. On the Select Built-in Data window, select Interface Property, and search for duplex. Select Duplex, and click OK.
      Graphical user interface, text, application

Description automatically generated
      The following is a result after applying this DVT in a map:
      Diagram

Description automatically generated

 Method 2: Starts from the position.

With this method, you add the data first and select the positions to display this data.

  1. Under Output Variable, click Add Data, and you can select CLI Command, Configuration, or Parser from the drop-down menu.
  • Parser
    We recommend that you try this option first. In the Parser Discovery window, search for the CLI command or variables you want to add.
    Graphical user interface, application

Description automatically generated
    Information

    Tip: To learn how to search for a parser more effectively, refer to Search For a Parser.

    Information If you cannot find the Parser, you can write your Parser or reach out to NetBrain support for help.

  • CLI Command:
    Enter a command, and select a sample device. Click the Retrieve button to retrieve the data. Then you can select a Parser or create a new Parser.
    Graphical user interface, application

Description automatically generated

  • Configuration
    Select the data source, Current Baseline or Live Network, and a sample device. Click the Retrieve button to retrieve the data. Then you can select a Parser.
  1.  (Optional) You can also add Supporting Variables to this data view template. For example, click Add Built-in Data from the drop-down list of Device Variable to add a built-in variable OSPF Enabling of device property.
          Graphical user interface, text, application

Description automatically generated
  2. Hover over the variable and click Map to Interface/Device to place output variables to interface/device positions.
    Graphical user interface, text, application, email

Description automatically generated

Define the Qualification

Define the Qaulification to determine to which types of devices the DVT can be applied.

  • Dynamic Method: To define criteria to filter devices.
  • Static Method: To include/exclude specific devices

Graphical user interface, text, application

Description automatically generated

Define Detailed Settings

  • Configure Variable Settings.
  • Add Drill-down Automation at the device/interface level. For example, add the automation Monitor CPU and MEM on the device position cli_out
  • Information Tip: You can also add a hyperlink to the device/interface position to refer to more information.

    Add Recommended Automations

    Add Recommended Automations at the template level.
    Graphical user interface, text, application

Description automatically generated
    1. Click Recommended Actions.
    2. Click Add Action and select an action from the action list.