OPNFLWPLUG-1080: Nodes not populated in operational/opendaylight-inventory:nodes...
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / configuration / OpenFlowProviderConfigImpl.java
index e1283c7e5e2d1c3c47b81eabd0eef6aa361bf7ad..a959f6972c97bc1cfffdc1647c8e7e18351f29f0 100644 (file)
@@ -185,4 +185,13 @@ public class OpenFlowProviderConfigImpl implements OpenflowProviderConfig {
         return service.getProperty(ConfigurationProperty.DEVICE_CONNECTION_HOLD_TIME_IN_SECONDS.toString(),
                 Uint16::valueOf);
     }
+
+    @Override
+    public NonZeroUint32Type getDeviceDatastoreRemovalDelay() {
+        final Long property = service.getProperty(
+                ConfigurationProperty.DEVICE_DATASTORE_REMOVAL_DELAY.toString(),
+                Long::valueOf);
+
+        return new NonZeroUint32Type(property);
+    }
 }