Class EthDstConvertor
java.lang.Object
org.opendaylight.openflowplugin.extension.vendor.nicira.convertor.match.EthDstConvertor
- All Implemented Interfaces:
ConvertorFromOFJava<MatchEntry,,MatchPath> ConvertorToOFJava<MatchEntry>
public class EthDstConvertor
extends Object
implements ConvertorToOFJava<MatchEntry>, ConvertorFromOFJava<MatchEntry,MatchPath>
Convert to/from SAL flow model to openflowjava model for EthDstCase.
- Author:
- msunal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExtensionAugment<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Extension>>convert(MatchEntry input, MatchPath path) Convert OF model to MD-SAL model.Convert MD-SAL model to OF model.
-
Constructor Details
-
EthDstConvertor
public EthDstConvertor()
-
-
Method Details
-
convert
public ExtensionAugment<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Extension>> convert(MatchEntry input, MatchPath path) Description copied from interface:ConvertorFromOFJavaConvert OF model to MD-SAL model.- Specified by:
convertin interfaceConvertorFromOFJava<MatchEntry,MatchPath> - Parameters:
input- OF modelpath- in yang schema where a converted value has to be augmented- Returns:
- message converted to MD-SAL and its type
-
convert
Description copied from interface:ConvertorToOFJavaConvert MD-SAL model to OF model.- Specified by:
convertin interfaceConvertorToOFJava<MatchEntry>- Parameters:
extension- where is vendor's augmentation- Returns:
- message converted to OFJava-API
-