Search in sources :

Example 6 with OspfLink

use of org.opennms.netmgt.model.OspfLink in project opennms by OpenNMS.

the class EnhancedLinkdMockDataPopulator method createOspfLink.

private OspfLink createOspfLink(OnmsNode node, String sourceIpAddr, String sourceIpMask, int addrLessIndex, int ifIndex, String remRouterId, String remIpAddr, int remAddrLessIndex) {
    final OspfLink ospfLink = new OspfLink();
    ospfLink.setNode(node);
    ospfLink.setOspfIpAddr(InetAddressUtils.addr(sourceIpAddr));
    ospfLink.setOspfIpMask(InetAddressUtils.addr(sourceIpMask));
    ospfLink.setOspfAddressLessIndex(addrLessIndex);
    ospfLink.setOspfIfIndex(ifIndex);
    ospfLink.setOspfRemRouterId(InetAddressUtils.addr(remRouterId));
    ospfLink.setOspfRemIpAddr(InetAddressUtils.addr(remIpAddr));
    ospfLink.setOspfRemAddressLessIndex(remAddrLessIndex);
    return ospfLink;
}
Also used : OspfLink(org.opennms.netmgt.model.OspfLink)

Example 7 with OspfLink

use of org.opennms.netmgt.model.OspfLink in project opennms by OpenNMS.

the class EnhancedLinkdMockDataPopulator method populateDatabase.

