Add Terms (Terms
> Add Item)
Terms contain the logic to check for a dependency relation between
resources.
|
Term Name
|
Enter ifl-remote-dependency.
The name must follow the [a-zA-Z][a-zA-Z0-9_-]* pattern.
|
Dependency Type
|
Select Other Device dependency.
See Understand Resources and Dependencies for more information on dependency types.
|
For Every Device
Selects a device from a list of devices in device groups.
|
Label As
|
Enter remote-device.
The name follows the [a-zA-Z][a-zA-Z0-9_-]* pattern.
|
Locate Resource
Define condition to check if the local device’s OSPF neighbor-id
is the remote device’s router-id.
|
Resource Name
|
Enter remote-device:protocols/routing-instance.
|
Label As
|
Enter remote-routing-instance.
|
Conditions
Conditions in Locate Resource are used to identify if the selected
resource is the correct one or not. If the condition does not match
a particular instance, Paragon Insights picks the next instance and
checks for the condition. This continues until we get an instance
where the condition matches, or all the instances of the resource
are exhausted.
|
In the LHS, select $neighbor-id.
In the operator field, select matches-with.
In the RHS, select $remote-routing-instance:router-id.
|
Locate Resource
Use resource Routing Instance to collect router-id of the local
device.
|
Resource Name
|
Enter protocol/routing-instance.
|
Label As
|
Enter label name as local-routing-instance.
|
Locate Resource
Define condition to check if the remote device’s OSPF
neighbor-id matches with the router-id of the local device.
|
Resource Name
|
Enter remote-device: protocols/ospf.
|
Label As
|
Enter remote-ospf.
|
Conditions
Conditions in Locate Resource are used to identify if the selected
resource is the correct one or not. If the condition does not match
a particular instance, Paragon Insights picks the next instance and
checks for the condition. This continues until we get an instance
where the condition matches, or all the instances of the resource
are exhausted.
|
In the LHS, enter $local-routing-instance:router-id.
In the operator field, select matches-with.
In the RHS, enter $remote-ospf:neighbor-id.
Click + to add a second condition that checks for
a match between local device OSPF’s designated router address
and remote OSPF’s designated router address.
In the LHS, enter $dr-address
In the operator field, select matches-with.
In the RHS, enter $remote-ospf:dr-address
|
Locate Resource
Define a condition to check if interface name and sub-index
in the remote OSPF matches with interface name and sub-index of the
remote device’s interface.
|
Resource Name
|
Enter remote-device: interfaces/sub-interface.
|
Label As
|
Enter remote-ifl.
|
Conditions
Conditions in Locate Resource are used to identify if the selected
resource is the correct one or not. If the condition does not match
a particular instance, Paragon Insights picks the next instance and
checks for the condition. This continues until we get an instance
where the condition matches, or all the instances of the resource
are exhausted.
|
The first condition checks for a match between remote
OSPF resource’s interface property and remote interface resource’s
interface instances.
In the LHS, select $ospf-remote-interface-split-1.
Select matches-with as operator.
In the RHS, select $remote-ifl:interface-name.
Click + to add a second condition that checks for
a match between remote OSPF interface’s sub interface index
and remote interface instance’s sub interface index.
In the LHS, select $ospf-remote-interface-split-2.
Select matches-with as operator.
In the RHS, select $remote-ifl:sub-interface-index.
|