Assigning icons to class types
Change the icons that are used to represent class types to make it easier for network operators to identify the class types in topology maps. Class types group together more than one class. For example, you might want a single icon that represents the class type CiscoSwitch, where the CiscoSwitch class type groups together multiple Cisco switch class icons.
Make custom icons available by adding icons as described in
the related link.
To assign a custom icon to a class type:
Assigning an icon for the RAN transmitter class type
An existing example is the class type for radio area network (RAN) transmitters. A number of RAN device classes fall into the transmitter type. For example, the RANBaseStation and RANNodeB classes both fall into the transmitter class type and are represented by a single transmitter icon. This is implemented using the following file settings:- AOC file for RANBaseStation
- In this file, the
visual_iconparameter is set to the generic class typeTransmitter.//************************************************************* // // File : RANBaseStation.aoc // //************************************************************* active object 'RANBaseStation' { super_class = 'NetworkDevice'; instantiate_rule = "ExtraInfo->ranBaseStation != NULL"; visual_icon = 'Transmitter'; }; - AOC file for RANNodeB
- In this file, the
visual_iconparameter is also set to the generic class typeTransmitter.//************************************************************* // // File : RANNodeB.aoc // //************************************************************* active object RANNodeB { super_class = 'NetworkDevice'; instantiate_rule = "ExtraInfo->ranNodeB != NULL"; visual_icon = 'Transmitter'; }; - topoviz.properties file
- In this file, the icon
transmitter.svgis assigned to any class that has thevisual_icon = 'Transmitter';setting in its AOC file.topoviz.image.Transmitter = transmitter.svg