use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.protection.object.protection.object.DynamicControlProtectionObjectBuilder in project bgpcep by opendaylight.
the class DynamicProtectionObjectParser method localParseObject.
@Override
protected RsvpTeObject localParseObject(final ByteBuf byteBuf) throws RSVPParsingException {
final DynamicControlProtectionObjectBuilder builder = new DynamicControlProtectionObjectBuilder();
final ProtectionSubobject pSub = ProtectionCommonParser.parseCommonProtectionBodyType2(byteBuf);
return builder.setProtectionSubobject(pSub).build();
}
Aggregations