mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-24 05:41:01 +02:00
log more details on unsupported installable error
Change-Id: I394123348e50d4c2bfd3c0fffda0707c30eefdf5
This commit is contained in:
parent
b40e945875
commit
d5324f3d61
@ -326,9 +326,9 @@ class IntentInstaller {
|
||||
List<Intent> installIntents = Lists.newArrayList(install.installables());
|
||||
|
||||
checkState(uninstallIntents.stream().allMatch(this::isSupported),
|
||||
"Unsupported installable intents detected");
|
||||
"Unsupported installable intents detected: %s", uninstallIntents);
|
||||
checkState(installIntents.stream().allMatch(this::isSupported),
|
||||
"Unsupported installable intents detected");
|
||||
"Unsupported installable intents detected: %s", installIntents);
|
||||
|
||||
//TODO: Filter FlowObjective intents
|
||||
// Filter out same intents and intents with same flow rules
|
||||
@ -388,7 +388,7 @@ class IntentInstaller {
|
||||
IntentData data = intentData.get();
|
||||
List<Intent> intentsToApply = data.installables();
|
||||
checkState(intentsToApply.stream().allMatch(this::isSupported),
|
||||
"Unsupported installable intents detected");
|
||||
"Unsupported installable intents detected: %s", intentsToApply);
|
||||
|
||||
if (direction == Direction.ADD) {
|
||||
trackerService.addTrackedResources(data.key(), data.intent().resources());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user