Interface EvpnRegistry

All Known Implementing Classes:
SimpleEvpnNlriRegistry

@NonNullByDefault public interface EvpnRegistry
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable EvpnChoice
    parseEvpn(NlriType type, io.netty.buffer.ByteBuf buffer)
    Decode input buffer to BGP Evpn.
    io.netty.buffer.ByteBuf
    serializeEvpn(EvpnChoice evpn, io.netty.buffer.ByteBuf common)
    Encode input BGP Evpn to output buffer.
    @Nullable EvpnChoice
    serializeEvpnModel(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice)
    Decode Evpn Model to Evpn.
    @Nullable EvpnChoice
    serializeEvpnRouteKey(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice)
    Create Route key from Evpn model.
  • Method Details

    • parseEvpn

      @Nullable EvpnChoice parseEvpn(NlriType type, io.netty.buffer.ByteBuf buffer)
      Decode input buffer to BGP Evpn.
      Parameters:
      type - Nlri Type
      buffer - encoded EvpnChoice body in Bytebuf
      Returns:
      EvpnChoice
    • serializeEvpn

      io.netty.buffer.ByteBuf serializeEvpn(EvpnChoice evpn, io.netty.buffer.ByteBuf common)
      Encode input BGP Evpn to output buffer.
      Parameters:
      evpn - EvpnChoice
      common - encoded common Evpn
      Returns:
      encoded EvpnChoice body in Bytebuf
    • serializeEvpnModel

      @Nullable EvpnChoice serializeEvpnModel(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice)
      Decode Evpn Model to Evpn.
      Parameters:
      evpnChoice - ChoiceNode containing Evpn
      Returns:
      EvpnChoice
    • serializeEvpnRouteKey

      @Nullable EvpnChoice serializeEvpnRouteKey(org.opendaylight.yangtools.yang.data.api.schema.ChoiceNode evpnChoice)
      Create Route key from Evpn model.
      Parameters:
      evpnChoice - ChoiceNode containing Evpn
      Returns:
      EvpnChoice