use of org.opendaylight.yang.gen.v1.urn.opendaylight.meter.service.rev130918.MeterRemovedBuilder in project openflowplugin by opendaylight.
the class MeterNotificationSupplierImpl method deleteNotification.
@Override
public MeterRemoved deleteNotification(final InstanceIdentifier<Meter> path) {
Preconditions.checkArgument(path != null);
final MeterRemovedBuilder builder = new MeterRemovedBuilder();
builder.setMeterId(path.firstKeyOf(Meter.class, MeterKey.class).getMeterId());
builder.setMeterRef(new MeterRef(path));
builder.setNode(createNodeRef(path));
return builder.build();
}
Aggregations