public class OvsdbConnectionManager extends Object implements OvsdbConnectionListener, AutoCloseable
Constructor and Description |
---|
OvsdbConnectionManager(org.opendaylight.controller.md.sal.binding.api.DataBroker db,
TransactionInvoker txInvoker,
org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService,
OvsdbConnection ovsdbConnection,
InstanceIdentifierCodec instanceIdentifierCodec) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
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) |
void |
connected(OvsdbClient externalClient)
Event thrown to the connection listener when a new Passive connection is established.
|
OvsdbConnectionInstance |
connectedButCallBacksNotRegistered(OvsdbClient externalClient) |
void |
disconnect(OvsdbNodeAugmentation ovsdbNode) |
void |
disconnected(OvsdbClient client)
Event thrown to the connection listener when an existing connection is terminated.
|
OvsdbClient |
getClient(ConnectionInfo connectionInfo) |
OvsdbClient |
getClient(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) |
OvsdbClient |
getClient(OvsdbBridgeAttributes mn) |
OvsdbConnectionInstance |
getConnectionInstance(ConnectionInfo key) |
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) |
OvsdbConnectionInstance |
getConnectionInstance(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) |
OvsdbConnectionInstance |
getConnectionInstance(OvsdbBridgeAttributes mn) |
Boolean |
getHasDeviceOwnership(ConnectionInfo connectionInfo) |
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) |
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) |
void |
stopBridgeConfigReconciliationIfActive(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid) |
void |
stopConnectionReconciliationIfActive(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid,
OvsdbNodeAugmentation ovsdbNode) |
public OvsdbConnectionManager(org.opendaylight.controller.md.sal.binding.api.DataBroker db, TransactionInvoker txInvoker, org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipService entityOwnershipService, OvsdbConnection ovsdbConnection, InstanceIdentifierCodec instanceIdentifierCodec)
public void connected(@Nonnull OvsdbClient externalClient)
OvsdbConnectionListener
connected
in interface OvsdbConnectionListener
externalClient
- OvsdbClient that represents the connection.public OvsdbConnectionInstance connectedButCallBacksNotRegistered(OvsdbClient externalClient)
public void disconnected(OvsdbClient client)
OvsdbConnectionListener
disconnected
in interface OvsdbConnectionListener
client
- OvsdbClient that represents the connection.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
UnknownHostException
ConnectException
public void disconnect(OvsdbNodeAugmentation ovsdbNode) throws UnknownHostException
UnknownHostException
public void close()
close
in interface AutoCloseable
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)
public OvsdbConnectionInstance getConnectionInstance(ConnectionInfo key)
public OvsdbConnectionInstance getConnectionInstance(OvsdbBridgeAttributes mn)
public OvsdbConnectionInstance getConnectionInstance(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)
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)
public OvsdbClient getClient(ConnectionInfo connectionInfo)
public OvsdbClient getClient(OvsdbBridgeAttributes mn)
public OvsdbClient getClient(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)
public Boolean getHasDeviceOwnership(ConnectionInfo connectionInfo)
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)
public void stopConnectionReconciliationIfActive(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid, OvsdbNodeAugmentation ovsdbNode)
public void stopBridgeConfigReconciliationIfActive(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
Copyright © 2018 OpenDaylight. All rights reserved.