HoneyNode Java 11 support for 221 devices
[transportpce.git] / tests / honeynode / 2.2.1 / honeynode-plugin-impl / src / main / java / io / fd / honeycomb / transportpce / device / configuration / NetconfConfiguration.java
index 5f90a7dc8598853187e93425ecf83cae40cd5e26..bba6537d8d217edd8139962e8d68a74769535403 100644 (file)
 
 package io.fd.honeycomb.transportpce.device.configuration;
 
-import io.fd.honeycomb.transportpce.device.tools.DefaultNetconfFactory;
-import io.fd.honeycomb.transportpce.test.common.DataStoreContext;
-import io.fd.honeycomb.transportpce.test.common.DataStoreContextImpl;
-
 import java.io.File;
 
 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714.Netconf;
@@ -27,6 +23,9 @@ import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.r
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
+import io.fd.honeycomb.transportpce.device.tools.DefaultNetconfFactory;
+import io.fd.honeycomb.transportpce.test.common.DataStoreContext;
+import io.fd.honeycomb.transportpce.test.common.DataStoreContextImpl;
 import net.jmob.guice.conf.core.BindConfig;
 import net.jmob.guice.conf.core.InjectConfig;
 import net.jmob.guice.conf.core.Syntax;
@@ -69,6 +68,8 @@ public final class NetconfConfiguration {
             } catch (NullPointerException e) {
                 LOG.error("failed to get Netconf Streams");
             }
+        } else {
+            LOG.warn("failed to get Netconf Streams");
         }
         return result;
     }