use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nx.action.resubmit.grouping.NxResubmitBuilder in project openflowplugin by opendaylight.
the class ResubmitConvertor method convert.
@Override
public org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action convert(final Action input, final ActionPath path) {
NxActionResubmit action = ((ActionResubmit) input.getActionChoice()).getNxActionResubmit();
NxResubmitBuilder builder = new NxResubmitBuilder();
builder.setInPort(action.getInPort());
builder.setTable(action.getTable());
return resolveAction(builder.build(), path);
}
use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nx.action.resubmit.grouping.NxResubmitBuilder in project genius by opendaylight.
the class ActionNxResubmit method buildAction.
@Override
public Action buildAction(int newActionKey) {
NxResubmitBuilder nxarsb = new NxResubmitBuilder();
nxarsb.setTable(table);
ActionBuilder ab = new ActionBuilder();
ab.setAction(new NxActionResubmitRpcAddGroupCaseBuilder().setNxResubmit(nxarsb.build()).build());
ab.setKey(new ActionKey(newActionKey));
return ab.build();
}
Aggregations