Set output as last action
Change-Id: I8c004ff14090ce9e9864d110e4d3ac164cfc4680
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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(), | ... | ... |
-
Please register or login to post a comment