public interface OvsdbRpc
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<List<String>> |
echo()
The "echo" method can be used by both clients and servers to verify the
liveness of a database connection.
|
com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> |
getSchema(List<String> dbnames)
This operation retrieves a database-schema that describes hosted database
db-name.
|
com.google.common.util.concurrent.ListenableFuture<List<String>> |
listDbs()
This operation retrieves an array whose elements are the names of the
databases that can be accessed over this management protocol connection.
|
com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> |
monitor(DatabaseSchema dbSchema,
String monitorId)
The "monitor" request enables a client to replicate tables or subsets of
tables within an OVSDB database by requesting notifications of changes to
those tables and by receiving the complete initial state of a table or a
subset of a table.
|
com.google.common.util.concurrent.ListenableFuture<List<com.fasterxml.jackson.databind.JsonNode>> |
transact(DatabaseSchema dbSchema,
List<Operation> operations)
This RPC method causes the database server to execute a series of
operations in the specified order on a given database.
|
com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> getSchema(List<String> dbnames)
dbnames - database namecom.google.common.util.concurrent.ListenableFuture<List<String>> echo()
com.google.common.util.concurrent.ListenableFuture<com.fasterxml.jackson.databind.JsonNode> monitor(DatabaseSchema dbSchema, String monitorId)
dbSchema - databse schemamonitorId - a id for monitorcom.google.common.util.concurrent.ListenableFuture<List<String>> listDbs()
com.google.common.util.concurrent.ListenableFuture<List<com.fasterxml.jackson.databind.JsonNode>> transact(DatabaseSchema dbSchema, List<Operation> operations)
dbSchema - database schemaoperations - the operations to execute