public class NshNpConvertor extends Object implements ConvertorToOFJava<MatchEntry>, ConvertorFromOFJava<MatchEntry,MatchPath>
Constructor and Description |
---|
NshNpConvertor() |
Modifier and Type | Method and Description |
---|---|
static MatchEntry |
buildMatchEntry(Short value,
Short mask) |
MatchEntry |
convert(Extension extension)
Convert MD-SAL model to OF model.
|
ExtensionAugment<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Extension>> |
convert(MatchEntry input,
MatchPath path)
Convert OF model to MD-SAL model.
|
public ExtensionAugment<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Extension>> convert(MatchEntry input, MatchPath path)
ConvertorFromOFJava
convert
in interface ConvertorFromOFJava<MatchEntry,MatchPath>
input
- OF modelpath
- in yang schema where a converted value has to be augmentedpublic MatchEntry convert(Extension extension)
ConvertorToOFJava
convert
in interface ConvertorToOFJava<MatchEntry>
extension
- where is vendor's augmentationpublic static MatchEntry buildMatchEntry(Short value, Short mask)
Copyright © 2020 OpenDaylight. All rights reserved.