Set output as last action

Change-Id: I8c004ff14090ce9e9864d110e4d3ac164cfc4680
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/installer/OpticalPathIntentInstaller.java b/core/net/src/main/java/org/onosproject/net/intent/impl/installer/OpticalPathIntentInstaller.java
index 5fa4d49..43f6bfe 100644
--- a/core/net/src/main/java/org/onosproject/net/intent/impl/installer/OpticalPathIntentInstaller.java
+++ b/core/net/src/main/java/org/onosproject/net/intent/impl/installer/OpticalPathIntentInstaller.java
@@ -149,8 +149,8 @@
             }
 
             TrafficTreatment.Builder treatmentBuilder = DefaultTrafficTreatment.builder();
-            treatmentBuilder.setOutput(link.src().port());
             treatmentBuilder.setLambda((short) la.toInt());
+            treatmentBuilder.setOutput(link.src().port());
 
             FlowRule rule = new DefaultFlowRule(prev.deviceId(),
                                                 selectorBuilder.build(),