Search in sources :

Example 1 with GroupRemovedBuilder

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

the class GroupNotificationSupplierImpl method deleteNotification.

@Override
public GroupRemoved deleteNotification(final InstanceIdentifier<Group> path) {
    Preconditions.checkArgument(path != null);
    final GroupRemovedBuilder builder = new GroupRemovedBuilder();
    builder.setGroupId(path.firstKeyOf(Group.class, GroupKey.class).getGroupId());
    builder.setGroupRef(new GroupRef(path));
    builder.setNode(createNodeRef(path));
    return builder.build();
}
Also used : GroupRemovedBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.group.service.rev130918.GroupRemovedBuilder) GroupRef(org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.GroupRef)

Aggregations

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