Class PipelineTraceableInput


  • public final class PipelineTraceableInput
    extends java.lang.Object
    Represents the input of the pipeline traceable processing.
    • Constructor Detail

      • PipelineTraceableInput

        public PipelineTraceableInput​(PipelineTraceablePacket ingressPacket,
                                      ConnectPoint ingressPort,
                                      java.util.List<DataPlaneEntity> deviceState)
        Builds a pipeline traceable input.
        Parameters:
        ingressPacket - the input packet
        ingressPort - the input port
        deviceState - the device state
    • Method Detail

      • ingressPacket

        public PipelineTraceablePacket ingressPacket()
        Getter for the ingress packet.
        Returns:
        the ingress packet
      • ingressPort

        public ConnectPoint ingressPort()
        Getter for the ingress port.
        Returns:
        the ingress port
      • deviceState

        public java.util.List<DataPlaneEntity> deviceState()
        Getter for the device state.
        Returns:
        the device state
      • flows

        public java.util.List<FlowEntry> flows()
        Getter for the flows.
        Returns:
        the flows
      • groups

        public java.util.Map<GroupId,​Group> groups()
        Getter for the groups.
        Returns:
        the groups
      • groupById

        public Group groupById​(GroupId groupId)
        Returns the group associated with the given group id.
        Parameters:
        groupId - the group id
        Returns:
        the group, otherwise null.