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 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(List<OnmsNode> nodes)
-
getProtocol
protected abstract TopologyGenerator.Protocol getProtocol()
-
adoptAndVerifySettings
protected TopologySettings adoptAndVerifySettings(TopologySettings topologySettings)
-
createCategory
protected OnmsCategory createCategory()
-
createNodes
protected List<OnmsNode> createNodes(int amountNodes, OnmsCategory category)
-
createNode
protected OnmsNode createNode(int count, OnmsMonitoringLocation location, OnmsCategory category)
-
createSnmpInterfaces
protected List<OnmsSnmpInterface> createSnmpInterfaces(List<OnmsNode> nodes)
-
createSnmpInterface
protected OnmsSnmpInterface createSnmpInterface(int ifIndex, OnmsNode node)
-
createIpInterfaces
protected List<OnmsIpInterface> createIpInterfaces(List<OnmsSnmpInterface> snmps)
-
createIpInterface
protected OnmsIpInterface createIpInterface(OnmsSnmpInterface snmp, InetAddress inetAddress)
-
createPairGenerator
protected <E> PairGenerator<E> createPairGenerator(List<E> elements)
-
-