Class BridgeBuilder
- java.lang.Object
-
- org.opennms.enlinkd.generator.protocol.bridge.BridgeBuilder
-
public class BridgeBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description BridgeBuilder(OnmsNode node, int bridgePortCounter, BridgeBuilderContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BridgeBuilder
connectToNewBridge(OnmsNode targetNode, int targetNodePortCounter)
void
createAndPersistBridgeMacLink(boolean createsnmpinterface, OnmsNode host, Integer hostPort, OnmsNode gateway)
void
createAndPersistBridgeMacLink(OnmsNode host, Integer hostPort, OnmsNode gateway)
void
createAndPersistCloud(int macaddresses, int ipaddresses)
protected OnmsIpInterface
createIpInterface(OnmsSnmpInterface snmp, InetAddress inetAddress)
protected OnmsSnmpInterface
createSnmpInterface(int ifIndex, OnmsNode node)
void
increasePortCounter()
-
-
-
Constructor Detail
-
BridgeBuilder
public BridgeBuilder(OnmsNode node, int bridgePortCounter, BridgeBuilderContext context)
-
-
Method Detail
-
connectToNewBridge
public BridgeBuilder connectToNewBridge(OnmsNode targetNode, int targetNodePortCounter)
-
createAndPersistCloud
public void createAndPersistCloud(int macaddresses, int ipaddresses)
-
createAndPersistBridgeMacLink
public void createAndPersistBridgeMacLink(OnmsNode host, Integer hostPort, OnmsNode gateway)
-
createAndPersistBridgeMacLink
public void createAndPersistBridgeMacLink(boolean createsnmpinterface, OnmsNode host, Integer hostPort, OnmsNode gateway)
-
createIpInterface
protected OnmsIpInterface createIpInterface(OnmsSnmpInterface snmp, InetAddress inetAddress)
-
createSnmpInterface
protected OnmsSnmpInterface createSnmpInterface(int ifIndex, OnmsNode node)
-
increasePortCounter
public void increasePortCounter()
-
-