public class OvsdbConnectionInstance extends Object
Modifier and Type | Method and Description |
---|---|
void |
cancelMonitor(MonitorHandle handler) |
void |
closeDeviceOwnershipCandidateRegistration() |
void |
createTransactInvokers() |
<T extends TypedBaseTable<?>> |
createTypedRowWrapper(Class<T> klazz) |
<T extends TypedBaseTable<?>> |
createTypedRowWrapper(DatabaseSchema dbSchema,
Class<T> klazz) |
void |
disconnect() |
org.opendaylight.controller.md.sal.common.api.clustering.Entity |
getConnectedEntity() |
OvsdbConnectionInfo |
getConnectionInfo() |
com.google.common.util.concurrent.ListenableFuture<List<String>> |
getDatabases() |
DatabaseSchema |
getDatabaseSchema(String dbName) |
Boolean |
getHasDeviceOwnership() |
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 |
getMDConnectionInfo() |
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId |
getNodeId() |
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey |
getNodeKey() |
OvsdbClient |
getOvsdbClient() |
OvsdbNodeAugmentation |
getOvsdbNodeAugmentation() |
com.google.common.util.concurrent.ListenableFuture<DatabaseSchema> |
getSchema(String database) |
<T extends TypedBaseTable<?>> |
getTypedRowWrapper(Class<T> klazz,
Row<GenericTableSchema> row) |
Boolean |
hasOvsdbClient(OvsdbClient otherClient) |
boolean |
isActive() |
void |
lock(String lockId,
LockAquisitionCallback lockedCallBack,
LockStolenCallback stolenCallback) |
<E extends TableSchema<E>> |
monitor(DatabaseSchema schema,
List<MonitorRequest> monitorRequests,
MonitorCallBack callbackArgument) |
<E extends TableSchema<E>> |
monitor(DatabaseSchema schema,
List<MonitorRequest> monitorRequests,
MonitorHandle monitorHandle,
MonitorCallBack callbackArgument) |
void |
registerCallbacks(InstanceIdentifierCodec instanceIdentifierCodec) |
void |
setConnectedEntity(org.opendaylight.controller.md.sal.common.api.clustering.Entity entity) |
void |
setDeviceOwnershipCandidateRegistration(org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipCandidateRegistration registration) |
void |
setHasDeviceOwnership(Boolean hasDeviceOwnership) |
void |
setInstanceIdentifier(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) |
void |
setMDConnectionInfo(ConnectionInfo key) |
void |
setOvsdbNodeAugmentation(OvsdbNodeAugmentation ovsdbNodeCreateData) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
steal(String lockId) |
com.google.common.util.concurrent.ListenableFuture<List<OperationResult>> |
transact(DatabaseSchema dbSchema,
List<Operation> operations) |
void |
transact(TransactCommand command,
BridgeOperationalState state,
org.opendaylight.controller.md.sal.common.api.data.AsyncDataChangeEvent<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> events,
InstanceIdentifierCodec instanceIdentifierCodec)
Apply the given command to the given events, based on the given bridge state.
|
void |
transact(TransactCommand command,
BridgeOperationalState state,
Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> modifications,
InstanceIdentifierCodec instanceIdentifierCodec)
Apply the given command to the given modifications, based on the given bridge state.
|
TransactionBuilder |
transactBuilder(DatabaseSchema dbSchema) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
unLock(String lockId) |
public void transact(TransactCommand command, BridgeOperationalState state, org.opendaylight.controller.md.sal.common.api.data.AsyncDataChangeEvent<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> events, InstanceIdentifierCodec instanceIdentifierCodec)
command
- The command to run.state
- The current bridge state.events
- The events to process.instanceIdentifierCodec
- The instance identifier codec to use.public void transact(TransactCommand command, BridgeOperationalState state, Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>> modifications, InstanceIdentifierCodec instanceIdentifierCodec)
command
- The command to run.state
- The current bridge state.modifications
- The modifications to process.instanceIdentifierCodec
- The instance identifier codec to use.public com.google.common.util.concurrent.ListenableFuture<List<OperationResult>> transact(DatabaseSchema dbSchema, List<Operation> operations)
public void registerCallbacks(InstanceIdentifierCodec instanceIdentifierCodec)
public void createTransactInvokers()
public com.google.common.util.concurrent.ListenableFuture<DatabaseSchema> getSchema(String database)
public TransactionBuilder transactBuilder(DatabaseSchema dbSchema)
public <E extends TableSchema<E>> TableUpdates monitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorHandle monitorHandle, MonitorCallBack callbackArgument)
public <E extends TableSchema<E>> TableUpdates monitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorCallBack callbackArgument)
public void cancelMonitor(MonitorHandle handler)
public void lock(String lockId, LockAquisitionCallback lockedCallBack, LockStolenCallback stolenCallback)
public boolean isActive()
public void disconnect()
public DatabaseSchema getDatabaseSchema(String dbName)
public <T extends TypedBaseTable<?>> T createTypedRowWrapper(Class<T> klazz)
public <T extends TypedBaseTable<?>> T createTypedRowWrapper(DatabaseSchema dbSchema, Class<T> klazz)
public <T extends TypedBaseTable<?>> T getTypedRowWrapper(Class<T> klazz, Row<GenericTableSchema> row)
public OvsdbConnectionInfo getConnectionInfo()
public ConnectionInfo getMDConnectionInfo()
public void setMDConnectionInfo(ConnectionInfo key)
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()
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey getNodeKey()
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId getNodeId()
public void setInstanceIdentifier(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)
public org.opendaylight.controller.md.sal.common.api.clustering.Entity getConnectedEntity()
public void setConnectedEntity(org.opendaylight.controller.md.sal.common.api.clustering.Entity entity)
public Boolean hasOvsdbClient(OvsdbClient otherClient)
public Boolean getHasDeviceOwnership()
public void setHasDeviceOwnership(Boolean hasDeviceOwnership)
public void setDeviceOwnershipCandidateRegistration(@Nonnull org.opendaylight.controller.md.sal.common.api.clustering.EntityOwnershipCandidateRegistration registration)
public void closeDeviceOwnershipCandidateRegistration()
public OvsdbNodeAugmentation getOvsdbNodeAugmentation()
public void setOvsdbNodeAugmentation(OvsdbNodeAugmentation ovsdbNodeCreateData)
public OvsdbClient getOvsdbClient()
Copyright © 2018 OpenDaylight. All rights reserved.