Interface BgpPrefixSidTlvRegistry

All Known Implementing Classes:
SimpleBgpPrefixSidTlvRegistry

public interface BgpPrefixSidTlvRegistry
BGP prefix SID TLVs registry for encoding/decoding.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.bgp.prefix.sid.bgp.prefix.sid.tlvs.BgpPrefixSidTlv
    parseBgpPrefixSidTlv(int type, io.netty.buffer.ByteBuf buffer)
    Decode incoming TLV.
    void
    serializeBgpPrefixSidTlv(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.bgp.prefix.sid.bgp.prefix.sid.tlvs.BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes)
    Encode TLV instance.
  • Method Details

    • parseBgpPrefixSidTlv

      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.bgp.prefix.sid.bgp.prefix.sid.tlvs.BgpPrefixSidTlv parseBgpPrefixSidTlv(int type, io.netty.buffer.ByteBuf buffer)
      Decode incoming TLV.
      Parameters:
      type - number of TLV
      buffer - contains bytes of TLV
      Returns:
      instance of specific TLV
    • serializeBgpPrefixSidTlv

      void serializeBgpPrefixSidTlv(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.attributes.bgp.prefix.sid.bgp.prefix.sid.tlvs.BgpPrefixSidTlv tlv, io.netty.buffer.ByteBuf bytes)
      Encode TLV instance.
      Parameters:
      tlv - instance
      bytes - encoded TLV outcome