Configuring column display in the Structure Browser
You can configure which columns are displayed in the Structure Browser table mode. You can also configure the horizontal alignment of displayed text.
About this task
You can configure which columns are displayed, and how text is aligned, in the device table, interfaces table, or both, when the Structure Browser is in table mode.
To configure which columns are displayed, complete the following steps:
Procedure
- Back up and edit the $NMGUI_HOME/profile/etc/tnm/ncimMetaData.xml file.
-
Locate the following section and add or remove any columns that you want to display in the
device table.
<columnView tableMode="devicetable"> <columnName tableAlias="e" column="displayLabel"/> <columnName tableAlias="c" column="accessIPAddress"/> <columnName tableAlias="m" column="classType"/> <columnName tableAlias="c" column="className"/> </columnView>The
tableAliasandcolumnattributes must match a<dataField>tag in the<entityMetaData>tag whose entityType attribute equals1(chassis). The<listDataField>and<extraInfo>tags are not supported.If the
<entityMetaData entityType="1">tag does not contain a<columnView tableMode="devicetable">tag, the device view displays all configured columns from that<entityMetaData>tag.If you add<columnView tableMode="devicetable">to entityType 1, you must also add the tag and its child tags to the<entityMetaData>tags for entityType 8 (daughter card) and entityType 191 (probe).Important:You must use the correct tableAlias for the table.
- c = physicalChassis
- e = entityDatal = lingerTime
- m = mainNodeDetails
- os = operating System
- cs = computerSystem
- ss = snmpSystem
- vm = virtualMachine
- vs = virtualSwitch
- bsc = ranBaseStationController
- bs = ranBaseStation
- wap = wlanAccessPoint
- lteaf = antennaFunction
-
Locate the following section and add or remove any columns that you want to display in the
interfaces table.
<columnView tableMode="interfacestable"> <statusColumn statusColumn="severity"/> <statusColumn statusColumn="managedStatus"/> <columnName tableAlias="e" column="entityId"/> <columnName tableAlias="e" column="entityName"/> <columnName tableAlias="e" column="displayLabel"/> <columnName tableAlias="n" column="accessProtocol"/> <columnName tableAlias="n" column="ifDescr"/> <columnName tableAlias="n" column="ifType"/> <columnName tableAlias="n" column="ifTypeString"/> </columnView>The table displays the columns in the order specified here.
The
entityIdcolumn must be present, but can be in any position.The following columns must be specified usingstatusColumn, as in the default example above:severitymanagedStatus
The
tableAliasandcolumnattributes must match a<dataField>tag in the<entityMetaData>tag whose entityType attribute equals2(interface). The<listDataField>and<extraInfo>tags are not supported.If the
<entityMetaData entityType="2">tag does not contain a<columnView tableMode="interfacestable">tag, the device view displays all configured columns for interfaces. - Save and close the $NMGUI_HOME/profile/etc/tnm/ncimMetaData.xml file.
- You can also configure various properties in the $NMGUI_HOME/profile/etc/tnm/structurebrowser.properties file such as column widths and text alignment. See Customizing Structure Browser preferences for more information.