public class HwvtepConnectionInstance 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) |
org.opendaylight.controller.md.sal.binding.api.DataBroker |
getDataBroker() |
HwvtepDeviceInfo |
getDeviceInfo() |
Boolean |
getHasDeviceOwnership() |
HwvtepGlobalAugmentation |
getHwvtepGlobalAugmentation() |
HwvtepTableReader |
getHwvtepTableReader() |
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() |
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 callback) |
<E extends TableSchema<E>> |
monitor(DatabaseSchema schema,
List<MonitorRequest> monitorRequests,
MonitorHandle monitorHandle,
MonitorCallBack callback) |
void |
registerCallbacks() |
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 |
setHwvtepGlobalAugmentation(HwvtepGlobalAugmentation hwvtepGlobalData) |
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) |
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) |
TransactionBuilder |
transactBuilder(DatabaseSchema dbSchema) |
com.google.common.util.concurrent.ListenableFuture<Boolean> |
unLock(String lockId) |
public void transact(TransactCommand command)
public void registerCallbacks()
public void createTransactInvokers()
public org.opendaylight.controller.md.sal.binding.api.DataBroker getDataBroker()
public com.google.common.util.concurrent.ListenableFuture<DatabaseSchema> getSchema(String database)
public TransactionBuilder transactBuilder(DatabaseSchema dbSchema)
public com.google.common.util.concurrent.ListenableFuture<List<OperationResult>> transact(DatabaseSchema dbSchema, List<Operation> operations)
public <E extends TableSchema<E>> TableUpdates monitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorCallBack callback)
public <E extends TableSchema<E>> TableUpdates monitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorHandle monitorHandle, MonitorCallBack callback)
public void cancelMonitor(MonitorHandle handler)
public void lock(String lockId, LockAquisitionCallback lockedCallBack, LockStolenCallback stolenCallback)
public OvsdbConnectionInfo getConnectionInfo()
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 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 void setHwvtepGlobalAugmentation(HwvtepGlobalAugmentation hwvtepGlobalData)
public HwvtepGlobalAugmentation getHwvtepGlobalAugmentation()
public HwvtepDeviceInfo getDeviceInfo()
public OvsdbClient getOvsdbClient()
public HwvtepTableReader getHwvtepTableReader()
Copyright © 2018 OpenDaylight. All rights reserved.