X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=nexthopmgr%2Fnexthopmgr-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fvpnservice%2Fnexthopmgr%2FVpnInterfaceChangeListener.java;fp=nexthopmgr%2Fnexthopmgr-impl%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fvpnservice%2Fnexthopmgr%2FVpnInterfaceChangeListener.java;h=cb2cc623e499e940e1790920556d109d36bfed76;hb=b32496bf7fbf29526b2f58c600c96a83502b9c68;hp=08ccadcfe9b497196b758fe3e948a3c0601c92a8;hpb=cfe29a9c8ad22357912f8e5ad5d83c65bfef248d;p=vpnservice.git diff --git a/nexthopmgr/nexthopmgr-impl/src/main/java/org/opendaylight/vpnservice/nexthopmgr/VpnInterfaceChangeListener.java b/nexthopmgr/nexthopmgr-impl/src/main/java/org/opendaylight/vpnservice/nexthopmgr/VpnInterfaceChangeListener.java index 08ccadcf..cb2cc623 100644 --- a/nexthopmgr/nexthopmgr-impl/src/main/java/org/opendaylight/vpnservice/nexthopmgr/VpnInterfaceChangeListener.java +++ b/nexthopmgr/nexthopmgr-impl/src/main/java/org/opendaylight/vpnservice/nexthopmgr/VpnInterfaceChangeListener.java @@ -57,7 +57,7 @@ public class VpnInterfaceChangeListener extends AbstractDataChangeListener identifier, Adjacencies adjs) { - + LOG.trace("Adding adjacencies interface : key: " + identifier + ", value=" + adjs ); InstanceIdentifier vpnIfId = identifier.firstIdentifierOf(VpnInterface.class); - Optional vpnIf = read(LogicalDatastoreType.CONFIGURATION, vpnIfId); + Optional vpnIf = read(LogicalDatastoreType.OPERATIONAL, vpnIfId); VpnInterface vpnIfData = vpnIf.get(); List adjList = adjs.getAdjacency();