public void populateDatabase() {
    final String icmp = "ICMP";
    final String snmp = "SNMP";
    final String http = "HTTP";
    final NetworkBuilder builder = new NetworkBuilder();
    setNode1(builder.addNode("node1").setForeignSource("imported:").setForeignId("1").setType(OnmsNode.NodeType.ACTIVE).setSysObjectId("1.3.6.1.4.1.5813.1.25").getNode());
    Assert.assertNotNull("newly built node 1 should not be null", getNode1());
    builder.setBuilding("HQ");
    builder.addSnmpInterface(1).setCollectionEnabled(true).setIfOperStatus(1).setIfSpeed(10000000).setIfDescr("ATM0").setIfAlias("Initial ifAlias value").setIfType(37).addIpInterface("192.168.1.1").setIsManaged("M").setIsSnmpPrimary("P");
    builder.addService(icmp);
    builder.addService(snmp);
    builder.addSnmpInterface(2).setCollectionEnabled(true).setIfOperStatus(1).setIfSpeed(10000000).setIfName("eth0").setIfType(6).addIpInterface("192.168.1.2").setIsManaged("M").setIsSnmpPrimary("S");
    builder.addService(icmp);
    builder.addService(http);
    builder.addSnmpInterface(3).setCollectionEnabled(false).setIfOperStatus(1).setIfSpeed(10000000).addIpInterface("192.168.1.3").setIsManaged("M").setIsSnmpPrimary("N");
    builder.addService(icmp);
    builder.addSnmpInterface(4).setCollectionEnabled(false).setIfOperStatus(1).setIfSpeed(10000000).addIpInterface("fe80:0000:0000:0000:aaaa:bbbb:cccc:dddd%5").setIsManaged("M").setIsSnmpPrimary("N");
    builder.addService(icmp);
    final OnmsNode node1 = builder.getCurrentNode();
    node1.setLldpElement(new LldpElement(node1, "node1ChassisId", "node1SysName", LldpChassisIdSubType.LLDP_CHASSISID_SUBTYPE_LOCAL));
    setNode1(node1);
    builder.addNode("node2").setForeignSource("imported:").setForeignId("2").setType(OnmsNode.NodeType.ACTIVE);
    builder.setBuilding("HQ");
    builder.addInterface("192.168.2.1").setIsManaged("M").setIsSnmpPrimary("P");
    builder.addService(icmp);
    builder.addService(snmp);
    builder.addInterface("192.168.2.2").setIsManaged("M").setIsSnmpPrimary("S");
    builder.addService(icmp);
    builder.addService(http);
    builder.addInterface("192.168.2.3").setIsManaged("M").setIsSnmpPrimary("N");
    builder.addService(icmp);
    OnmsNode node2 = builder.getCurrentNode();
    node2.setLldpElement(new LldpElement(node2, "node2ChassisId", "node2SysName", LldpChassisIdSubType.LLDP_CHASSISID_SUBTYPE_LOCAL));
    setNode2(node2);
    builder.addNode("node3").setForeignSource("imported:").setForeignId("3").setType(OnmsNode.NodeType.ACTIVE);
    builder.addInterface("192.168.3.1").setIsManaged("M").setIsSnmpPrimary("P");
    builder.addService(icmp);
    builder.addService(snmp);
    builder.addInterface("192.168.3.2").setIsManaged("M").setIsSnmpPrimary("S");
    builder.addService(icmp);
    builder.addService(http);
    builder.addInterface("192.168.3.3").setIsManaged("M").setIsSnmpPrimary("N");
    builder.addService(icmp);
    OnmsNode node3 = builder.getCurrentNode();
    node3.setLldpElement(new LldpElement(node3, "node3ChassisId", "node3SysName", LldpChassisIdSubType.LLDP_CHASSISID_SUBTYPE_LOCAL));
    setNode3(node3);
    builder.addNode("node4").setForeignSource("imported:").setForeignId("4").setType(OnmsNode.NodeType.ACTIVE);
    builder.addInterface("192.168.4.1").setIsManaged("M").setIsSnmpPrimary("P");
    builder.addService(icmp);
    builder.addService(snmp);
    builder.addInterface("192.168.4.2").setIsManaged("M").setIsSnmpPrimary("S");
    builder.addService(icmp);
    builder.addService(http);
    builder.addInterface("192.168.4.3").setIsManaged("M").setIsSnmpPrimary("N");
    builder.addService(icmp);
    OnmsNode node4 = builder.getCurrentNode();
    node4.setLldpElement(new LldpElement(node4, "node4ChassisId", "node4SysName", LldpChassisIdSubType.LLDP_CHASSISID_SUBTYPE_LOCAL));
    setNode4(node4);
    //This node purposely doesn't have a foreignId style assetNumber
    builder.addNode("alternate-node1").setType(OnmsNode.NodeType.ACTIVE).getAssetRecord().setAssetNumber("5");
    builder.addInterface("10.1.1.1").setIsManaged("M").setIsSnmpPrimary("P");
    builder.addService(icmp);
    builder.addService(snmp);
    builder.addInterface("10.1.1.2").setIsManaged("M").setIsSnmpPrimary("S");
    builder.addService(icmp);
    builder.addService(http);
    builder.addInterface("10.1.1.3").setIsManaged("M").setIsSnmpPrimary("N");
    builder.addService(icmp);
    OnmsNode node5 = builder.getCurrentNode();
    node5.setLldpElement(new LldpElement(node5, "node5ChassisId", "node5SysName", LldpChassisIdSubType.LLDP_CHASSISID_SUBTYPE_LOCAL));
    setNode5(node5);
    //This node purposely doesn't have a assetNumber and is used by a test to check the category
    builder.addNode("alternate-node2").setType(OnmsNode.NodeType.ACTIVE).getAssetRecord().setDisplayCategory("category1");
    builder.addInterface("10.1.2.1").setIsManaged("M").setIsSnmpPrimary("P");
    builder.addService(icmp);
    builder.addService(snmp);
    builder.addInterface("10.1.2.2").setIsManaged("M").setIsSnmpPrimary("S");
    builder.addService(icmp);
    builder.addService(http);
    builder.addInterface("10.1.2.3").setIsManaged("M").setIsSnmpPrimary("N");
    builder.addService(icmp);
    OnmsNode node6 = builder.getCurrentNode();
    node6.setLldpElement(new LldpElement(node6, "node6ChassisId", "node6SysName", LldpChassisIdSubType.LLDP_CHASSISID_SUBTYPE_LOCAL));
    setNode6(node6);
    builder.addNode("alternate-node3").setType(OnmsNode.NodeType.ACTIVE).getAssetRecord().setDisplayCategory("category1");
    builder.addInterface("10.1.3.1").setIsManaged("M").setIsSnmpPrimary("P");
    builder.addService(icmp);
    builder.addService(snmp);
    builder.addInterface("10.1.3.2").setIsManaged("M").setIsSnmpPrimary("S");
    builder.addService(icmp);
    builder.addService(http);
    builder.addInterface("10.1.3.3").setIsManaged("M").setIsSnmpPrimary("N");
    builder.addService(icmp);
    OnmsNode node7 = builder.getCurrentNode();
    node7.setLldpElement(new LldpElement(node7, "node7ChassisId", "node7SysName", LldpChassisIdSubType.LLDP_CHASSISID_SUBTYPE_LOCAL));
    setNode7(node7);
    builder.addNode("alternate-node4").setType(OnmsNode.NodeType.ACTIVE).getAssetRecord().setDisplayCategory("category1");
    builder.addInterface("10.1.4.1").setIsManaged("M").setIsSnmpPrimary("P");
    builder.addService(icmp);
    builder.addService(snmp);
    builder.addInterface("10.1.4.2").setIsManaged("M").setIsSnmpPrimary("S");
    builder.addService(icmp);
    builder.addService(http);
    builder.addInterface("10.1.4.3").setIsManaged("M").setIsSnmpPrimary("N");
    builder.addService(icmp);
    OnmsNode node8 = builder.getCurrentNode();
    node8.setLldpElement(new LldpElement(node8, "node8ChassisId", "mode8SysName", LldpChassisIdSubType.LLDP_CHASSISID_SUBTYPE_LOCAL));
    setNode8(node8);
    List<OnmsNode> nodes = new ArrayList<OnmsNode>();
    nodes.add(node1);
    nodes.add(node2);
    nodes.add(node3);
    nodes.add(node4);
    nodes.add(node5);
    nodes.add(node6);
    nodes.add(node7);
    nodes.add(node8);
    setNodes(nodes);
    //final OnmsNode node, final int ifIndex, final int nodeParentId, final int parentIfIndex, final StatusType status,final Date lastPollTime
    /*OnmsNode node, Integer localPortNum, Integer portIfIndex, String portId,
                String portDescr, String remChassisId, String remSysname, LldpElement.LldpChassisIdSubType
        remChassisIdSubType,
                String remPortId, String remPortDescr*/
    final LldpLink dli12 = createLldpLink(getNode1(), "node1PortId", "node1PortDescr", 12, 10, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode2().getLldpElement(), "node2PortDescr", "node2PortId");
    final LldpLink dli21 = createLldpLink(getNode2(), "node2PortId", "node2PortDescr", 22, 20, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode1().getLldpElement(), "node1PortDescr", "node1PortId");
    final LldpLink dli23 = createLldpLink(getNode2(), "node2PortId", "node2PortDescr", 22, 20, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode3().getLldpElement(), "node3PortDescr", "node3PortId");
    final LldpLink dli32 = createLldpLink(getNode3(), "node3PortId", "node3PortDescr", 33, 30, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode2().getLldpElement(), "node2PortDescr", "node2PortId");
    final LldpLink dli34 = createLldpLink(getNode3(), "node3PortId", "node3PortDescr", 33, 30, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode4().getLldpElement(), "node4PortDescr", "node4PortId");
    final LldpLink dli43 = createLldpLink(getNode4(), "node4PortId", "node4PortDescr", 44, 40, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode3().getLldpElement(), "node3PortDescr", "node3PortId");
    final LldpLink dli45 = createLldpLink(getNode4(), "node4PortId", "node4PortDescr", 44, 40, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode5().getLldpElement(), "node5PortDescr", "node5PortId");
    final LldpLink dli54 = createLldpLink(getNode5(), "node5PortId", "node5PortDescr", 55, 50, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode4().getLldpElement(), "node4PortDescr", "node4PortId");
    final LldpLink dli56 = createLldpLink(getNode5(), "node5PortId", "node5PortDescr", 55, 50, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode6().getLldpElement(), "node6PortDescr", "node6PortId");
    final LldpLink dli65 = createLldpLink(getNode6(), "node6PortId", "node6PortDescr", 66, 60, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode5().getLldpElement(), "node5PortDescr", "node5PortId");
    final LldpLink dli67 = createLldpLink(getNode6(), "node6PortId", "node6PortDescr", 66, 60, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode7().getLldpElement(), "node7PortDescr", "node7PortId");
    final LldpLink dli76 = createLldpLink(getNode7(), "node7PortId", "node7PortDescr", 77, 70, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode6().getLldpElement(), "node6PortDescr", "node6PortId");
    final LldpLink dli78 = createLldpLink(getNode7(), "node7PortId", "node7PortDescr", 77, 70, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode8().getLldpElement(), "node8PortDescr", "node8PortId");
    final LldpLink dli87 = createLldpLink(getNode8(), "node8PortId", "node8PortDescr", 88, 80, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode7().getLldpElement(), "node7PortDescr", "node7PortId");
    final LldpLink dli81 = createLldpLink(getNode8(), "node8PortId", "node8PortDescr", 88, 80, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode1().getLldpElement(), "node1PortDescr", "node1PortId");
    final LldpLink dli18 = createLldpLink(getNode1(), "node1PortId", "node1PortDescr", 12, 10, LldpPortIdSubType.LLDP_PORTID_SUBTYPE_LOCAL, getNode8().getLldpElement(), "node8PortDescr", "node8PortId");
    dli12.setId(10012);
    dli21.setId(10021);
    dli23.setId(10023);
    dli32.setId(10032);
    dli34.setId(10034);
    dli43.setId(10043);
    dli45.setId(10045);
    dli54.setId(10054);
    dli56.setId(10056);
    dli65.setId(10065);
    dli67.setId(10067);
    dli76.setId(10076);
    dli78.setId(10078);
    dli87.setId(10087);
    dli81.setId(10081);
    dli18.setId(10018);
    List<LldpLink> links = new ArrayList<LldpLink>();
    links.add(dli12);
    links.add(dli21);
    links.add(dli23);
    links.add(dli32);
    links.add(dli34);
    links.add(dli43);
    links.add(dli45);
    links.add(dli54);
    links.add(dli56);
    links.add(dli65);
    links.add(dli67);
    links.add(dli76);
    links.add(dli78);
    links.add(dli87);
    links.add(dli81);
    links.add(dli18);
    setLinks(links);
    //OSPF links
    OspfLink ospfLink12 = createOspfLink(getNode1(), "192.168.100.246", "255.255.255.252", 0, 10101, "192.168.100.249", "192.168.100.245", 0);
    OspfLink ospfLink21 = createOspfLink(getNode2(), "192.168.100.245", "255.255.255.252", 0, 10101, "192.168.100.250", "192.168.100.246", 0);
    ospfLink12.setId(10112);
    ospfLink21.setId(10121);
    List<OspfLink> ospfLinks = new ArrayList<OspfLink>();
    ospfLinks.add(ospfLink12);
    ospfLinks.add(ospfLink21);
    setOspfLinks(ospfLinks);
}
Also used : NetworkBuilder(org.opennms.netmgt.model.NetworkBuilder) OnmsNode(org.opennms.netmgt.model.OnmsNode) ArrayList(java.util.ArrayList) LldpElement(org.opennms.netmgt.model.LldpElement) LldpLink(org.opennms.netmgt.model.LldpLink) OspfLink(org.opennms.netmgt.model.OspfLink)

