mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge branch '4.13' into 4.14
This commit is contained in:
commit
db3c12d6cf
@ -2532,7 +2532,7 @@ public class NetworkOrchestrator extends ManagerBase implements NetworkOrchestra
|
|||||||
throw new InvalidParameterValueException(String.format("Failed to encode VLAN/VXLAN %s into a Broadcast URI. Physical Network cannot be null.", vlanId));
|
throw new InvalidParameterValueException(String.format("Failed to encode VLAN/VXLAN %s into a Broadcast URI. Physical Network cannot be null.", vlanId));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(StringUtils.isNotBlank(pNtwk.getIsolationMethods().get(0))) {
|
if(!pNtwk.getIsolationMethods().isEmpty() && StringUtils.isNotBlank(pNtwk.getIsolationMethods().get(0))) {
|
||||||
String isolationMethod = pNtwk.getIsolationMethods().get(0).toLowerCase();
|
String isolationMethod = pNtwk.getIsolationMethods().get(0).toLowerCase();
|
||||||
String vxlan = BroadcastDomainType.Vxlan.toString().toLowerCase();
|
String vxlan = BroadcastDomainType.Vxlan.toString().toLowerCase();
|
||||||
if(isolationMethod.equals(vxlan)) {
|
if(isolationMethod.equals(vxlan)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user