Class PipelineTraceablePacket


  • public final class PipelineTraceablePacket
    extends Object
    Represents a traceable packet composed by a traffic selector and metadata.
    • Constructor Detail

      • PipelineTraceablePacket

        public PipelineTraceablePacket​(TrafficSelector packet)
        Builds a traceable packet without metadata. Note this can be used for legacy device like ofdpa.
        Parameters:
        packet - the packet selector
      • PipelineTraceablePacket

        public PipelineTraceablePacket​(TrafficSelector packet,
                                       PipelineTraceableMetadata metadata)
        Builds a traceable packet with metadata.
        Parameters:
        packet - the packet selector
        metadata - the packet metadata