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;
import org.apache.karaf.shell.commands.Argument;
import org.apache.karaf.shell.commands.Command;
import org.onosproject.net.ConnectPoint;
import org.onosproject.net.flow.DefaultTrafficTreatment;
import org.onosproject.net.flow.TrafficSelector;
import org.onosproject.net.flow.TrafficTreatment;
import org.onosproject.net.intent.Constraint;
......@@ -59,7 +58,7 @@ public class AddSinglePointToMultiPointIntentCommand extends ConnectivityIntentC
}
TrafficSelector selector = buildTrafficSelector();
TrafficTreatment treatment = DefaultTrafficTreatment.emptyTreatment();
TrafficTreatment treatment = buildTrafficTreatment();
List<Constraint> constraints = buildConstraints();
SinglePointToMultiPointIntent intent =
......