for (org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731
.instructions.grouping.Instruction currInstruction : properties
- .getAugmentation(InstructionRelatedTableFeatureProperty.class).getInstruction()) {
+ .augmentation(InstructionRelatedTableFeatureProperty.class).getInstruction()) {
InstructionChoice currInstructionType = currInstruction.getInstructionChoice();
if (currInstructionType instanceof GotoTableCase) {
}
private static List<Short> setNextTableFeatureProperty(final TableFeatureProperties properties) {
- return properties.getAugmentation(NextTableRelatedTableFeatureProperty.class)
+ return properties.augmentation(NextTableRelatedTableFeatureProperty.class)
.getNextTableIds().stream().map(NextTableIds::getTableId).collect(Collectors.toList());
}
int order = 0;
for (Action action : properties
- .getAugmentation(ActionRelatedTableFeatureProperty.class).getAction()) {
+ .augmentation(ActionRelatedTableFeatureProperty.class).getAction()) {
if (action != null && null != action.getActionChoice()) {
org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.ActionBuilder
actionBuilder = new org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action
SetFieldMatchBuilder setFieldMatchBuilder = new SetFieldMatchBuilder();
// This handles only OpenflowBasicClass oxm class.
- for (MatchEntry currMatch : properties.getAugmentation(OxmRelatedTableFeatureProperty.class)
+ for (MatchEntry currMatch : properties.augmentation(OxmRelatedTableFeatureProperty.class)
.getMatchEntry()) {
Class<? extends MatchField> ofMatchField = currMatch.getOxmMatchField();