public final class SimpleFlowspecIpv6NlriParser extends AbstractFlowspecNlriParser
DEST_PREFIX_NID, flowspecTypeRegistry, OP_NID, SOURCE_PREFIX_NID, VALUE_NID
Constructor and Description |
---|
SimpleFlowspecIpv6NlriParser(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) |
extractFlowspec, parseNlri, parseNlri, parseNlri, parseNlriFlowspecList, readNlriLength, readPathId, serializeAttribute, serializeNlri, serializeNlri, serializeNlri, stringNlri, stringNlri
public SimpleFlowspecIpv6NlriParser(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 © 2019 OpenDaylight. All rights reserved.