alshabib
Committed by Gerrit Code Review

fix in the point to point intent to take into account existing treatments

Change-Id: I9e2fdde93a435a383bbab5dc1bb890e1f0d88433
...@@ -93,7 +93,7 @@ public class PathIntentInstaller implements IntentInstaller<PathIntent> { ...@@ -93,7 +93,7 @@ public class PathIntentInstaller implements IntentInstaller<PathIntent> {
93 while (links.hasNext()) { 93 while (links.hasNext()) {
94 builder.matchInport(prev.port()); 94 builder.matchInport(prev.port());
95 Link link = links.next(); 95 Link link = links.next();
96 - TrafficTreatment treatment = builder() 96 + TrafficTreatment treatment = builder(intent.treatment())
97 .setOutput(link.src().port()).build(); 97 .setOutput(link.src().port()).build();
98 98
99 FlowRule rule = new DefaultFlowRule(link.src().deviceId(), 99 FlowRule rule = new DefaultFlowRule(link.src().deviceId(),
......