Creating a user-defined database query format
TrueSight Network Automation allows you to define new data import formats based on SQL queries. The DeviceImportFormatMap.xml file contains the definitions of all the import formats that are supported by the system.
This topic provide instructions on defining new device import formats based on SQL queries. Once you define these formats, they appear on the UI, and you can use them like any of the predefined formats.
Do the following:
- Copy the DeviceImportFormatMap.xml file from the BCAN_HOME/public/bmc/bca-networks/xml directory to the BCAN_DATA directory.
- Open the DeviceImportFormatMap.xml file with a text editor.
Add a new section to the file similar to the following example. Modify the values emphasized in bold.
The following table lists each of the tags in the preceding XML snippet.
- Save the modifications and restart the Network Automation web server service.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*