use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.dst.choice.grouping.dst.choice.DstOfMplsLabelCaseBuilder in project genius by opendaylight.
the class ActionRegMove method buildAction.
@Override
public Action buildAction(int newActionKey) {
Src src = new SrcBuilder().setSrcChoice(new SrcNxRegCaseBuilder().setNxReg(register).build()).setStart(start).setEnd(end).build();
Dst dst = new DstBuilder().setDstChoice(new DstOfMplsLabelCaseBuilder().setOfMplsLabel(true).build()).setStart(start).setEnd(end).build();
NxRegMoveBuilder nxRegMoveBuilder = new NxRegMoveBuilder().setSrc(src).setDst(dst);
return new ActionBuilder().setAction(new NxActionRegMoveNodesNodeTableFlowApplyActionsCaseBuilder().setNxRegMove(nxRegMoveBuilder.build()).build()).setKey(new ActionKey(newActionKey)).build();
}
Aggregations