Class FlowConvertorUtil
java.lang.Object
org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.flow.FlowConvertorUtil
Flow related utils.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.opendaylight.yangtools.yang.common.Uint8
getIpProtocolFromFlow
(Flow flow) Safely gets ip protocol from flow.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.
-
Method Details
-
wrapActionList
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
Safely gets ip protocol from flow.- Parameters:
flow
- the flow- Returns:
- the ip protocol from flow
-