Interface RouteTargeConstraintNlriRegistry

All Known Implementing Classes:
ImmutableRouteTargetConstrainNlriRegistry

@NonNullByDefault public interface RouteTargeConstraintNlriRegistry
  • Method Details

    • parseRouteTargetConstrain

      @Nullable RouteTargetConstrainChoice parseRouteTargetConstrain(@Nullable Integer type, io.netty.buffer.ByteBuf buffer)
      Decode input buffer to BGP Route Target.
      Parameters:
      type - Nlri Type
      buffer - encoded RouteTargetChoice body in Bytebuf
      Returns:
      RouteTargetChoice
    • serializeRouteTargetConstrain

      io.netty.buffer.ByteBuf serializeRouteTargetConstrain(RouteTargetConstrainChoice routeTarget)
      Encode input BGP routeTarget to output buffer.
      Parameters:
      routeTarget - RouteTargetChoice
      Returns:
      encoded RouteTargetChoice body in Bytebuf