Class UdpSrcConvertor
- java.lang.Object
-
- org.opendaylight.openflowplugin.extension.vendor.nicira.convertor.match.UdpSrcConvertor
-
- All Implemented Interfaces:
ConvertorFromOFJava<MatchEntry,MatchPath>,ConvertorToOFJava<MatchEntry>
public class UdpSrcConvertor extends Object implements ConvertorToOFJava<MatchEntry>, ConvertorFromOFJava<MatchEntry,MatchPath>
Convert to/from SAL flow model to openflowjava model for CtZoneCase.- Author:
- Aswin Suryanarayanan.
-
-
Constructor Summary
Constructors Constructor Description UdpSrcConvertor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionAugment<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Extension>>convert(MatchEntry input, MatchPath path)Convert OF model to MD-SAL model.MatchEntryconvert(Extension extension)Convert MD-SAL model to OF model.
-
-
-
Method Detail
-
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
public MatchEntry convert(Extension extension)
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
-
-