Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Add Resources for Root Cause Analysis

Resource configuration requires references to rules you want to link to the resource. Ensure that you configure the rules before you start resource configuration.

To configure a resource:
  1. Select Configuration > Resources.
    The Resources page appears.
  2. Do one of the following:
    1. Click +Add Resource on the visual panel.
    2. Click + on the Resources table.

    The Add Resource page appears.

  3. Enter the details as described in Table 1.
  4. Click Save & Exit.
    The Save Resource Configuration dialog appears.
  5. Do one of the following:
    1. Click Save and Deploy.

      You can save the resource configuration and deploy it.

    2. Click Save.

      You can only save the resource configuration but not deploy it.

    If you save your configuration by only entering the details in the table, you complete the resource configuration. A message confirms the successful addition of the resource. You can click on the link in the confirmation message to go to the Alerts page where Paragon Automation lists smart alerts. See About the Alerts Page for more information.

    You can see the new resource on the Resources page.

    To connect this resource you add to another resource on the visual panel, you must configure dependency.

    Table 1: Fields of Properties and Functions in Resource Configuration
    Fields Descriptions
    General Information

    A resource, like rules, is defined under the topic hierarchy.

    Resource Name

    Enter name of the resource. The name can follow the regex pattern: [a-zA-Z][a-zA-Z0-9_-]* and can have up to 64 characters.

    For example, chassis, interface, or system.

    Topic Select the topic to which the resource belongs.

    For example, interface, chassis, or protocol.

    Description Enter a short description of the resource and the resources on which this resource is dependent.

    Properties are characteristics such as name, MTU or neighbor-id of a particular resource. A property of one resource can be matched with property of another resource to establish dependency.

    Property Name

    Enter name of the resource property. The name can follow the regex pattern: [a-zA-Z][a-zA-Z0-9_-]* and can have up to 64 characters.

    For example, neighbor-id and interface name.

    Property Type Select the type of property input.

    You can choose from string, integer, floating point, or unsigned.

    Add as a Key

    If you enable a resource property as key, Paragon Automation uses this property to uniquely identify multiple instances of that property as a resource. You can mark more than one property as key.

    For example, in interface property that uses interface name as a key, Paragon Automation identifies ge-0/0/1, ge-1/2/0, ge-1/0/0 as unique instances of interface resource.

    Source Configuration

    Rules and fields are the sources from which Paragon Automation discovers a resource property.

    Rule Name

    Add a rule name in the topic/rule format.

    For a resource property, you can add one or more rules as sources.

    Field Name Select a field configured in the rule.
    (Optional) Functions

    You can enter a function in conditional statements that check for resource dependency.

    Function Name

    Enter a function name follows the [a-zA-Z][a-zA-Z0-9_-]* pattern.

    Path to Function

    Select the file name where functions are defined.

    Paragon Automation supports only Python functions.

    Method Name Select the name of the function you want to execute from the given file.
    Description Enter a description of the function.
    Arguments (Add Item)

    Add argument or parameters defined in the function.

    Mandatory Toggle the switch on if the function arguments you added must be included when Paragon Automation calls the function.