use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.src.choice.grouping.src.choice.SrcNxRegCaseBuilder in project netvirt by opendaylight.
the class OpenFlow13Utils method createActionNxMoveReg0ToNsc1Register.
public static Action createActionNxMoveReg0ToNsc1Register(int order) {
ActionBuilder ab = createActionBuilder(order);
ab.setAction(nxMoveRegAction(new SrcNxRegCaseBuilder().setNxReg(NxmNxReg0.class).build(), new DstNxNshc1CaseBuilder().setNxNshc1Dst(Boolean.TRUE).build(), 31, false));
return ab.build();
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.src.choice.grouping.src.choice.SrcNxRegCaseBuilder in project netvirt by opendaylight.
the class OpenFlow13Utils method createActionNxMoveReg6ToNsc4Register.
public static Action createActionNxMoveReg6ToNsc4Register(int order) {
ActionBuilder ab = createActionBuilder(order);
ab.setAction(nxMoveRegAction(new SrcNxRegCaseBuilder().setNxReg(NxmNxReg6.class).build(), new DstNxNshc4CaseBuilder().setNxNshc4Dst(Boolean.TRUE).build(), 31, false));
return ab.build();
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.src.choice.grouping.src.choice.SrcNxRegCaseBuilder 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