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
     
    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 Type
    Method
    Description
    void
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INTEGRATION_BRIDGE_NAME

      public static final String 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

      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 connection
      Exception
    • 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 complete
      Exception