Class SimpleMvpnNlriRegistry

java.lang.Object
org.opendaylight.protocol.bgp.mvpn.spi.pojo.nlri.SimpleMvpnNlriRegistry
All Implemented Interfaces:
MvpnRegistry

public final class SimpleMvpnNlriRegistry extends Object implements MvpnRegistry
Mvpn Nlri Registry.
Author:
Claudio D. Gasparini
  • Method Details

    • getInstance

      public static @NonNull SimpleMvpnNlriRegistry getInstance()
    • parseMvpn

      public MvpnChoice parseMvpn(NlriType type, io.netty.buffer.ByteBuf nlriBuf)
      Description copied from interface: MvpnRegistry
      Decode input buffer to BGP Mvpn.
      Specified by:
      parseMvpn in interface MvpnRegistry
      Parameters:
      type - Nlri Type
      nlriBuf - encoded MvpnChoice body in Bytebuf
      Returns:
      MvpnChoice
    • serializeMvpn

      public io.netty.buffer.ByteBuf serializeMvpn(MvpnChoice mvpn)
      Description copied from interface: MvpnRegistry
      Encode input BGP mvpn to output buffer.
      Specified by:
      serializeMvpn in interface MvpnRegistry
      Parameters:
      mvpn - MvpnChoice
      Returns:
      encoded MvpnChoice body in Bytebuf