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

Change-Id: Ic8aceccb7cfa241648358e633b49a8ab4cc68537
This commit is contained in:
Ray Milkey 2015-02-02 10:05:12 -08:00 committed by Gerrit Code Review
parent f195b02624
commit cb33a1350f
5 changed files with 5 additions and 0 deletions

View File

@ -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());
}
}

View File

@ -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());
}
/**

View File

@ -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());
}
/**

View File

@ -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());
}
/**

View File

@ -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());
}
/**