Visualizing custom data in the topology views

If you added custom data to a new NCIM database table, you can search on the custom data, and you can create network views with the custom data.

About this task

It is possible to create network views based on custom data that was added as name-value pairs, but these network views are not efficient. For better performance, create network views based on only custom data that was added in new database tables.

To enable visualization of custom attributes in the topology views, complete the following tasks:

Procedure

  1. Go to the $NMGUI_HOME/profile/etc/tnm/ directory.
  2. Edit the ncimMetaData.xml file by appending lines similar to the following example:
    <entityMetaData table="customer" manager="AllManagers" entitySearch="true">
         <dataField dataType="str" column="customerName"/>
         <dataField dataType="str" column="customerType"/>
    </entityMetaData>

    In the preceding example, the custom table customer is added. The manager attribute must always be set to AllManagers. Set the attribute entitySearch to true to use the data in searches. Each dataField is a single column of the table to be displayed and must have the correct dataType.

Results

Operators can now select the table when they search in the Hop View or when they create a new dynamic network view.