Ray Milkey
Committed by Gerrit Code Review

ONOS-258 - provide feedback in CLI when creating an intent.

Change-Id: Ic8aceccb7cfa241648358e633b49a8ab4cc68537
......@@ -58,6 +58,7 @@ public class AddHostToHostIntentCommand extends ConnectivityIntentCommand {
selector, treatment,
constraints);
service.submit(intent);
print("Host to Host intent submitted:\n%s", intent.toString());
}
}
......
......@@ -76,6 +76,7 @@ public class AddMultiPointToSinglePointIntentCommand extends ConnectivityIntentC
ingressPoints, egress,
constraints);
service.submit(intent);
print("Multipoint to single point intent submitted:\n%s", intent.toString());
}
/**
......
......@@ -58,6 +58,7 @@ public class AddOpticalIntentCommand extends ConnectivityIntentCommand {
Intent intent = new OpticalConnectivityIntent(appId(), ingress, egress);
service.submit(intent);
print("Optical intent submitted:\n%s", intent.toString());
}
/**
......
......@@ -70,6 +70,7 @@ public class AddPointToPointIntentCommand extends ConnectivityIntentCommand {
Intent intent = new PointToPointIntent(appId(), selector, treatment,
ingress, egress, constraints);
service.submit(intent);
print("Point to point intent submitted:\n%s", intent.toString());
}
/**
......
......@@ -79,6 +79,7 @@ public class AddSinglePointToMultiPointIntentCommand extends ConnectivityIntentC
egressPoints,
constraints);
service.submit(intent);
print("Single point to multipoint intent submitted:\n%s", intent.toString());
}
/**
......