Interface RouteTargeConstraintNlriRegistry

    • Method Detail

      • 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