Class MatchExtensionHelper
java.lang.Object
org.opendaylight.openflowplugin.openflow.md.core.extension.MatchExtensionHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidinjectExtension(org.opendaylight.yangtools.yang.common.Uint8 ofVersion, MatchEntry matchEntry, MatchBuilder matchBuilder, MatchPath matchPath) Injects an extension.static <E extends org.opendaylight.yangtools.binding.Augmentable<E>>
AugmentTuple<E> processAllExtensions(Collection<MatchEntry> matchEntries, OpenflowVersion ofVersion, MatchPath matchPath) Processes all extensions.
-
Method Details
-
injectExtension
public static void injectExtension(org.opendaylight.yangtools.yang.common.Uint8 ofVersion, MatchEntry matchEntry, MatchBuilder matchBuilder, MatchPath matchPath) Injects an extension.- Parameters:
ofVersion- openflow versionmatchEntry- match entrymatchPath- match path
-
processAllExtensions
public static <E extends org.opendaylight.yangtools.binding.Augmentable<E>> AugmentTuple<E> processAllExtensions(Collection<MatchEntry> matchEntries, OpenflowVersion ofVersion, MatchPath matchPath) Processes all extensions.- Type Parameters:
E- extension point- Parameters:
matchEntries- match entriesofVersion- openflow versionmatchPath- match path- Returns:
- augmentation wrapper containing augmentation depending on matchPath
-