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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
Fields inherited from class org.opendaylight.protocol.bgp.flowspec.AbstractFlowspecNlriParser
DEST_PREFIX_NID, flowspecTypeRegistry, OP_NID, SOURCE_PREFIX_NID, VALUE_NID
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractFlowspecL3vpnNlriParser
(FlowspecTypeRegistry flowspecTypeRegistry) -
Method Summary
Modifier and TypeMethodDescriptionparseL3vpnNlriFlowspecList
(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) 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
-
Field Details
-
RD_NID
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier RD_NID
-
-
Constructor Details
-
AbstractFlowspecL3vpnNlriParser
-
-
Method Details
-
stringNlri
public String stringNlri(org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode flowspec) - Overrides:
stringNlri
in classAbstractFlowspecNlriParser
-
serializeNlri
- Overrides:
serializeNlri
in classAbstractFlowspecNlriParser
-
parseNlri
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
-
parseL3vpnNlriFlowspecList
-