Class OvsdbConnectionManager

java.lang.Object
org.opendaylight.ovsdb.southbound.OvsdbConnectionManager
All Implemented Interfaces:
AutoCloseable, OvsdbConnectionListener

public class OvsdbConnectionManager extends Object implements OvsdbConnectionListener, AutoCloseable
  • Constructor Details

  • Method Details

    • connected

      public void connected(OvsdbClient externalClient)
      Description copied from interface: OvsdbConnectionListener
      Event thrown to the connection listener when a new Passive connection is established.
      Specified by:
      connected in interface OvsdbConnectionListener
      Parameters:
      externalClient - OvsdbClient that represents the connection.
    • connectedButCallBacksNotRegistered

      public OvsdbConnectionInstance connectedButCallBacksNotRegistered(OvsdbClient externalClient)
    • disconnected

      public void disconnected(OvsdbClient client)
      Description copied from interface: OvsdbConnectionListener
      Event thrown to the connection listener when an existing connection is terminated.
      Specified by:
      disconnected in interface OvsdbConnectionListener
      Parameters:
      client - OvsdbClient that represents the connection.
    • connect

      public OvsdbClient connect(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid, OvsdbNodeAugmentation ovsdbNode) throws UnknownHostException, ConnectException
      Throws:
      UnknownHostException
      ConnectException
    • disconnect

      public void disconnect(OvsdbNodeAugmentation ovsdbNode) throws UnknownHostException
      Throws:
      UnknownHostException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getInstanceIdentifier

      public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getInstanceIdentifier(ConnectionInfo key)
    • getConnectionInstance

      public OvsdbConnectionInstance getConnectionInstance(ConnectionInfo key)
    • getConnectionInstance

      public OvsdbConnectionInstance getConnectionInstance(OvsdbBridgeAttributes mn)
    • getConnectionInstance

      public OvsdbConnectionInstance getConnectionInstance(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)
    • getConnectionInstance

      public OvsdbConnectionInstance getConnectionInstance(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodePath)
    • getClient

      public OvsdbClient getClient(ConnectionInfo connectionInfo)
    • getClient

      public OvsdbClient getClient(OvsdbBridgeAttributes mn)
    • getClient

      public OvsdbClient getClient(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)
    • getHasDeviceOwnership

      public Boolean getHasDeviceOwnership(ConnectionInfo connectionInfo)
    • reconcileConnection

      public void reconcileConnection(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid, OvsdbNodeAugmentation ovsdbNode)
    • stopConnectionReconciliationIfActive

      public void stopConnectionReconciliationIfActive(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid, OvsdbNodeAugmentation ovsdbNode)
    • stopBridgeConfigReconciliationIfActive

      public void stopBridgeConfigReconciliationIfActive(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid)