use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nodes.node.table.flow.instructions.instruction.instruction.apply.actions._case.apply.actions.action.action.NxActionConntrackNodesNodeTableFlowApplyActionsCaseBuilder in project genius by opendaylight.
the class ActionNxConntrack method buildAction.
@Override
public Action buildAction(int newActionKey) {
NxConntrackBuilder ctb = new NxConntrackBuilder().setFlags(flags).setZoneSrc(zoneSrc).setConntrackZone(conntrackZone).setRecircTable(recircTable);
ctb.setCtActions(this.ctActions.stream().map(NxCtAction::buildCtActions).collect(Collectors.toList()));
ActionBuilder ab = new ActionBuilder();
ab.setAction(new NxActionConntrackNodesNodeTableFlowApplyActionsCaseBuilder().setNxConntrack(ctb.build()).build());
ab.setKey(new ActionKey(newActionKey));
return ab.build();
}
Aggregations