R12 Publication-2025July16

Create and Download Library Files in NetBrain Download

Create and Download Library

Via NetBrain Download, you can select four types of assets (Network Intent/Auto Intent/Automation Data Table/Dashboard) to build a library, then download the library. The library that is manually built contains one task by default.

Follow the steps below to build and download library.

  1. Go to Intent Based Automation Center > NetBrain Download.
  2. From the main drop-down menu of NetBrain Download tab, select Build and Download Library.

  1. In the Build and Download Library dialog, Click + Add menu to access the resources to build the library:

Select the following resources to build the library:
  • Network Intent
  • Auto Intent
  • Automation Data Table
  • Dashboard
  • Golden Engineering Resource
Network Intent
  • Click + Network Intent to add intent template resource, then check the checkbox to select intent templates.
  • Click OK to finish the selections and close this window.

    In the Filter by field, click , then select Device-based or Path-based as filter (intent templates are divided into two types "device-based" and "path-based" based on replication mode) to narrow down the scope of intent templates displayed.
     
    After selecting the intent template:
  • For installed NITs: “copy intent” script and “install intent” script will be automatically created.
  • For NITs that are not installed: Only “copy intent” script will be created.
Auto Intent
  • Click + Auto Intent to add intent resource, then check the checkbox to select auto intents.

  • Click OK to finish the selections and close this window. The scope of available auto intents are those intents enabled for auto intent in IBA center.
      

NetBrain Download provides the capability to export/import library with auto intent profiles resource. When you build and export a library using NetBrain Download, the Auto Intent profile is automatically included with the library. Once you install the library, the profile gets linked to the Auto Intent resources.

Automation Data Table

  • Click + Automation Data Table to select ADT, then check the checkbox to select ADT.
  • Click OK to finish the selections and close this window. For more information about ADT definition, see Automation Data Table (ADT)
     
    Information Note: ADT is the carrier of Dataset. When the ADT to be exported contains Dataset, the dataset data will be treated based on certain rules and logic. For more information, see ADT Dataset.

        Dashboard

Observability Dashboard is designed to centrally check alerts/success information for a batch of dashboards.
  • From the + Dashboard dropdown, select Observability Dashboard. The "Select Observability Dashboard" dialog lists all the Observability dashboards in the domain. Observability dashboard is designed to centrally check alerts/success information for a batch of dashboards.
  • Click OK to finish the selections and close this window.

 
Information Note: Another option of the + Dashboard (Intent and Universal Dashboard) is used to select Intent Dashboard and Standard Dashboard.
You can select all the required resources by following and repeating the above steps. The selected resources will be categorized and displayed in the table node structure in the Build and Download library dialog.


Golden Engineering Resource

The NetBrain download includes the following resources for Golden Engineering: Golden Config Rules, Golden Feature, and Golden Intent.

To build the library, follow these steps:

  • From the Golden Engineering Resource menu, select each of the following submenus one-by-one: Golden Config Rules, Golden Feature, and Golden Intent.

  • For each option, a selection window will appear, allowing you to choose the appropriate option.


