Clear actions instruction does not support actions. 55/5255/1
authorDeepthi V V <deepthi.v.v@ericsson.com>
Tue, 11 Feb 2014 12:31:09 +0000 (18:01 +0530)
committerDeepthi V V <deepthi.v.v@ericsson.com>
Tue, 11 Feb 2014 12:31:09 +0000 (18:01 +0530)
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
openflowplugin/src/main/java/org/opendaylight/openflowplugin/openflow/md/core/sal/convertor/FlowConvertor.java

index 13e31f8af9b5e24b56367aa8bea660a1a8ad7b79..2cb651105da5e00ca336b68b0e9f92a3b7bcd768 100644 (file)
@@ -238,10 +238,6 @@ public class FlowConvertor {
                 ClearActions clearActions = clearActionscase.getClearActions();
                 instructionBuilder
                         .setType(org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.instruction.rev130731.ClearActions.class);
-                ActionsInstructionBuilder actionsInstructionBuilder = new ActionsInstructionBuilder();
-                actionsInstructionBuilder.setActionsList(ActionConvertor.getActionList(clearActions.getAction(),
-                        version,datapathid));
-                instructionBuilder.addAugmentation(ActionsInstruction.class, actionsInstructionBuilder.build());
                 instructionsList.add(instructionBuilder.build());
             }