Class HwvtepConnectionManager

java.lang.Object
org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionManager
All Implemented Interfaces:
AutoCloseable, OvsdbConnectionListener

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

    • HwvtepConnectionManager

      public HwvtepConnectionManager(org.opendaylight.mdsal.binding.api.DataBroker db, TransactionInvoker txInvoker, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, OvsdbConnection ovsdbConnectionService)
  • Method Details

    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception
    • 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.
    • 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, HwvtepGlobalAugmentation hwvtepGlobal) throws UnknownHostException, ConnectException
      Throws:
      UnknownHostException
      ConnectException
    • disconnect

      public void disconnect(HwvtepGlobalAugmentation ovsdbNode) throws UnknownHostException
      Throws:
      UnknownHostException
    • connectedButCallBacksNotRegistered

      public HwvtepConnectionInstance connectedButCallBacksNotRegistered(OvsdbClient externalClient)
    • getConnectionInstance

      public HwvtepConnectionInstance getConnectionInstance(ConnectionInfo key)
    • getConnectionInstance

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

      public HwvtepConnectionInstance getConnectionInstance(HwvtepPhysicalSwitchAttributes node)
    • getConnectionInstanceFromNodeIid

      public HwvtepConnectionInstance getConnectionInstanceFromNodeIid(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeIid)
    • stopConfigurationReconciliation

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

      public void reconcileConfigurations(HwvtepConnectionInstance client, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node psNode)
    • 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)
    • getClient

      public OvsdbClient getClient(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, HwvtepGlobalAugmentation hwvtepNode)
    • stopConnectionReconciliationIfActive

      public void stopConnectionReconciliationIfActive(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, HwvtepGlobalAugmentation hwvtepNode)
    • handleOwnershipChanged

      public void handleOwnershipChanged(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipChange ownershipChange)
    • cleanupOperationalNode

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