Example 8 with OspfLink

use of org.opennms.netmgt.model.OspfLink in project opennms by OpenNMS.

the class EnhancedLinkdTopologyProviderTest method testDataCorrectness.

@Test
public void testDataCorrectness() {
    LldpLinkDao lldpLinkDao = m_databasePopulator.getLldpLinkDao();
    List<LldpLink> links = lldpLinkDao.findAll();
    assertEquals(16, links.size());
    OspfLinkDao ospfLinkDao = m_databasePopulator.getOspfLinkDao();
    List<OspfLink> ospfLinks = ospfLinkDao.findAll();
    assertEquals(2, ospfLinks.size());
}
Also used : OspfLinkDao(org.opennms.netmgt.dao.api.OspfLinkDao) LldpLinkDao(org.opennms.netmgt.dao.api.LldpLinkDao) LldpLink(org.opennms.netmgt.model.LldpLink) OspfLink(org.opennms.netmgt.model.OspfLink) Test(org.junit.Test)

Example 9 with OspfLink

use of org.opennms.netmgt.model.OspfLink in project opennms by OpenNMS.

the class NodeDiscoveryOspf method runCollection.

protected void runCollection() {
    final Date now = new Date();
    SnmpAgentConfig peer = m_linkd.getSnmpAgentConfig(getPrimaryIpAddress(), getLocation());
    final OspfIpAddrTableGetter ipAddrTableGetter = new OspfIpAddrTableGetter(peer, m_linkd.getLocationAwareSnmpClient(), getLocation());
    final OspfGeneralGroupTracker ospfGeneralGroup = new OspfGeneralGroupTracker();
    try {
        m_linkd.getLocationAwareSnmpClient().walk(peer, ospfGeneralGroup).withDescription("ospfGeneralGroup").withLocation(getLocation()).execute().get();
    } catch (ExecutionException e) {
        LOG.info("run: Agent error while scanning the ospfGeneralGroup table", e);
        return;
    } catch (final InterruptedException e) {
        LOG.error("run: Ospf Linkd node collection interrupted, exiting", e);
        return;
    }
    if (ospfGeneralGroup.getOspfRouterId() == null) {
        LOG.info("run: node[{}]: address {}. ospf mib not supported", getNodeId(), getPrimaryIpAddressString());
        return;
    }
    if (ospfGeneralGroup.getOspfRouterId().equals(InetAddressUtils.addr("0.0.0.0"))) {
        LOG.info("run: node[{}]: address {}. ospf identifier 0.0.0.0 is not valid", getNodeId(), getPrimaryIpAddressString());
        return;
    }
    if (Status.get(ospfGeneralGroup.getOspfAdminStat()) == Status.disabled) {
        LOG.info("run: node[{}]: address {}. ospf status: disabled", getNodeId(), getPrimaryIpAddressString());
        return;
    }
    m_linkd.getQueryManager().store(getNodeId(), ipAddrTableGetter.get(ospfGeneralGroup.getOspfElement()));
    final List<OspfLink> links = new ArrayList<OspfLink>();
    OspfNbrTableTracker ospfNbrTableTracker = new OspfNbrTableTracker() {

        public void processOspfNbrRow(final OspfNbrRow row) {
            links.add(row.getOspfLink());
        }
    };
    try {
        m_linkd.getLocationAwareSnmpClient().walk(peer, ospfNbrTableTracker).withDescription("ospfNbrTable").withLocation(getLocation()).execute().get();
    } catch (ExecutionException e) {
        LOG.error("run: collection execution failed, exiting", e);
        return;
    } catch (final InterruptedException e) {
        LOG.error("run: collection interrupted, exiting", e);
        return;
    }
    List<OspfLink> localOspfPorts = new ArrayList<OspfLink>();
    OspfIfTableTracker ospfIfTableTracker = new OspfIfTableTracker() {

        public void processOspfIfRow(final OspfIfRow row) {
            localOspfPorts.add(row.getOspfLink());
        }
    };
    try {
        m_linkd.getLocationAwareSnmpClient().walk(peer, ospfIfTableTracker).withDescription("ospfIfTable").withLocation(getLocation()).execute().get();
    } catch (ExecutionException e) {
        LOG.error("run: collection execution failed, exiting", e);
        return;
    } catch (final InterruptedException e) {
        LOG.error("run: collection interrupted, exiting", e);
        return;
    }
    for (OspfLink link : links) {
        for (OspfLink localospfport : localOspfPorts) {
            localospfport = ipAddrTableGetter.get(localospfport);
            if (InetAddressUtils.inSameNetwork(localospfport.getOspfIpAddr(), link.getOspfRemIpAddr(), localospfport.getOspfIpMask())) {
                link.setOspfIpAddr(localospfport.getOspfIpAddr());
                link.setOspfAddressLessIndex(localospfport.getOspfAddressLessIndex());
                link.setOspfIpMask(localospfport.getOspfIpMask());
                link.setOspfIfIndex(localospfport.getOspfIfIndex());
            }
        }
        m_linkd.getQueryManager().store(getNodeId(), link);
    }
    m_linkd.getQueryManager().reconcileOspf(getNodeId(), now);
}
Also used : SnmpAgentConfig(org.opennms.netmgt.snmp.SnmpAgentConfig) OspfIfTableTracker(org.opennms.netmgt.enlinkd.snmp.OspfIfTableTracker) ArrayList(java.util.ArrayList) OspfNbrTableTracker(org.opennms.netmgt.enlinkd.snmp.OspfNbrTableTracker) Date(java.util.Date) OspfIpAddrTableGetter(org.opennms.netmgt.enlinkd.snmp.OspfIpAddrTableGetter) OspfGeneralGroupTracker(org.opennms.netmgt.enlinkd.snmp.OspfGeneralGroupTracker) ExecutionException(java.util.concurrent.ExecutionException) OspfLink(org.opennms.netmgt.model.OspfLink)

