summaryrefslogtreecommitdiffstats
path: root/v3po/vpp-jvpp-cfg
diff options
context:
space:
mode:
Diffstat (limited to 'v3po/vpp-jvpp-cfg')
-rw-r--r--v3po/vpp-jvpp-cfg/src/main/java/org/opendaylight/yang/gen/v1/urn/honeycomb/params/xml/ns/yang/vpp/jvpp/cfg/rev160406/VppJvppImplModule.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/v3po/vpp-jvpp-cfg/src/main/java/org/opendaylight/yang/gen/v1/urn/honeycomb/params/xml/ns/yang/vpp/jvpp/cfg/rev160406/VppJvppImplModule.java b/v3po/vpp-jvpp-cfg/src/main/java/org/opendaylight/yang/gen/v1/urn/honeycomb/params/xml/ns/yang/vpp/jvpp/cfg/rev160406/VppJvppImplModule.java
index 82db50134..8eb504a03 100644
--- a/v3po/vpp-jvpp-cfg/src/main/java/org/opendaylight/yang/gen/v1/urn/honeycomb/params/xml/ns/yang/vpp/jvpp/cfg/rev160406/VppJvppImplModule.java
+++ b/v3po/vpp-jvpp-cfg/src/main/java/org/opendaylight/yang/gen/v1/urn/honeycomb/params/xml/ns/yang/vpp/jvpp/cfg/rev160406/VppJvppImplModule.java
@@ -4,8 +4,13 @@ import java.io.IOException;
import org.openvpp.jvpp.JVppImpl;
import org.openvpp.jvpp.VppJNIConnection;
import org.openvpp.jvpp.future.FutureJVppFacade;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
public class VppJvppImplModule extends org.opendaylight.yang.gen.v1.urn.honeycomb.params.xml.ns.yang.vpp.jvpp.cfg.rev160406.AbstractVppJvppImplModule {
+
+ private static final Logger LOG = LoggerFactory.getLogger(VppJvppImplModule.class);
+
public VppJvppImplModule(org.opendaylight.controller.config.api.ModuleIdentifier identifier, org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
super(identifier, dependencyResolver);
}
@@ -22,12 +27,13 @@ public class VppJvppImplModule extends org.opendaylight.yang.gen.v1.urn.honeycom
@Override
public java.lang.AutoCloseable createInstance() {
try {
- final JVppImpl jVpp =
- new JVppImpl(new VppJNIConnection(getName()));
+ final JVppImpl jVpp = new JVppImpl(new VppJNIConnection(getName()));
+ LOG.info("JVpp connection opened successfully as: {}", getName());
return new FutureJVppFacade(jVpp) {
@Override
public void close() throws Exception {
super.close();
+ LOG.info("Closing JVpp connection: {}", getName());
jVpp.close();
}
};