From: Amit Mandke Date: Thu, 1 May 2014 20:48:55 +0000 (-0700) Subject: Bug 935 Fixed, added order key in instruction and action as flow yang model expects it. X-Git-Tag: autorelease-tag-v20140601202136_82eb3f9~114 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=eb3f505f4a7c46da853f7c293a719e097a17f5f9 Bug 935 Fixed, added order key in instruction and action as flow yang model expects it. Change-Id: Ib7a82db71f4915496574ec2b8731cb0161351309 Signed-off-by: Amit Mandke --- diff --git a/opendaylight/md-sal/samples/l2switch/implementation/src/main/java/org/opendaylight/controller/sample/l2switch/md/flow/FlowWriterServiceImpl.java b/opendaylight/md-sal/samples/l2switch/implementation/src/main/java/org/opendaylight/controller/sample/l2switch/md/flow/FlowWriterServiceImpl.java index 065d0ee7ba..fccda9d578 100644 --- a/opendaylight/md-sal/samples/l2switch/implementation/src/main/java/org/opendaylight/controller/sample/l2switch/md/flow/FlowWriterServiceImpl.java +++ b/opendaylight/md-sal/samples/l2switch/implementation/src/main/java/org/opendaylight/controller/sample/l2switch/md/flow/FlowWriterServiceImpl.java @@ -234,6 +234,7 @@ public class FlowWriterServiceImpl implements FlowWriterService { Uri destPortUri = destPort.getValue().firstKeyOf(NodeConnector.class, NodeConnectorKey.class).getId(); Action outputToControllerAction = new ActionBuilder() // + .setOrder(0) .setAction(new OutputActionCaseBuilder() // .setOutputAction(new OutputActionBuilder() // .setMaxLength(new Integer(0xffff)) // @@ -248,6 +249,7 @@ public class FlowWriterServiceImpl implements FlowWriterService { // Wrap our Apply Action in an Instruction Instruction applyActionsInstruction = new InstructionBuilder() // + .setOrder(0) .setInstruction(new ApplyActionsCaseBuilder()// .setApplyActions(applyActions) // .build()) //