@NonNullByDefault
public interface NlriRegistry
| Modifier and Type | Method and Description |
|---|---|
Optional<MpUnreachNlri> |
convertMpReachToMpUnReach(MpReachNlri mpReachNlri,
@Nullable MpUnreachNlri mpUnreachNlri)
Convert MP_REACH attribute to MP_UNREACH attribute and merge it with original one if it exists.
|
Iterable<NlriSerializer> |
getSerializers()
Get all available NLRI encoders.
|
MpReachNlri |
parseMpReach(io.netty.buffer.ByteBuf buffer,
@Nullable PeerSpecificParserConstraint constraint)
Decode MP REACH NLRI Attribute.
|
MpUnreachNlri |
parseMpUnreach(io.netty.buffer.ByteBuf buffer,
@Nullable PeerSpecificParserConstraint constraint)
Decode MP REACH NLRI Attribute.
|
void |
serializeMpReach(MpReachNlri mpReachNlri,
io.netty.buffer.ByteBuf byteAggregator)
Encode BGP MP REACH NLRI Attribute.
|
void |
serializeMpUnReach(MpUnreachNlri mpUnreachNlri,
io.netty.buffer.ByteBuf byteAggregator)
Encode BGP MP UNREACH NLRI Attribute.
|
MpReachNlri parseMpReach(io.netty.buffer.ByteBuf buffer, @Nullable PeerSpecificParserConstraint constraint) throws BGPParsingException
buffer - Input buffer.constraint - Peer specific constraint.BGPParsingExceptionMpUnreachNlri parseMpUnreach(io.netty.buffer.ByteBuf buffer, @Nullable PeerSpecificParserConstraint constraint) throws BGPParsingException
buffer - Input buffer.constraint - Peer specific constraint.BGPParsingExceptionvoid serializeMpReach(MpReachNlri mpReachNlri, io.netty.buffer.ByteBuf byteAggregator)
mpReachNlri - Input reach NLRI.byteAggregator - Output buffer.void serializeMpUnReach(MpUnreachNlri mpUnreachNlri, io.netty.buffer.ByteBuf byteAggregator)
mpUnreachNlri - Input unreach NLRI.byteAggregator - Output buffer.Iterable<NlriSerializer> getSerializers()
Optional<MpUnreachNlri> convertMpReachToMpUnReach(MpReachNlri mpReachNlri, @Nullable MpUnreachNlri mpUnreachNlri)
The default implementation rejects the conversion.
mpReachNlri - MP_REACH attribute to be convertedmpUnreachNlri - original MP_UNREACH attributeCopyright © 2020 OpenDaylight. All rights reserved.