diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java index 29fdb24ec1..8f538bc7a6 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/compiler/OpticalCircuitIntentCompiler.java @@ -199,7 +199,8 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler slots = Collections.emptySet(); - OpticalConnectivityIntent connIntent = findOpticalConnectivityIntent(intent, multiplexingSupported); + OpticalConnectivityIntent connIntent = findOpticalConnectivityIntent(intent.getSrc(), intent.getDst(), + intent.getSignalType(), multiplexingSupported); if ((connIntent != null) && multiplexingSupported) { // Allocate TributarySlots on existing OCH ports slots = assignTributarySlots(intent, Pair.of(connIntent.getSrc(), connIntent.getDst())); @@ -302,14 +303,18 @@ public class OpticalCircuitIntentCompiler implements IntentCompiler