1 package org.opendaylight.ovsdb.openstack.netvirt.impl;
4 import java.util.concurrent.ConcurrentMap;
5 import java.util.concurrent.ExecutionException;
6 import org.opendaylight.ovsdb.lib.notation.Row;
7 import org.opendaylight.ovsdb.lib.notation.UUID;
8 import org.opendaylight.ovsdb.lib.schema.GenericTableSchema;
9 import org.opendaylight.ovsdb.lib.schema.typed.TypedBaseTable;
10 import org.opendaylight.ovsdb.openstack.netvirt.api.OvsdbConfigurationService;
11 import org.opendaylight.ovsdb.openstack.netvirt.api.OvsdbPluginException;
12 import org.opendaylight.ovsdb.openstack.netvirt.api.Status;
13 import org.opendaylight.ovsdb.openstack.netvirt.api.StatusWithUuid;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation;
15 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
17 public class OvsdbConfigurationServiceImpl implements OvsdbConfigurationService {
19 public StatusWithUuid insertRow(Node node, String tableName, String parentUuid, Row<GenericTableSchema> row) {
24 public Status updateRow(Node node, String tableName, String parentUuid, String rowUuid, Row row) {
29 public Status deleteRow(Node node, String tableName, String rowUuid) {
34 public Row getRow(Node node, String tableName, String uuid) {
39 public Row<GenericTableSchema> getRow(Node node, String databaseName, String tableName, UUID uuid) throws OvsdbPluginException {
44 public ConcurrentMap<String, Row> getRows(Node node, String tableName) {
49 public ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName) throws OvsdbPluginException {
54 public ConcurrentMap<UUID, Row<GenericTableSchema>> getRows(Node node, String databaseName, String tableName, String fiqlQuery) throws OvsdbPluginException {
59 public List<String> getTables(Node node) {
64 public Boolean setOFController(Node node, String bridgeUUID) throws InterruptedException, ExecutionException {
69 public <T extends TypedBaseTable<?>> String getTableName(Node node, Class<T> typedClass) {
74 public <T extends TypedBaseTable<?>> T getTypedRow(Node node, Class<T> typedClass, Row row) {
79 public <T extends TypedBaseTable<?>> T createTypedRow(Node node, Class<T> typedClass) {
84 public ConcurrentMap<String, OvsdbTerminationPointAugmentation> getInterfaces(Node node) {