rules.add(connectPorts(lowerIntent.getDst(), higherIntent.getDst(), higherIntent.priority(), slots));
if (higherIntent.isBidirectional()) {
rules.add(connectPorts(lowerIntent.getSrc(), higherIntent.getSrc(), higherIntent.priority(), slots));
rules.add(connectPorts(higherIntent.getDst(), lowerIntent.getDst(), higherIntent.priority(), slots));
}
<BUG>return new FlowRuleIntent(appId, higherIntent.key(), rules, higherIntent.resources());
}</BUG>
private OpticalConnectivityIntent findOpticalConnectivityIntent(ConnectPoint src,
ConnectPoint dst,
CltSignalType signalType,

rules.add(connectPorts(lowerIntent.getDst(), higherIntent.getDst(), higherIntent.priority(), slots));
if (higherIntent.isBidirectional()) {
rules.add(connectPorts(lowerIntent.getSrc(), higherIntent.getSrc(), higherIntent.priority(), slots));
rules.add(connectPorts(higherIntent.getDst(), lowerIntent.getDst(), higherIntent.priority(), slots));
}
return new FlowRuleIntent(appId, higherIntent.key(), rules,
higherIntent.resources(),
PathIntent.ProtectionType.PRIMARY,
higherIntent.resourceGroup());
}
private OpticalConnectivityIntent findOpticalConnectivityIntent(ConnectPoint src,
ConnectPoint dst,
CltSignalType signalType,