Example 10 with OspfLink

use of org.opennms.netmgt.model.OspfLink in project opennms by OpenNMS.

the class EnLinkdSnmpIT method testOspfNbrTableWalk.

@Test
@JUnitSnmpAgents(value = { @JUnitSnmpAgent(host = SWITCH1_IP, port = 161, resource = "classpath:/linkd/nms17216/switch1-walk.txt") })
public void testOspfNbrTableWalk() throws Exception {
    SnmpAgentConfig config = SnmpPeerFactory.getInstance().getAgentConfig(InetAddress.getByName(SWITCH1_IP));
    String trackerName = "ospfNbrTable";
    OspfNbrTableTracker ospfNbrTableTracker = new OspfNbrTableTracker() {

        public void processOspfNbrRow(final OspfNbrRow row) {
            OspfLink link = row.getOspfLink();
            try {
                assertEquals(InetAddress.getByName("192.168.100.249"), link.getOspfRemRouterId());
                assertEquals(InetAddress.getByName("192.168.100.245"), link.getOspfRemIpAddr());
            } catch (UnknownHostException e) {
                e.printStackTrace();
            }
            assertEquals(0, link.getOspfRemAddressLessIndex().intValue());
        }
    };
    try {
        m_client.walk(config, ospfNbrTableTracker).withDescription(trackerName).withLocation(null).execute().get();
    } catch (final InterruptedException e) {
        LOG.error("run: collection interrupted, exiting", e);
        return;
    }
}
Also used : SnmpAgentConfig(org.opennms.netmgt.snmp.SnmpAgentConfig) UnknownHostException(java.net.UnknownHostException) OspfNbrTableTracker(org.opennms.netmgt.enlinkd.snmp.OspfNbrTableTracker) OspfLink(org.opennms.netmgt.model.OspfLink) Test(org.junit.Test) JUnitSnmpAgents(org.opennms.core.test.snmp.annotations.JUnitSnmpAgents)

