Class PipelineTraceableInput


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

      • PipelineTraceableInput

        public PipelineTraceableInput​(PipelineTraceablePacket ingressPacket,
                                      ConnectPoint ingressPort,
                                      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 List<DataPlaneEntity> deviceState()
        Getter for the device state.
        Returns:
        the device state
      • flows

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

        public 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.