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

Can't provision a node with one IP address and a policy to avoid all IP address

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 1.8.1
    • 1.9.91
    • Security Level: Default (Default Security Scheme)
    • None
    • Operating System: All
      Platform: PC
    • 4012

    Description

      If I create a provision group with one node, and IP interface, and some services on that interface; but with a policy to not persist any IP address from this node, the expected behavior is that only the node and interfaces from the requisition should be added.

      The policy looks like this:

      <policy class="org.opennms.netmgt.provision.persist.policies.MatchingIpInterfacePolicy" name="noIPs">
      <parameter value="DO_NOT_PERSIST" key="action"/>
      <parameter value="NO_PARAMETERS" key="matchBehavior"/>
      </policy>

      After execute the import. The main address is added as expected, but after a couple of seconds, this address is removed by the policy. This should not happen.

      Attachments

        Activity

          People

            brozow Matt Brozowski (Inactive)
            agalue Alejandro Galue
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: