Add option to use netdev datapath_type
[netvirt.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / impl / ConfigurationServiceImpl.java
index 79fa1921de9b003a114e225b41a6cd085371b258..c9691fce72a395d4c0db83e6f8a7e013ffd27430 100644 (file)
@@ -178,6 +178,12 @@ public class ConfigurationServiceImpl implements ConfigurationService, ConfigInt
         return l3gatewayForNode;
     }
 
+    @Override
+    public boolean isUserSpaceEnabled() {
+        final String enabledPropertyStr = ConfigProperties.getProperty(this.getClass(), "ovsdb.userspace.enabled");
+        return enabledPropertyStr != null && enabledPropertyStr.equalsIgnoreCase("yes");
+    }
+
     @Override
     public void setDependencies(ServiceReference serviceReference) {
         southbound =