Class AbstractTeLspNlriCodec
- java.lang.Object
-
- org.opendaylight.protocol.bgp.linkstate.spi.AbstractNlriTypeCodec
-
- org.opendaylight.protocol.bgp.linkstate.spi.AbstractTeLspNlriCodec
-
- All Implemented Interfaces:
NlriTypeCaseParser
,NlriTypeCaseSerializer
- Direct Known Subclasses:
TeLspIpv4NlriParser
,TeLspIpv6NlriParser
public abstract class AbstractTeLspNlriCodec extends AbstractNlriTypeCodec
-
-
Field Summary
Fields Modifier and Type Field Description static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
ADDRESS_FAMILY
static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
IPV4_TUNNEL_ENDPOINT_ADDRESS
static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
IPV4_TUNNEL_SENDER_ADDRESS
static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
LSP_ID
static org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier
TUNNEL_ID
-
Constructor Summary
Constructors Constructor Description AbstractTeLspNlriCodec()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
isTeLsp(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode objectType)
protected void
serializeObjectType(ObjectType objectType, io.netty.buffer.ByteBuf buffer)
static TeLspCase
serializeTeLsp(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode objectType)
-
Methods inherited from class org.opendaylight.protocol.bgp.linkstate.spi.AbstractNlriTypeCodec
parseObjectType, parseTypeNlri, serializeTypeNlri
-
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.linkstate.spi.NlriTypeCaseSerializer
getNlriType
-
-
-
-
Field Detail
-
LSP_ID
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier LSP_ID
-
TUNNEL_ID
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier TUNNEL_ID
-
IPV4_TUNNEL_SENDER_ADDRESS
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier IPV4_TUNNEL_SENDER_ADDRESS
-
IPV4_TUNNEL_ENDPOINT_ADDRESS
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier IPV4_TUNNEL_ENDPOINT_ADDRESS
-
ADDRESS_FAMILY
public static final org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier ADDRESS_FAMILY
-
-
Method Detail
-
isTeLsp
public static boolean isTeLsp(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode objectType)
-
serializeTeLsp
public static TeLspCase serializeTeLsp(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode objectType)
-
serializeObjectType
protected final void serializeObjectType(ObjectType objectType, io.netty.buffer.ByteBuf buffer)
- Specified by:
serializeObjectType
in classAbstractNlriTypeCodec
-
-