public NxPopNshBuilder addAugmentation(java.lang.Class<? extends Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nx.action.pop.nsh.grouping.NxPopNsh>> augmentationType, Augmentation<org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.nx.action.pop.nsh.grouping.NxPopNsh> augmentation) { if (augmentation == null) { return removeAugmentation(augmentationType); } if (!(this.augmentation instanceof HashMap)) { this.augmentation = new HashMap<>(); } this.augmentation.put(augmentationType, augmentation); return this; }
@Override public org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action convert(Action input, ActionPath path) { NxActionPopNsh action = ((ActionPopNsh) input.getActionChoice()).getNxActionPopNsh(); NxPopNshBuilder builder = new NxPopNshBuilder(); return resolveAction(builder.build(), path); }
public static Action nxPopNshAction() { NxPopNshBuilder builder = new NxPopNshBuilder(); NxPopNsh r = builder.build(); return new NxActionPopNshNodesNodeTableFlowApplyActionsCaseBuilder().setNxPopNsh(r).build(); }
public static Action createActionNxPopNsh(int order) { NxPopNshBuilder builder = new NxPopNshBuilder(); NxPopNsh r = builder.build(); ActionBuilder ab = createActionBuilder(order); ab.setAction(new NxActionPopNshNodesNodeTableFlowApplyActionsCaseBuilder().setNxPopNsh(r).build()); return ab.build(); }