use of org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.FlowUpdatedBuilder in project openflowplugin by opendaylight.
the class FlowNotificationSupplierImpl method updateNotification.
@Override
public FlowUpdated updateNotification(final Flow flow, final InstanceIdentifier<Flow> path) {
Preconditions.checkArgument(flow != null);
Preconditions.checkArgument(path != null);
final FlowUpdatedBuilder builder = new FlowUpdatedBuilder(flow);
builder.setFlowRef(new FlowRef(path));
builder.setNode(createNodeRef(path));
return builder.build();
}
Aggregations