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

Missing isSnmpPrimary in NetworkElementFactory for Interface objects.

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.8
    • Fix Version/s: 1.10.9
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:

      Description

      This is related with support ticket 1911:

      We wanted to display the IP address of the primary interface in the node page. When I worked on it, I found that isSnmpPrimary was not being set in NetworkElementFactory, see below. I think it's technically a bug.

      @@ -2228,6 +2228,7 @@ public class NetworkElementFactory implements InitializingBean, NetworkElementFa
      intf.m_ipHostName = ipIface.getIpHostName();
      intf.m_ipAddr = InetAddressUtils.str(ipIface.getIpAddress());
      intf.m_isManaged = ipIface.getIsManaged().charAt(0);
      + intf.m_isSnmpPrimary = ipIface.getIsSnmpPrimary().getCode();
      if(ipIface.getIpLastCapsdPoll() != null) {
      intf.m_ipLastCapsdPoll = Util.formatDateToUIString(ipIface.getIpLastCapsdPoll());
      }

        Attachments

          Activity

            People

            • Assignee:
              agalue Alejandro Galue
              Reporter:
              agalue Alejandro Galue
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: