Merge "Added controller is-connected code"
[netvirt.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / ConfigurationService.java
index d479742be043f1ccb7d3ef13b248e372d6e2cca1..3b1d4c69a4dce09f488a04c2f6b2ce1206da4727 100644 (file)
 
 package org.opendaylight.ovsdb.openstack.netvirt.api;
 
-import org.opendaylight.controller.sal.core.Node;
-
-import org.apache.commons.lang3.tuple.Pair;
+import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
 
 import java.net.InetAddress;
 import java.util.Map;
+import org.apache.commons.lang3.tuple.Pair;
 
 /**
  * The ConfigurationService handles the configuration of the OpenStack Neutron Integration
@@ -104,7 +103,7 @@ public interface ConfigurationService {
 
     /**
      * Gets the tunnel endpoint address for a given Node
-     * @param node a {@link org.opendaylight.controller.sal.core.Node}
+     * @param node a {@link Node}
      * @return the tunnel endpoint
      * @see java.net.InetAddress
      */
@@ -117,4 +116,12 @@ public interface ConfigurationService {
      * @return the OpenFlow version to use
      */
     public String getOpenflowVersion(Node node);
-}
\ No newline at end of file
+
+    /**
+     * Returns the MacAddress to be used for the default gateway by the {@link L3ForwardingProvider}
+     * There is no default.
+     * @param node the node to query
+     * @return the MacAddress to use for the default gateway; or null if none is configured.
+     */
+    public String getDefaultGatewayMacAddress(Node node);
+}