Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-5154

DO_NOT_PERSIST fails on explicitly defined interface when matching any IP address

    Details

      Description

      I discovered this bug when I wanted to suppress automatic discovery of interfaces via SNMP. The intention was to let discover only interfaces which I explicitly defined in the Provisioning Group. In order to achieve this, I defined the following Foreign Source Policy:

      class=Match IP Interface
      action=DO_NOT_PERSIST
      matchBehavior=ALL_PARAMETERS
      ipAddress=~.*

      When a Provisioning Group with such Policy is imported, all defined services are discovered and immediately after that deleted (see attached screenshot of the event log). The same behavior can be observed when Rescan of the node is performed. First Rescan discovers all services, second Rescan deletes them.

        Attachments

          Activity

            People

            • Assignee:
              brozow Matt Brozowski
              Reporter:
              jiri.tyr Jiri Tyr
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: