Class NodeInfo
- java.lang.Object
-
- org.opendaylight.ovsdb.utils.ovsdb.it.utils.NodeInfo
-
public class NodeInfo extends Object
Utility class for connections to an OVSDB node. Contains various info for the node as public data members.
-
-
Field Summary
Fields Modifier and Type Field Description org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodebridgeNodelongdatapathIdstatic StringINTEGRATION_BRIDGE_NAMEorg.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeovsdbNode
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect()Connect to the OVSDB node, wait for the connection to be established and for the integration bridge to be successfully created.voiddisconnect()Remove integration bridge and teardown connection.
-
-
-
Field Detail
-
INTEGRATION_BRIDGE_NAME
public static final String INTEGRATION_BRIDGE_NAME
- See Also:
- Constant Field Values
-
datapathId
public long datapathId
-
ovsdbNode
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode
-
bridgeNode
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode
-
-
Method Detail
-
connect
public void connect() throws ExceptionConnect to the OVSDB node, wait for the connection to be established and for the integration bridge to be successfully created. Contains assertions for unexpected states- Throws:
InterruptedException- if interrupted while waiting for connectionException
-
disconnect
public void disconnect() throws ExceptionRemove integration bridge and teardown connection. Contains assertions for unexpected states.- Throws:
InterruptedException- if interrupted while waiting for disconnect to completeException
-
-