Class RegMoveConvertor
- java.lang.Object
-
- org.opendaylight.openflowplugin.extension.vendor.nicira.convertor.action.RegMoveConvertor
-
- All Implemented Interfaces:
ConvertorActionFromOFJava<Action,ActionPath>
,ConvertorActionToOFJava<Action,Action>
public class RegMoveConvertor extends Object implements ConvertorActionToOFJava<Action,Action>, ConvertorActionFromOFJava<Action,ActionPath>
Convert to/from SAL flow model to openflowjava model for NxActionRegMove action.- Author:
- msunal, Josh Hershberg (jhershbe@redhat.com)
-
-
Constructor Summary
Constructors Constructor Description RegMoveConvertor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
convert(Action nxActionArg)
Convert OF action MD-SAL model.Action
convert(Action input, ActionPath path)
Convert MD-SAL model to OF action.
-
-
-
Method Detail
-
convert
public Action convert(Action nxActionArg)
Description copied from interface:ConvertorActionToOFJava
Convert OF action MD-SAL model.- Specified by:
convert
in interfaceConvertorActionToOFJava<Action,Action>
- Parameters:
nxActionArg
- where is vendor's augmentation- Returns:
- message converted to OFJava-API
-
convert
public Action convert(Action input, ActionPath path)
Description copied from interface:ConvertorActionFromOFJava
Convert MD-SAL model to OF action.- Specified by:
convert
in interfaceConvertorActionFromOFJava<Action,ActionPath>
- Parameters:
input
- the MD-SAL containerpath
- in yang schema where a converted value has to be augmented- Returns:
- message converted to MD-SAL and its type
-
-