Class OvsdbConnectionInstance
java.lang.Object
org.opendaylight.ovsdb.southbound.OvsdbConnectionInstance
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelMonitor
(MonitorHandle handler) void
void
<T extends TypedBaseTable<?>>
TcreateTypedRowWrapper
(Class<T> klazz) <T extends TypedBaseTable<?>>
TcreateTypedRowWrapper
(DatabaseSchema dbSchema, Class<T> klazz) void
org.opendaylight.mdsal.eos.binding.api.Entity
getDatabaseSchema
(String dbName) org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
getPortInterface
(String name) com.google.common.util.concurrent.ListenableFuture<TypedDatabaseSchema>
<T extends TypedBaseTable<?>>
TgetTypedRowWrapper
(Class<T> klazz, Row<GenericTableSchema> row) hasOvsdbClient
(OvsdbClient otherClient) boolean
isActive()
void
lock
(String lockId, LockAquisitionCallback lockedCallBack, LockStolenCallback stolenCallback) <E extends TableSchema<E>>
TableUpdatesmonitor
(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorCallBack callbackArgument) <E extends TableSchema<E>>
TableUpdatesmonitor
(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorHandle monitorHandle, MonitorCallBack callbackArgument) void
registerCallbacks
(InstanceIdentifierCodec instanceIdentifierCodec) void
removePort
(UUID uuid) void
removePortInterface
(String name) void
setConnectedEntity
(org.opendaylight.mdsal.eos.binding.api.Entity entity) void
setDeviceOwnershipCandidateRegistration
(@NonNull org.opendaylight.mdsal.eos.binding.api.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
void
setOvsdbNodeAugmentation
(OvsdbNodeAugmentation ovsdbNodeCreateData) com.google.common.util.concurrent.ListenableFuture<Boolean>
com.google.common.util.concurrent.ListenableFuture<List<OperationResult>>
transact
(DatabaseSchema dbSchema, List<Operation> operations) void
transact
(TransactCommand command, BridgeOperationalState state, Collection<org.opendaylight.mdsal.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.void
transact
(TransactCommand command, BridgeOperationalState state, DataChangeEvent events, InstanceIdentifierCodec instanceIdentifierCodec) Apply the given command to the given events, based on the given bridge state.transactBuilder
(DatabaseSchema dbSchema) com.google.common.util.concurrent.ListenableFuture<Boolean>
void
updatePort
(UUID uuid, 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
updatePortInterface
(String name, 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)
-
Method Details
-
updatePort
public void updatePort(UUID uuid, 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) -
removePort
-
getPort
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> getPort(UUID uuid) -
updatePortInterface
public void updatePortInterface(String name, 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) -
removePortInterface
-
getPortInterface
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> getPortInterface(String name) -
transact
public void transact(TransactCommand command, BridgeOperationalState state, DataChangeEvent events, InstanceIdentifierCodec instanceIdentifierCodec) Apply the given command to the given events, based on the given bridge state.- Parameters:
command
- The command to run.state
- The current bridge state.events
- The events to process.instanceIdentifierCodec
- The instance identifier codec to use.
-
transact
public void transact(TransactCommand command, BridgeOperationalState state, Collection<org.opendaylight.mdsal.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.- Parameters:
command
- The command to run.state
- The current bridge state.modifications
- The modifications to process.instanceIdentifierCodec
- The instance identifier codec to use.
-
transact
public com.google.common.util.concurrent.ListenableFuture<List<OperationResult>> transact(DatabaseSchema dbSchema, List<Operation> operations) -
registerCallbacks
-
createTransactInvokers
public void createTransactInvokers() -
getDatabases
-
getSchema
public com.google.common.util.concurrent.ListenableFuture<TypedDatabaseSchema> getSchema(String database) -
transactBuilder
-
monitor
public <E extends TableSchema<E>> TableUpdates monitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorHandle monitorHandle, MonitorCallBack callbackArgument) -
monitor
public <E extends TableSchema<E>> TableUpdates monitor(DatabaseSchema schema, List<MonitorRequest> monitorRequests, MonitorCallBack callbackArgument) -
cancelMonitor
-
lock
public void lock(String lockId, LockAquisitionCallback lockedCallBack, LockStolenCallback stolenCallback) -
steal
-
unLock
-
isActive
public boolean isActive() -
disconnect
public void disconnect() -
getDatabaseSchema
-
createTypedRowWrapper
-
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) -
getConnectionInfo
-
getMDConnectionInfo
-
setMDConnectionInfo
-
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
-
getHasDeviceOwnership
-
setHasDeviceOwnership
-
setDeviceOwnershipCandidateRegistration
public void setDeviceOwnershipCandidateRegistration(@NonNull org.opendaylight.mdsal.eos.binding.api.EntityOwnershipCandidateRegistration registration) -
closeDeviceOwnershipCandidateRegistration
public void closeDeviceOwnershipCandidateRegistration() -
getOvsdbNodeAugmentation
-
setOvsdbNodeAugmentation
-
getOvsdbClient
-