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

Improve handling of invalid IP addresses during provisioning cycle

    XMLWordPrintable

Details

    • 5
    • Horizon 22 - Feb 2 - Feb 16, Horizon 22 - Feb 16 - Mar 2, Horizon 22 - Mar 2 - 16
    • Backlog

    Description

      1. While invalid IP addresses should not make their way into a requisition, in the case that they do, the provisiond cycle will stop processing subsequent nodes in the requisition. When encountering an invalid IP, that node (or just that IP) should be skipped to allow other nodes in the requisition to complete the import cycle.
      2. When importing a requisition from a non-file source (such as an HTTP location), there should be an additional check for IP validity and omit/log invalid IP addresses to prevent them from being written to the requisition file.
      3. Invalid IP addresses are only written to provisiond.log when in DEBUG mode. Including invalid IP addresses in WARN mode will help users identify the issue in a timely manner. And after PRIS-157 and NMS-13805, should have a lower chance of making their way into a requisition.

      Attachments

        Issue Links

          Activity

            People

              amay Alex May
              mmahacek Mark Mahacek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: