Search in sources :

Example 1 with GroupUpdatedBuilder

use of org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupUpdatedBuilder in project openflowplugin by opendaylight.

the class GroupNotificationSupplierImpl method updateNotification.

@Override
public GroupUpdated updateNotification(final Group group, final InstanceIdentifier<Group> path) {
    Preconditions.checkArgument(group != null);
    Preconditions.checkArgument(path != null);
    final GroupUpdatedBuilder builder = new GroupUpdatedBuilder(group);
    builder.setGroupRef(new GroupRef(path));
    builder.setNode(createNodeRef(path));
    return builder.build();
}
Also used : GroupUpdatedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupUpdatedBuilder) GroupRef(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.GroupRef)

Aggregations

GroupUpdatedBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupUpdatedBuilder)1 GroupRef (org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.GroupRef)1