Topology Map: customized icon not loaded

"Norbert Steinhoff" <[email protected]> Tue, 24 Jul 2018 18:20:12 +0200
Newsgroups gmane.network.opennms.general
Message-ID <trinity-66a9c09f-b157-4e81-b445-1fe161ec8e08-1532449212551@msvc-mesg-gmx024>
Hi.

i’m running my playground on CentOS with V22.0.2 

While creating  some svg icons for topology map i got stuck and find no way to solve it right now.
The icons are just a copy of the original legacy_workgroup_switch icon with different text added and other ids.

The first one works, the second not.

What i did is:

1. Created a test1.svg in opt/opennms/jetty-webapps/opennms/svg with 2 icon definitions (attached)

 2. Edit /opt/opennms/etc/org.opennms.features.topology.app.icons.list to make them visible

	added 2 lines with:
  legacy_workgroup_poe_switch
  legacy_workgroup_xxx_switch

3. Edit /opt/opennms/etc/org.opennms.features.topology.app.icons.linkd.cfg to link them to nodes

	added:
 nodes.75 = legacy_workgroup_poe_switch
 nodes.58 = legacy_workgroup_xxx_switch

Result in attached Screenshot.

Any help on this is appreciated.


Rgds. Norbert

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss
test1.svg (image/svg+xml, 6.7 KB) - not displayed
screen_topo_icons.png (image/png, 28.1 KB) - not displayed