Class OpenflowUtils


  • public abstract class OpenflowUtils
    extends Object
    Used for common structures translation / conversion.
    Author:
    michal.polkorab
    • Method Detail

      • createPortState

        public static PortStateV10 createPortState​(long input)
        Creates PortState (OF v1.0) from input.
        Parameters:
        input - value read from buffer
        Returns:
        port state
      • createPortConfig

        public static PortConfigV10 createPortConfig​(long input)
        Creates PortConfig (OF v1.0) from input.
        Parameters:
        input - value read from buffer
        Returns:
        port state
      • createPortFeatures

        public static PortFeaturesV10 createPortFeatures​(long input)
        Creates PortFeatures (OF v1.0) from input.
        Parameters:
        input - value read from buffer
        Returns:
        port state