--- /dev/null
+/*
+ * Copyright (c) 2015 Red Hat, Inc. and others. All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.ovsdb.openstack.netvirt.api;
+
+/**
+ * Enum for OVSDB tables
+ *
+ * @author Sam Hague (shague@redhat.com)
+ */
+public enum OvsdbTables {
+ BRIDGE,
+ CONTROLLER,
+ OPENVSWITCH,
+ PORT
+}
import org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType;
import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException;
import org.opendaylight.controller.md.sal.common.api.data.TransactionCommitFailedException;
+import org.opendaylight.ovsdb.openstack.netvirt.api.OvsdbTables;
import org.opendaylight.ovsdb.southbound.SouthboundConstants;
import org.opendaylight.ovsdb.southbound.SouthboundMapper;
import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev100924.Uri;
public static String getBridgeName(Node node) {
return (node.getAugmentation(OvsdbBridgeAugmentation.class).getBridgeName().getValue());
}
+
+ public static List<Node> getBridges(Node node) {
+ return null;
+ }
+
+ public static List<OvsdbTerminationPointAugmentation> getPorts(Node node) {
+ return null;
+ }
+
+ public static Boolean deletePort(Node node, String portName) {
+ return false;
+ }
+
+ public static Boolean addPort(Node node, String bridgeName, String portName) {
+ return false;
+ }
+
+ public static Boolean addPatchPort(Node node, String bridgeName, String portName, String peerPortName) {
+ return false;
+ }
+
+ public static OvsdbTerminationPointAugmentation getPort(Node node, String portName) {
+ return null;
+ }
+
+ public static String getExternalId(Node node, OvsdbTables table, String key) {
+ return null;
+ }
+
+ public static String getOtherConfig(Node node, OvsdbTables table, String key) {
+ return null;
+ }
}