Information Note: For selected Auto Intnet, ADT, Dashboard, and Golden Engineering Resource, the asset configuration files and correspond YAML script are generated.
  1. Define the basic information of the new library.
  • Library Name: Input the library name. The default setting is “Reference Library1”. You can change the name.
  • Description: Input description for the library to indicate its use, function, etc.
  1. Define advanced settings: Click next to Advance Settings to expand the Advance Settings block, then define the basic information for task. By default, the library contains one task and the basic information of the task can be defined here.
  • Folder Name: Input folder name. The default folder name is “Folder1”. You can change the folder name.
  • Task Name: Input task name. The default setting is “Copy and Install resource”. You can change the task name.
  • Task Description: Input description for the task to indicate the resources in the task, goal of task, etc.

  1. Keep Key data in ADT: These functions are designed to manage manually defined data and CSV data in ADT when it is used as a source for building the Library. When these functions are enabled, both manually defined and CSV data will be exported to the Library.
    For example, Golden Config Templates in ADT will be exported as resource in Library when the Keep manually defined data in ADT checkbox is selected. In addition, the intents in the manually defined intent column will also be exported to the Library as related resources.

    Information Note: By default, the Keep Kay data data in ADT checkboxes are not selected. You can select them based on your requirement.
  2. Click Build and Download to create and download the Library. In this process, library structure, tasks, task.orc file, library files will be automatically built. Execution log is shown in the pane below.
  3. Information Note: The path to the selected resources will be automatically converted to the folder structure of the created library files.

    Clean Information in Exported Library

    When the library is exported, sensitive personal information and some configuration information will be cleared. The flowing table describes the removed information.

    Feature Sub-feature Description
    Intent Send intent diagnosis via email User email information in intent diagnosis, e.g., information about email receivers is removed.
    Dashboard Send Dashboard Alert via email
    • User email information in dashboard alert notification is removed.
    • Disable the Alert Notification in Dashboard Alert notification.

    Lock Lock NIC, NI, and ADT Lock settings defined for NIC, NI, and ADT are removed during exporting/importing.

ADT Dataset

To share datasets through NetBrain Download, NetBrain created a plan to improve how dataset-based ADT resources are published. The plan addresses gaps in publishing by outlining specific processing methods for different types of datasets, as summarized in the table below.

Dataset Type Description
Basic Benchmark Task - Latest
  • The device-specific command list used in the dataset cannot be published by NetBrain Download automatically. Users need to manually define that in local benchmark task.
Specified Benchmark Task
  • Specified benchmark task is only used locally and will not be provided to customers as library file, Therefore, customers have to set up local benchmark tasks for retrieving data for the dataset column in ADT after importing the ADT.
Imported Files
  • The imported files for building dataset column will not be provided to customers in the library file. Therefore, to add data to the dataset column of ADT, customers need to import local file and make corresponding settings to make the ADT work normally.
Manually Retrieved Data- By Specified Commands
  • The ADT dataset column based on manually retrieved data from specified commands can be used after customers manually retrieve data.
Manually Retried Data- by Selected Intent
  • ADT can contain dataset column built by manually retrieving data by selected intents in the ADT intent column. To successfully publish such ADT resources in NetBrain Download, the NIT for replicating intents in the intent column will be packaged together with the ADT resource. After importing such ADT resource, customers can build the ADT once after installing it and manually retrieve data to make the imported ADT function normally in the customer’s system.
Update by Intent
  • The settings made for the “Update by Intent” method will be retained after publishing the library via NetBrain Download.
  • The intent selected in the settings of this method will be published individually.

Some type of resources such as NIT, ADT are key assets that are associated with ADT dataset and can be published via NetBrain Download. The following settings are made to ensure the resources requiring intent decoding settings and intent replication settings can function normally after being exported via NetBrain Download and then imported into customer’s environment.

 

Intent Decoding Settings in Asset Configuration File

Intent decoding can be completed in IBA center and Intent Replication Wizard, then the system will record which data source is used for intent decoding in the IBA center. Local dataset will not be published together with the NIT, therefore, some settings in the Asset Configuration File that are automatically created when the library containing NIT resource is built will be changed.

  • If the data source for NIT decoding is ADT Dataset, the “decode_datasource” attribute in the asset configuration file will be reset to “live”.

 decode_datasource: live             

  • The attribute “use_config_files_from_current_baseline” in the asset configuration file will be set to “true” or “false” depending on whether or not this function is enabled (If the “Use Config Files from Current Baseline” checkbox is checked, the value of this attribute will be “true”).

 use_config_files_form_current_baseline: ture

Intent Replication Settings in Asset Configuration File

Intent replication settings can be defined for ADT when ADT is built with NIT and the corresponding intent replication settings information is included in the ADT asset file. If ADT dataset is the data source for intent decoding, the data source for intent replication is also set to “live” in the asset configuration file.

Intent Creation Settings and Intent Execution Settings

Intent Execution settings and Intent Creation settings, which are temporary settings during operation, will not be configured in asset configuration file.