By default, for device model icons, Spectrum OneClick displays the Model Name and the Device Type of the model. The solution explains how this can be changed to display additional or other information by modifying OneClick xml files.
If you would rather display the Model Name and Network Address instead of the Model Name and the Device Type, do the following:
Several xml filestmust be modified and are located in the directory:
Specifically, the following files:
In each of these files, there is the following:
<column-list> <field-column> <column idref="column-modelname-config"/> <column idref="column-devicetype-config"/> </field-column> </column-list>
By default, OneClick displays the Model Name and Device Type. To change it to display Model Name and Network Address, you must change the above to the following:
<column-list> <field-column> <column idref="column-modelname-config"/> <column idref="column-networkaddress-config"/> </field-column> </column-list>
Removing the Device Type and replacing it with Network Address.
After making the above changes, you must log out of OneClick and log back in to see the changes.
Best practice for OneClick customizations is to first copy the files to the $SPECROOT/custom directory structure and then modify the file in the customer directory structure.For example, copy the files:
To: the $SPECROOT/custom/topo/config directory
Then modify the files in the $SPECROOT/custom/topo/config directory.
Files in the custom directory structure take precedence over files in the default directory structure and you do not have to worry about your customizations being overwritten by future upgrades and patch installations.
An Example to display Network Address in addition to Model Name would be as follows:
Please reference the "OneClick Customization" section of the documentation for more information.