Class Protocol<Element>
- java.lang.Object
-
- org.opennms.enlinkd.generator.protocol.Protocol<Element>
-
- Direct Known Subclasses:
BridgeProtocol
,CdpProtocol
,IsIsProtocol
,LldpProtocol
,OspfProtocol
,UserDefinedProtocol
public abstract class Protocol<Element> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Protocol(TopologySettings topologySettings, TopologyContext context)
-
Method Summary
-
-
-
Constructor Detail
-
Protocol
public Protocol(TopologySettings topologySettings, TopologyContext context)
-
-
Method Detail
-
createAndPersistNetwork
public void createAndPersistNetwork()
-
printProtocolSpecificMessage
protected void printProtocolSpecificMessage()
-
createAndPersistProtocolSpecificEntities
protected abstract void createAndPersistProtocolSpecificEntities(java.util.List<OnmsNode> nodes)
-
getProtocol
protected abstract TopologyGenerator.Protocol getProtocol()
-
adoptAndVerifySettings
protected TopologySettings adoptAndVerifySettings(TopologySettings topologySettings)
-
createCategory
protected OnmsCategory createCategory()
-
createNodes
protected java.util.List<OnmsNode> createNodes(int amountNodes, OnmsCategory category)
-
createNode
protected OnmsNode createNode(int count, OnmsMonitoringLocation location, OnmsCategory category)
-
createSnmpInterfaces
protected java.util.List<OnmsSnmpInterface> createSnmpInterfaces(java.util.List<OnmsNode> nodes)
-
createSnmpInterface
protected OnmsSnmpInterface createSnmpInterface(int ifIndex, OnmsNode node)
-
createIpInterfaces
protected java.util.List<OnmsIpInterface> createIpInterfaces(java.util.List<OnmsSnmpInterface> snmps)
-
createIpInterface
protected OnmsIpInterface createIpInterface(OnmsSnmpInterface snmp, java.net.InetAddress inetAddress)
-
createPairGenerator
protected <E> PairGenerator<E> createPairGenerator(java.util.List<E> elements)
-
-