public abstract class AbstractVpnNlriParser extends Object implements NlriParser, NlriSerializer
| Constructor and Description |
|---|
AbstractVpnNlriParser() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AdvertizedRoutes |
getAdvertizedRoutesByDestination(List<VpnDestination> dst) |
protected abstract List<VpnDestination> |
getAdvertizedVpnDestination(DestinationType dstType) |
protected abstract WithdrawnRoutes |
getWithdrawnRoutesByDestination(List<VpnDestination> dst) |
protected abstract List<VpnDestination> |
getWithdrawnVpnDestination(DestinationType dstType) |
void |
parseNlri(io.netty.buffer.ByteBuf nlri,
MpReachNlriBuilder builder)
Parse MP REACH NLRI from buffer.
|
void |
parseNlri(io.netty.buffer.ByteBuf nlri,
MpUnreachNlriBuilder builder)
Parse MP UN_REACH NLRI from buffer.
|
void |
serializeAttribute(org.opendaylight.yangtools.yang.binding.DataObject attribute,
io.netty.buffer.ByteBuf byteAggregator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseNlri, parseNlriprotected abstract List<VpnDestination> getWithdrawnVpnDestination(DestinationType dstType)
protected abstract List<VpnDestination> getAdvertizedVpnDestination(DestinationType dstType)
protected abstract WithdrawnRoutes getWithdrawnRoutesByDestination(List<VpnDestination> dst)
protected abstract AdvertizedRoutes getAdvertizedRoutesByDestination(List<VpnDestination> dst)
public void serializeAttribute(org.opendaylight.yangtools.yang.binding.DataObject attribute,
io.netty.buffer.ByteBuf byteAggregator)
serializeAttribute in interface NlriSerializerpublic void parseNlri(io.netty.buffer.ByteBuf nlri,
MpUnreachNlriBuilder builder)
throws BGPParsingException
NlriParserparseNlri in interface NlriParsernlri - Encoded unreachabel NLRI in ByteBuf.builder - MP UNREACH NLRI builder.BGPParsingExceptionpublic void parseNlri(io.netty.buffer.ByteBuf nlri,
MpReachNlriBuilder builder)
throws BGPParsingException
NlriParserparseNlri in interface NlriParsernlri - Encoded reachable NLRI in ByteBuf.builder - MP REACH NLRI builder.BGPParsingExceptionCopyright © 2018 OpenDaylight. All rights reserved.