Class OspfRouteTlvParser
java.lang.Object
org.opendaylight.protocol.bgp.linkstate.impl.tlvs.OspfRouteTlvParser
- All Implemented Interfaces:
LinkstateTlvParser<OspfRouteType>
,LinkstateTlvParser.LinkstateTlvSerializer<OspfRouteType>
public final class OspfRouteTlvParser
extends Object
implements LinkstateTlvParser<OspfRouteType>, LinkstateTlvParser.LinkstateTlvSerializer<OspfRouteType>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.protocol.bgp.linkstate.spi.LinkstateTlvParser
LinkstateTlvParser.LinkstateTlvSerializer<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
static final org.opendaylight.yangtools.yang.common.QName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.QName
int
getType()
parseTlvBody
(io.netty.buffer.ByteBuf value) static OspfRouteType
serializeModel
(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode prefixDesc) void
serializeTlvBody
(OspfRouteType tlv, io.netty.buffer.ByteBuf body)
-
Field Details
-
OSPF_ROUTE_TYPE_QNAME
public static final org.opendaylight.yangtools.yang.common.QName OSPF_ROUTE_TYPE_QNAME -
OSPF_ROUTE_NID
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier OSPF_ROUTE_NID
-
-
Constructor Details
-
OspfRouteTlvParser
public OspfRouteTlvParser()
-
-
Method Details
-
serializeTlvBody
- Specified by:
serializeTlvBody
in interfaceLinkstateTlvParser.LinkstateTlvSerializer<OspfRouteType>
-
getType
public int getType()- Specified by:
getType
in interfaceLinkstateTlvParser.LinkstateTlvSerializer<OspfRouteType>
-
parseTlvBody
- Specified by:
parseTlvBody
in interfaceLinkstateTlvParser<OspfRouteType>
-
getTlvQName
public org.opendaylight.yangtools.yang.common.QName getTlvQName()- Specified by:
getTlvQName
in interfaceLinkstateTlvParser<OspfRouteType>
-
serializeModel
public static OspfRouteType serializeModel(org.opendaylight.yangtools.yang.data.api.schema.ContainerNode prefixDesc)
-