Brian O'Connor

ONOS-4383 Updating traffic selector for {MP2SP,SP2MP}IntentCompilers

Apply egress action to ingress selector for non-ingress devices

Change-Id: I98b4c591d09cc4b5d0e0ff89eaeac44ba07e6326
...@@ -18,7 +18,6 @@ package org.onosproject.cli.net; ...@@ -18,7 +18,6 @@ package org.onosproject.cli.net;
18 import org.apache.karaf.shell.commands.Argument; 18 import org.apache.karaf.shell.commands.Argument;
19 import org.apache.karaf.shell.commands.Command; 19 import org.apache.karaf.shell.commands.Command;
20 import org.onosproject.net.ConnectPoint; 20 import org.onosproject.net.ConnectPoint;
21 -import org.onosproject.net.flow.DefaultTrafficTreatment;
22 import org.onosproject.net.flow.TrafficSelector; 21 import org.onosproject.net.flow.TrafficSelector;
23 import org.onosproject.net.flow.TrafficTreatment; 22 import org.onosproject.net.flow.TrafficTreatment;
24 import org.onosproject.net.intent.Constraint; 23 import org.onosproject.net.intent.Constraint;
...@@ -59,7 +58,7 @@ public class AddSinglePointToMultiPointIntentCommand extends ConnectivityIntentC ...@@ -59,7 +58,7 @@ public class AddSinglePointToMultiPointIntentCommand extends ConnectivityIntentC
59 } 58 }
60 59
61 TrafficSelector selector = buildTrafficSelector(); 60 TrafficSelector selector = buildTrafficSelector();
62 - TrafficTreatment treatment = DefaultTrafficTreatment.emptyTreatment(); 61 + TrafficTreatment treatment = buildTrafficTreatment();
63 List<Constraint> constraints = buildConstraints(); 62 List<Constraint> constraints = buildConstraints();
64 63
65 SinglePointToMultiPointIntent intent = 64 SinglePointToMultiPointIntent intent =
......