Aggregations

OspfLink (org.opennms.netmgt.model.OspfLink)10 Test (org.junit.Test)4 ArrayList (java.util.ArrayList)3 JUnitSnmpAgents (org.opennms.core.test.snmp.annotations.JUnitSnmpAgents)3 LldpLink (org.opennms.netmgt.model.LldpLink)3 OnmsNode (org.opennms.netmgt.model.OnmsNode)3 SnmpAgentConfig (org.opennms.netmgt.snmp.SnmpAgentConfig)3 AbstractVertex (org.opennms.features.topology.api.topo.AbstractVertex)2 Vertex (org.opennms.features.topology.api.topo.Vertex)2 OspfIfTableTracker (org.opennms.netmgt.enlinkd.snmp.OspfIfTableTracker)2 OspfIpAddrTableGetter (org.opennms.netmgt.enlinkd.snmp.OspfIpAddrTableGetter)2 OspfNbrTableTracker (org.opennms.netmgt.enlinkd.snmp.OspfNbrTableTracker)2 UnknownHostException (java.net.UnknownHostException)1 Date (java.util.Date)1 HashSet (java.util.HashSet)1 ExecutionException (java.util.concurrent.ExecutionException)1 Before (org.junit.Before)1 EdgeProvider (org.opennms.features.topology.api.topo.EdgeProvider)1 AlarmDao (org.opennms.netmgt.dao.api.AlarmDao)1 LldpLinkDao (org.opennms.netmgt.dao.api.LldpLinkDao)1