Class AbstractFlowspecL3vpnNlriParser
- java.lang.Object
-
- org.opendaylight.protocol.bgp.flowspec.AbstractFlowspecNlriParser
-
- org.opendaylight.protocol.bgp.flowspec.l3vpn.AbstractFlowspecL3vpnNlriParser
-
- All Implemented Interfaces:
NlriParser
,NlriSerializer
- Direct Known Subclasses:
FlowspecL3vpnIpv4NlriParser
,FlowspecL3vpnIpv6NlriParser
public abstract class AbstractFlowspecL3vpnNlriParser extends AbstractFlowspecNlriParser
-
-
Field Summary
Fields Modifier and Type Field Description static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
RD_NID
-
Fields inherited from class org.opendaylight.protocol.bgp.flowspec.AbstractFlowspecNlriParser
DEST_PREFIX_NID, flowspecTypeRegistry, OP_NID, SOURCE_PREFIX_NID, VALUE_NID
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFlowspecL3vpnNlriParser(FlowspecTypeRegistry flowspecTypeRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<Flowspec>
parseL3vpnNlriFlowspecList(io.netty.buffer.ByteBuf nlri)
protected Object[]
parseNlri(io.netty.buffer.ByteBuf nlri)
Override this function to parse additional NLRI fields.protected void
serializeNlri(Object[] nlriFields, io.netty.buffer.ByteBuf buffer)
String
stringNlri(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode flowspec)
-
Methods inherited from class org.opendaylight.protocol.bgp.flowspec.AbstractFlowspecNlriParser
createAdvertizedRoutesDestinationType, createWithdrawnDestinationType, extractFlowspec, extractSpecificFlowspec, parseNlri, parseNlri, parseNlriFlowspecList, readNlriLength, readPathId, serializeAttribute, serializeMpReachNlri, serializeMpUnreachNlri, serializeNlri, serializeNlri, stringNlri, stringSpecificFSNlriType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.protocol.bgp.parser.spi.NlriParser
convertMpReachToMpUnReach
-
-
-
-
Constructor Detail
-
AbstractFlowspecL3vpnNlriParser
protected AbstractFlowspecL3vpnNlriParser(FlowspecTypeRegistry flowspecTypeRegistry)
-
-
Method Detail
-
stringNlri
public String stringNlri(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode flowspec)
- Overrides:
stringNlri
in classAbstractFlowspecNlriParser
-
serializeNlri
protected void serializeNlri(Object[] nlriFields, io.netty.buffer.ByteBuf buffer)
- Overrides:
serializeNlri
in classAbstractFlowspecNlriParser
-
parseNlri
protected Object[] parseNlri(io.netty.buffer.ByteBuf nlri)
Description copied from class:AbstractFlowspecNlriParser
Override this function to parse additional NLRI fields.- Overrides:
parseNlri
in classAbstractFlowspecNlriParser
- Parameters:
nlri
- NLRI buffer- Returns:
- Parsed additional fields
-
-