The Rancid Adapter add also not needed H nodes to static Map

Description

The Rancid Adapter adds to a Static Maps all the node that should be in the map as add nodes:

Here is the situation:

elementid | mapid | elementtype | elementlabel | elementicon | elementx | elementy | id
------------------------------+------------+--------------------------------+---- 1 | 1 | N | mac | unspecified | 60 | 60 | 49
2 | 1 | N | router | unspecified | 336 | 62 | 50
3 | 1 | H | testNode | unspecified | 0 | 0 | 51
1 | 1 | H | mac | unspecified | 0 | 0 | 52
2 | 1 | H | router | unspecified | 0 | 0 | 53

As you can see node 1 and 2 are either hidden and on the maps.

This is no visible because wehn adding the hide nodes the other hidden are deleted:
So this is the dataase when added and saved hidden node:

opennms=# select * from element;
elementid | mapid | elementtype | elementlabel | elementicon | elementx | elementy | id
------------------------------+------------+--------------------------------+---- 3 | 1 | N | testNode | unspecified | 754 | 89 | 57
1 | 1 | N | mac | unspecified | 60 | 60 | 58
2 | 1 | N | router | unspecified | 336 | 336 | 59

Environment

Operating System: All Platform: PC

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Former user March 13, 2010 at 3:00 PM

Fixed in Master:

[master b3bf23c]

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created March 13, 2010 at 5:37 AM
Updated January 27, 2017 at 4:25 PM
Resolved May 20, 2010 at 11:15 AM