Use documenting constants for put()
[netvirt.git] / vpnservice / fibmanager / fibmanager-impl / src / main / java / org / opendaylight / netvirt / fibmanager / FibUtil.java
index cf5ce92832c02903450de24ee25cd45f92fa8d48..883813c6a1ce291336b48870b8cd7a68d1613ed9 100644 (file)
@@ -427,7 +427,8 @@ public class FibUtil {
         if (nextHopAdd) {
             RoutePaths routePaths = FibHelper.buildRoutePath(nextHop, label);
             if (writeConfigTxn != null) {
-                writeConfigTxn.put(LogicalDatastoreType.CONFIGURATION, routePathId, routePaths, true);
+                writeConfigTxn.put(LogicalDatastoreType.CONFIGURATION, routePathId, routePaths,
+                        WriteTransaction.CREATE_MISSING_PARENTS);
             } else {
                 MDSALUtil.syncWrite(broker, LogicalDatastoreType.CONFIGURATION, routePathId, routePaths);
             }