Define the Open Driver
Navigate to the Open Driver Editor
Users can view the error/warning/information from this device's Data Accuracy Discovery pane.
On the Data Accuracy Discovery pane, view the error message and click the Open Driver hyperlink under the message.
Define the Data Source
- Select Data Source.
You can choose from:
- CLI Command
After selecting CLI Command, enter the command. - Configuration
After selecting Configuration, you can decide:- To retrieve data from the live network, select Live Network.
- To retrieve data from the cached data, select Current Baseline.
- Parser
Select the Parser from the Parser Discovery window.Tip: To support the data retrieved via SNMP or API as the data source, you need to define a Parser for the SNMP or API data first and then select the Parser as the data source. Note: Users can choose a Parser with the CLI Command with parameters such as show ip route vrf $VrfName. However, users cannot enter the CLI command with the parameters directly. Note: Only two built-in variables are supported:
- Click Retrieve.
- If you select CLI Command and Configuration in step 1, proceed to select a parser or click New Parser to create a new parser. Refer to Visual Parser on how to define a new parser.
Example: Select CLI Command> Enter show inventory> Click Retrieve> Create a new parser Inventory
Select the Target Device Data
Open Driver can be used to modify the following data:
- Device Property (e.g., The serial number is empty/incorrect)
- Interface Property (e.g., Interface Duplex is empty/incorrect)
- System Table (e.g., Routing table has an empty column)
- NCT Table (e.g., BGP Advertised table has an empty column)
Device Property (Global Data Repository)
The system supports the following types of device Global Data Repository:
Type | Description |
Single Value:
| For example, Hostname, Software Version, etc. |
Table | Can select any column of the table as the target data. |
List | Can be mapped to a column (field) of a source table. |
Object | Supports the property of an object. |
![]() | Note: Only device properties with Visible in Open Driver checked (can be set in the GDR Data configuration page at Tenant Management) can be changed by OD. |
Interface Property (Global Data Repository):
Following built-in interface types are supported:
- Interface(the general)
- IPv4 Interface
- IPv6 Interface
- GRE VPN Interface
- IPsec VPN Interface
Interface GDR is a table with the interface name as the key from a device’s perspective. Therefore, the source data must be a table with the interface name as the key.
![]() |
Note: Only interface properties with Visible in Open Driver checked (can be set in the GDR Data configuration page at Tenant Management) can be changed by OD. |
The supported types of interface GDR are the same as device GDR.
Example:
You can use the CLI command show ip interface to set the interface, inbound ACL, outbound ACL, etc.
System Table
Built-in system tables are created by System Driver and can be modified by Open Driver.
Table Type | Support VRF sub-tables (besides the Global table) | Target fields that OD can select |
Route Table | Yes |
|
ARP Table | Yes |
|
MAC Table | N/A |
|
NDP Table | N/A |
|
BGP Advertised-route Table | Yes | Same as Route Table |
NCT Table
Open Driver can modify an existing NCT table and create a new NCT table. Only the global NCT table (not VRF or subtables) is supported.
Open Driver can change all columns of an existing or new NCT table.
Map the source data variables to the target device data.
After the value is parsed:
- Click the parsed value.
- Then click Add Mapping. The mapping will be completed.
To map a table:
- You need to match the columns of the source table to the target table.
- You need to define which column of the target table is the key if it is not defined.
Note: The keys will identify the corresponding rows of the source table and target table.
- Define the method to map the tables.
- Left Join: Fetching all rows from the left table, unmatched data of the right table will be null.
- Right Join: Fetching all rows from the right table, unmatched data of the left table will be null.
- Outer Join: Merge all rows from both tables.
Tip: When variables defined by the data source Parser cannot be directly mapped to a target device data, you need to define the supporting variables first and then map the variables to the target device data.
- You can define data mapping conditions if necessary.
Example:
If the source data variable is empty (the system cannot retrieve the data), do not overwrite the target device data.
- The supporting operations of the different types of variables, which can be a single value variable or a table column, are:
Variable Type Supporting Operation String - Equals
- Does not equal
- Contains
- Does not contain
- Is empty
- Is not empty
Number - Equals
- Does not equal
- Less than
- Greater than
- Less or equal
- Greater or equal
- In range
- Is empty
- Is not empty
Bool - Equals to (TURE/FALSE)
- The actions for a single value variable can be:
- Overwrite (assigning the source data to the target data)
- Skip (do nothing).
- The actions for a table column variable can be:
Define the qualification for the Open Driver
To make this Open Driver take effect on the right device, you need to define the qualification to identify which type of devices this Open Driver will apply to.
Example:
We can apply the Open Driver to Cisco Router and Cisco IOS Switch.