Class HwvtepConnectionInstance
- java.lang.Object
-
- org.opendaylight.ovsdb.hwvtepsouthbound.HwvtepConnectionInstance
-
public class HwvtepConnectionInstance extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelMonitor(MonitorHandle handler)
void
closeDeviceOwnershipCandidateRegistration()
void
createTransactInvokers()
<T extends TypedBaseTable<?>>
TcreateTypedRowWrapper(Class<T> klazz)
<T extends TypedBaseTable<?>>
TcreateTypedRowWrapper(DatabaseSchema dbSchema, Class<T> klazz)
void
disconnect()
MonitorCallBack
getCallback()
org.opendaylight.mdsal.eos.binding.api.Entity
getConnectedEntity()
OvsdbConnectionInfo
getConnectionInfo()
TransactionHistory
getControllerTxHistory()
com.google.common.util.concurrent.ListenableFuture<List<String>>
getDatabases()
DatabaseSchema
getDatabaseSchema(String dbName)
org.opendaylight.mdsal.binding.api.DataBroker
getDataBroker()
HwvtepDeviceInfo
getDeviceInfo()
TransactionHistory
getDeviceUpdateHistory()
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<TypedDatabaseSchema>
getSchema(String database)
TransactionInvoker
getTxInvoker()
<T extends TypedBaseTable<?>>
TgetTypedRowWrapper(Class<T> klazz, Row<GenericTableSchema> row)
Boolean
hasOvsdbClient(OvsdbClient otherClient)
boolean
isActive()
void
lock(String lockId, LockAquisitionCallback lockedCallBack, LockStolenCallback stolenCallback)
<E extends TableSchema<E>>
TableUpdatesmonitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorCallBack monitorCallBack)
<E extends TableSchema<E>>
TableUpdatesmonitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorHandle monitorHandle, MonitorCallBack monitorCallBack)
void
refreshOperNode()
void
registerCallbacks()
void
setCallback(MonitorCallBack callback)
void
setConnectedEntity(org.opendaylight.mdsal.eos.binding.api.Entity entity)
void
setControllerTxHistory(TransactionHistory controllerTxLog)
void
setDeviceOwnershipCandidateRegistration(@NonNull org.opendaylight.mdsal.eos.binding.api.EntityOwnershipCandidateRegistration registration)
void
setDeviceUpdateHistory(TransactionHistory deviceUpdateLog)
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)
void
transact(TransactCommand command)
void
transact(TransactCommand command, boolean reconcile)
com.google.common.util.concurrent.ListenableFuture<List<OperationResult>>
transact(DatabaseSchema dbSchema, List<Operation> operations)
TransactionBuilder
transactBuilder(DatabaseSchema dbSchema)
com.google.common.util.concurrent.ListenableFuture<Boolean>
unLock(String lockId)
-
-
-
Method Detail
-
transact
public void transact(TransactCommand command)
-
transact
public void transact(TransactCommand command, boolean reconcile)
-
transact
public com.google.common.util.concurrent.ListenableFuture<List<OperationResult>> transact(DatabaseSchema dbSchema, List<Operation> operations)
-
registerCallbacks
public void registerCallbacks()
-
createTransactInvokers
public void createTransactInvokers()
-
getDataBroker
public org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
-
getSchema
public com.google.common.util.concurrent.ListenableFuture<TypedDatabaseSchema> getSchema(String database)
-
transactBuilder
public TransactionBuilder transactBuilder(DatabaseSchema dbSchema)
-
monitor
public <E extends TableSchema<E>> TableUpdates monitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorCallBack monitorCallBack)
-
monitor
public <E extends TableSchema<E>> TableUpdates monitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorHandle monitorHandle, MonitorCallBack monitorCallBack)
-
cancelMonitor
public void cancelMonitor(MonitorHandle handler)
-
lock
public void lock(String lockId, LockAquisitionCallback lockedCallBack, LockStolenCallback stolenCallback)
-
getConnectionInfo
public OvsdbConnectionInfo getConnectionInfo()
-
isActive
public boolean isActive()
-
disconnect
public void disconnect()
-
getDatabaseSchema
public DatabaseSchema getDatabaseSchema(String dbName)
-
createTypedRowWrapper
public <T extends TypedBaseTable<?>> T createTypedRowWrapper(Class<T> klazz)
-
createTypedRowWrapper
public <T extends TypedBaseTable<?>> T createTypedRowWrapper(DatabaseSchema dbSchema, Class<T> klazz)
-
getTypedRowWrapper
public <T extends TypedBaseTable<?>> T getTypedRowWrapper(Class<T> klazz, Row<GenericTableSchema> row)
-
getMDConnectionInfo
public ConnectionInfo getMDConnectionInfo()
-
setMDConnectionInfo
public void setMDConnectionInfo(ConnectionInfo key)
-
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()
-
getNodeKey
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey getNodeKey()
-
getNodeId
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId getNodeId()
-
setInstanceIdentifier
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)
-
getConnectedEntity
public org.opendaylight.mdsal.eos.binding.api.Entity getConnectedEntity()
-
setConnectedEntity
public void setConnectedEntity(org.opendaylight.mdsal.eos.binding.api.Entity entity)
-
hasOvsdbClient
public Boolean hasOvsdbClient(OvsdbClient otherClient)
-
getHasDeviceOwnership
public Boolean getHasDeviceOwnership()
-
setHasDeviceOwnership
public void setHasDeviceOwnership(Boolean hasDeviceOwnership)
-
setDeviceOwnershipCandidateRegistration
public void setDeviceOwnershipCandidateRegistration(@NonNull org.opendaylight.mdsal.eos.binding.api.EntityOwnershipCandidateRegistration registration)
-
closeDeviceOwnershipCandidateRegistration
public void closeDeviceOwnershipCandidateRegistration()
-
setHwvtepGlobalAugmentation
public void setHwvtepGlobalAugmentation(HwvtepGlobalAugmentation hwvtepGlobalData)
-
getHwvtepGlobalAugmentation
public HwvtepGlobalAugmentation getHwvtepGlobalAugmentation()
-
getDeviceInfo
public HwvtepDeviceInfo getDeviceInfo()
-
getOvsdbClient
public OvsdbClient getOvsdbClient()
-
getHwvtepTableReader
public HwvtepTableReader getHwvtepTableReader()
-
refreshOperNode
public void refreshOperNode() throws ExecutionException, InterruptedException
-
getCallback
public MonitorCallBack getCallback()
-
setCallback
public void setCallback(MonitorCallBack callback)
-
getControllerTxHistory
public TransactionHistory getControllerTxHistory()
-
setControllerTxHistory
public void setControllerTxHistory(TransactionHistory controllerTxLog)
-
getDeviceUpdateHistory
public TransactionHistory getDeviceUpdateHistory()
-
setDeviceUpdateHistory
public void setDeviceUpdateHistory(TransactionHistory deviceUpdateLog)
-
getTxInvoker
public TransactionInvoker getTxInvoker()
-
-