final ReadWriteTransaction transaction = manager.getDataService().newReadWriteTransaction();
LOG.debug("onPacketReceived - About to write flow {}", flow);
- transaction.put(LogicalDatastoreType.CONFIGURATION, flowInstanceId, flow);
+ transaction.put(LogicalDatastoreType.CONFIGURATION, flowInstanceId, flow, true);
transaction.submit();
LOG.debug("onPacketReceived - About to write flow commited");
}