Marc De Leenheer

Set output as last action

Change-Id: I8c004ff14090ce9e9864d110e4d3ac164cfc4680
...@@ -149,8 +149,8 @@ public class OpticalPathIntentInstaller implements IntentInstaller<OpticalPathIn ...@@ -149,8 +149,8 @@ public class OpticalPathIntentInstaller implements IntentInstaller<OpticalPathIn
149 } 149 }
150 150
151 TrafficTreatment.Builder treatmentBuilder = DefaultTrafficTreatment.builder(); 151 TrafficTreatment.Builder treatmentBuilder = DefaultTrafficTreatment.builder();
152 - treatmentBuilder.setOutput(link.src().port());
153 treatmentBuilder.setLambda((short) la.toInt()); 152 treatmentBuilder.setLambda((short) la.toInt());
153 + treatmentBuilder.setOutput(link.src().port());
154 154
155 FlowRule rule = new DefaultFlowRule(prev.deviceId(), 155 FlowRule rule = new DefaultFlowRule(prev.deviceId(),
156 selectorBuilder.build(), 156 selectorBuilder.build(),
......