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.Node
bridgeNode
long
datapathId
static String
INTEGRATION_BRIDGE_NAME
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
ovsdbNode
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
connect()
Connect to the OVSDB node, wait for the connection to be established and for the integration bridge to be successfully created.void
disconnect()
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 Exception
Connect 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 Exception
Remove integration bridge and teardown connection. Contains assertions for unexpected states.- Throws:
InterruptedException
- if interrupted while waiting for disconnect to completeException
-
-