Hello,
it's not so complicated to build own icons etc.
issue 1 is I need to customise the icon and build up the correct information tab contents (think the info tab will be easy, customisation of icon seems to be tricky)
The statrting point for all modeltype-based customizations are the "$specroot/tomcat/webapps/spectrum/WEB-INF/web.xml" or the "$specroot/custom/console/config/custom-app-config.xml" file. If the "custom-app-config.xml" file is not located in the custom directory, copy it from "$specroot/tomcat/webapps/spectrum/WEB-INF/console/config/".
The you define the behavior of the modeltypes in one of that two files. Example for one entry in the custom-app-config.xml (copied from the topo-app-config):
<contents-registry>
<icon-reg-id>node-icon-config</icon-reg-id>
<tooltip-config>device-tooltip-config</tooltip-config>
<information-config>view-iagent-config</information-config>
<performance-config>performance-rfc2790app-config</performance-config>
<model-type>0x4a40000</model-type> <!-- IAgent -->
</contents-registry>
The "
icon-reg-id" file contains the definition of the icon, which is displayed in the oneClick client.
The "
tooltip-config file contains the definition of the tooltip, which is displayed if you move the mouse over a icon in e.g. the topology view.
The "
information-config" file contains the definition of the Information Tab in OneClick (Submenus etc.)
The "
performance-config" file contains the definition of the performance tab in OneClick.
The "
model-type" has to be used, if you want define all the definitions in the "
contents-registry" section for one or more model types.
This is the stating point. For icons there is a good chapter in the "OneClick Customization Guide" on page 67 and later. You can use the build-in definitions in the "$specroot/tomcat/webapps/spectrum/WEB-INF" directory. The stating point here is the "topo/config/topo-app-config" file.
For creating the icons, you can use the out-of-the-box icons, which are shipped in the jar file "$specroot/tomcat/webapps/spectrum/lib/clienttopo.jar". You can open the JAR file with an archive-programm like 7zip etc. There are all the topology images are stored.
issue 2 I would like to be able to create a GC model for the circuit that each of these models will be part of (so a couple of ports, some backhaul clouds and a couple of NRS_Support models) and be able to show the relationship between the models grpahically, maybe even model them.
GCs can only display connections between models, no other Associations. If you want to model a hierachy like the Chassis Manager or something else, you have define you own Hierarchy Manager. this is much complicated, but it's possible.