Class NodeInfo
java.lang.Object
org.opendaylight.ovsdb.utils.ovsdb.it.utils.NodeInfo
Utility class for connections to an OVSDB node. Contains various info for the node
as public data members.
-
Field Summary
Modifier and TypeFieldDescriptionorg.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
long
static final String
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
-
Method Summary
Modifier and TypeMethodDescriptionvoid
connect()
Connect to the OVSDB node, wait for the connection to be established and for the integration bridge to be successfully created.void
Remove integration bridge and teardown connection.
-
Field Details
-
INTEGRATION_BRIDGE_NAME
- See Also:
-
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 Details
-
connect
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
Remove integration bridge and teardown connection. Contains assertions for unexpected states.- Throws:
InterruptedException
- if interrupted while waiting for disconnect to completeException
-