LOG.info("getLinksFromCdp: found # {} nodes using Cisco Discovery Protocol", m_cdpNodes.size());
LOG.info("getLinksFromCdp: founding Cisco Discovery Protocol links between Cdp nodes");
for (LinkableNode linknode1: m_cdpNodes.values()) {
LOG.info("getLinksFromCdp: parsing cdp device {} with cdpDeviceId {} using Cisco Discovery Protocol",linknode1.getNodeId(), linknode1.getCdpDeviceId());
for (CdpInterface cdpiface1: linknode1.getCdpInterfaces()) {
<BUG>LOG.info("getLinksFromCdp: found  cdpTargetDeviceId {} ", cdpiface1.getCdpTargetDeviceId());
if (cdpiface1.getCdpTargetDeviceId() != null) {</BUG>
LinkableNode linknode2 = m_cdpNodes.get(cdpiface1.getCdpTargetDeviceId());
if (linknode2 == null) {
LOG.info("getLinksFromCdp: no cdpdevice found for cdpDeviceId {} ", cdpiface1.getCdpTargetDeviceId());

LOG.info("getLinksFromCdp: found # {} nodes using Cisco Discovery Protocol", m_cdpNodes.size());
LOG.info("getLinksFromCdp: founding Cisco Discovery Protocol links between Cdp nodes");
for (LinkableNode linknode1: m_cdpNodes.values()) {
LOG.info("getLinksFromCdp: parsing cdp device {} with cdpDeviceId {} using Cisco Discovery Protocol",linknode1.getNodeId(), linknode1.getCdpDeviceId());
for (CdpInterface cdpiface1: linknode1.getCdpInterfaces()) {
if (cdpiface1 == null) {
LOG.warn("getLinksFromCdp: cdp interface null found on target device node {} for cdpTargetDeviceId {} ", linknode1.getNodeId());
continue;
}
LOG.info("getLinksFromCdp: parsing cdpInterface {} ", cdpiface1);
if (cdpiface1.getCdpTargetDeviceId() != null) {
LinkableNode linknode2 = m_cdpNodes.get(cdpiface1.getCdpTargetDeviceId());
if (linknode2 == null) {
LOG.info("getLinksFromCdp: no cdpdevice found for cdpDeviceId {} ", cdpiface1.getCdpTargetDeviceId());
