use of org.opennms.netmgt.model.topology.BridgeMacLinkHash in project opennms by OpenNMS.
the class EnhancedLinkdServiceImpl method store.
@Override
public void store(int nodeId, List<BridgeMacLink> bft) {
Map<BridgeMacLinkHash, BridgeMacLink> effectiveBFT = new HashMap<BridgeMacLinkHash, BridgeMacLink>();
for (BridgeMacLink link : bft) {
OnmsNode node = new OnmsNode();
node.setId(nodeId);
link.setNode(node);
effectiveBFT.put(new BridgeMacLinkHash(link), link);
}
m_nodetoBroadcastDomainMap.put(nodeId, new ArrayList<BridgeMacLink>(effectiveBFT.values()));
}
Aggregations