Assigning icons to entity types

Some network entities that display in the GUI are not devices and therefore do not have an associated class name. In order to be able to display an icon for these entities in the GUI, you can associate an icon to the related entity type to an icon.

Before you begin

Make custom icons available by adding icons as described in the related link.

About this task

To assign a custom icon to an entity type:

Procedure

  1. Assign the icon prepared earlier to a class type by adding a line that describes the icon to the topoviz.properties file, as follows:
    1. Edit the $NMGUI_HOME/profile/etc/tnm/topoviz.properties file.
    2. Find the section that specifies icon names for device types.
    3. Add the relevant line of code as follows:
      topoviz.image.entitytype=iconname.extension

      Where

      • entitytype is the entity type. This must exactly match the entity type name as listed in the NCIM entityType table.
      • iconname is the name of your icon.
      • extension is the file extension.
  2. Save the topoviz.properties file.

RAN GSM Cell

An example of a network entity that displays in the GUI but is not a device and therefore does not have an associated class name is the entity type 130: RAN GSM Cell. A RAN GSM Cell is a collection of elements, but does not have a class type or class name.

To associate the cloud icon for the RAN GSM cell in the GUI, the following line was added to the topoviz.properties file:
topoviz.image.RAN\ GSM\ Cell=cloud.svg
Note: The spaces in the entity name RAN GSM Cellmust be escaped with a backslash (\).