Squashed commit of the following:
[netvirt.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / OvsdbInventoryService.java
diff --git a/openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/OvsdbInventoryService.java b/openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/OvsdbInventoryService.java
new file mode 100644 (file)
index 0000000..31925d1
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * 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;
+
+import java.net.InetAddress;
+import org.opendaylight.controller.md.sal.binding.api.DataBroker;
+import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
+//import org.opendaylight.controller.sal.binding.api.NotificationProviderService;
+
+/**
+ * MdsalConsumer is the interface to the mdsal for netvirt.
+ *
+ * @author Sam Hague (shague@redhat.com)
+ */
+public interface OvsdbInventoryService {
+    //public ConsumerContext getConsumerContext();
+    public static DataBroker dataBroker = null;
+    //public NotificationProviderService getNotificationService();
+    public InetAddress getTunnelEndPoint(Node node);
+    public String getNodeUUID(Node node);
+
+    public String getBridgeUUID (String bridgeName);
+}