To represent different device classes with different icons,
assign each device class its own icon. This helps operators distinguish
between device classes in topology maps, for example between Cisco
and Alcatel devices.
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 a device class:
Procedure
- Assign the icon prepared earlier to a class type by modifying
the line that describes the icon to the topoviz.properties file,
as follows:
-
Edit the $NMGUI_HOME/profile/etc/tnm/
topoviz.properties file.
- Find the section that specifies icon names for device
types.
- Modify the relevant line of code as follows:
topoviz.deviceicon.classname=iconname.extension
Where
- classname is the name of the device class.
This must correspond to the
active object parameter
within the AOC file that defines the class. AOC files are contained
in the ITNMHOME/precision/aoc/ directory.
- iconname is the name of your icon.
- extension is the file extension.
- Save the topoviz.properties file.