public final class FlowspecL3vpnIpv6NlriParser extends AbstractFlowspecL3vpnNlriParser
RD_NID
DEST_PREFIX_NID, flowspecTypeRegistry, LENGTH_MAGIC, MAX_NLRI_LENGTH, MAX_NLRI_LENGTH_ONE_BYTE, OP_NID, SOURCE_PREFIX_NID, VALUE_NID
Constructor and Description |
---|
FlowspecL3vpnIpv6NlriParser(SimpleFlowspecTypeRegistry flowspecTypeRegistry) |
Modifier and Type | Method and Description |
---|---|
DestinationType |
createAdvertizedRoutesDestinationType(Object[] nlriFields,
PathId pathId)
Create advertized destination type
|
DestinationType |
createWithdrawnDestinationType(Object[] nlriFields,
PathId pathId)
Create withdrawn destination type
|
void |
extractSpecificFlowspec(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode fsType,
FlowspecBuilder fsBuilder) |
protected void |
serializeMpReachNlri(DestinationType dstType,
io.netty.buffer.ByteBuf byteAggregator) |
protected void |
serializeMpUnreachNlri(DestinationType dstType,
io.netty.buffer.ByteBuf byteAggregator) |
protected void |
stringSpecificFSNlriType(FlowspecType value,
StringBuilder buffer) |
parseL3vpnNlriFlowspecList, parseNlri, serializeNlri, stringNlri
extractFlowspec, parseNlri, parseNlri, parseNlri, parseNlri, parseNlriFlowspecList, readNlriLength, readPathId, serializeAttribute, serializeNlri, serializeNlri, stringNlri
public FlowspecL3vpnIpv6NlriParser(SimpleFlowspecTypeRegistry flowspecTypeRegistry)
public DestinationType createWithdrawnDestinationType(@Nonnull Object[] nlriFields, @Nullable PathId pathId)
AbstractFlowspecNlriParser
createWithdrawnDestinationType
in class AbstractFlowspecNlriParser
nlriFields
- a list of NLRI fields to be included in the destination typepathId
- associated path id with given NLRIpublic DestinationType createAdvertizedRoutesDestinationType(@Nonnull Object[] nlriFields, @Nullable PathId pathId)
AbstractFlowspecNlriParser
createAdvertizedRoutesDestinationType
in class AbstractFlowspecNlriParser
nlriFields
- a list of NLRI fields to be included in the destination typepathId
- associated path id with given NLRIpublic void extractSpecificFlowspec(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode fsType, FlowspecBuilder fsBuilder)
extractSpecificFlowspec
in class AbstractFlowspecNlriParser
protected void stringSpecificFSNlriType(FlowspecType value, StringBuilder buffer)
stringSpecificFSNlriType
in class AbstractFlowspecNlriParser
protected void serializeMpReachNlri(DestinationType dstType, io.netty.buffer.ByteBuf byteAggregator)
serializeMpReachNlri
in class AbstractFlowspecNlriParser
protected void serializeMpUnreachNlri(DestinationType dstType, io.netty.buffer.ByteBuf byteAggregator)
serializeMpUnreachNlri
in class AbstractFlowspecNlriParser
Copyright © 2018 OpenDaylight. All rights reserved.