java.lang.Object
org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.flow.FlowConvertorUtil

public final class FlowConvertorUtil extends Object
Flow related utils.
  • Method Details

    • wrapActionList

      public static Map<ActionKey,Action> wrapActionList(List<Action> actionList)
      Method wrapping all the actions org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action in org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action, to set appropriate keys for actions.
      Parameters:
      actionList - the action list
      Returns:
      the list
    • getIpProtocolFromFlow

      public static org.opendaylight.yangtools.yang.common.Uint8 getIpProtocolFromFlow(Flow flow)
      Safely gets ip protocol from flow.
      Parameters:
      flow - the flow
      Returns:
      the ip protocol from flow