public final class SimpleFlowspecIpv4NlriParser extends AbstractFlowspecNlriParser
DEST_PREFIX_NID, flowspecTypeRegistry, LENGTH_MAGIC, MAX_NLRI_LENGTH, MAX_NLRI_LENGTH_ONE_BYTE, OP_NID, SOURCE_PREFIX_NID, VALUE_NID| Constructor and Description | 
|---|
| SimpleFlowspecIpv4NlriParser(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, parseNlri, parseNlri, parseNlriFlowspecList, readNlriLength, readPathId, serializeAttribute, serializeNlri, serializeNlri, serializeNlri, stringNlri, stringNlripublic SimpleFlowspecIpv4NlriParser(SimpleFlowspecTypeRegistry flowspecTypeRegistry)
public DestinationType createWithdrawnDestinationType(@Nonnull Object[] nlriFields, @Nullable PathId pathId)
AbstractFlowspecNlriParsercreateWithdrawnDestinationType in class AbstractFlowspecNlriParsernlriFields - 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)
AbstractFlowspecNlriParsercreateAdvertizedRoutesDestinationType in class AbstractFlowspecNlriParsernlriFields - a list of NLRI fields to be included in the destination typepathId - associated path id with given NLRIprotected void serializeMpReachNlri(DestinationType dstType, io.netty.buffer.ByteBuf byteAggregator)
serializeMpReachNlri in class AbstractFlowspecNlriParserpublic void extractSpecificFlowspec(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode fsType,
                                    FlowspecBuilder fsBuilder)
extractSpecificFlowspec in class AbstractFlowspecNlriParserprotected void stringSpecificFSNlriType(FlowspecType value, StringBuilder buffer)
stringSpecificFSNlriType in class AbstractFlowspecNlriParserprotected void serializeMpUnreachNlri(DestinationType dstType, io.netty.buffer.ByteBuf byteAggregator)
serializeMpUnreachNlri in class AbstractFlowspecNlriParserCopyright © 2018 OpenDaylight. All rights reserved.