Bump upstreams for 2022.09 Chlorine
[openflowplugin.git] / extension / openflowplugin-extension-nicira / src / main / java / org / opendaylight / openflowplugin / extension / vendor / nicira / convertor / match / NshNpConvertor.java
index 5ddf171ee2e7a63adec18f683100dbb2a467b34e..01ec5f2b8e7840f67b3ada3b6b76f45bd302863b 100644 (file)
@@ -55,7 +55,7 @@ public class NshNpConvertor implements ConvertorToOFJava<MatchEntry>, ConvertorF
         return resolveAugmentation(
                 nxmNxNshNp,
                 path,
-                NxmNxNshNpKey.class);
+                NxmNxNshNpKey.VALUE);
     }
 
     @Override
@@ -72,14 +72,13 @@ public class NshNpConvertor implements ConvertorToOFJava<MatchEntry>, ConvertorF
         NshNpValues nshNpValues = new NshNpValuesBuilder().setValue(value).build();
         NxExpMatchEntryValue entryValue = new NshNpCaseValueBuilder().setNshNpValues(nshNpValues).build();
         return MatchUtil.createExperimenterMatchEntryBuilder(
-                org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjava.nx.match.rev140421.NxmNxNshNp.class,
+                org.opendaylight.yang.gen.v1.urn.opendaylight.openflowjava.nx.match.rev140421.NxmNxNshNp.VALUE,
                 NiciraConstants.NX_NSH_VENDOR_ID,
                 entryValue).setHasMask(mask != null).build();
     }
 
     private static ExtensionAugment<? extends Augmentation<Extension>> resolveAugmentation(
-            final NxmNxNshNp value,
-            final MatchPath path, final Class<? extends ExtensionKey> key) {
+            final NxmNxNshNp value, final MatchPath path, final ExtensionKey key) {
         switch (path) {
             case FLOWS_STATISTICS_UPDATE_MATCH:
                 return new ExtensionAugment<>(NxAugMatchNodesNodeTableFlow.class,