Skip to content

Commit 1c10c58

Browse files
committed
fixme
1 parent 0522928 commit 1c10c58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: server/src/main/java/com/cloud/network/NetworkServiceImpl.java

+1
Original file line numberDiff line numberDiff line change
@@ -4997,6 +4997,7 @@ public PhysicalNetworkTrafficType addTrafficTypeToPhysicalNetwork(Long physicalN
49974997
if (TrafficType.Public.equals(trafficType)) {
49984998
List<String> isolationMethods = network.getIsolationMethods();
49994999
if ((isolationMethods.size() == 1 && isolationMethods.get(0).toLowerCase().equals("vxlan"))
5000+
// TODO: what happens if there are multiple isolation methods, why are multiple isolation methods allowed per pnet? They seem to be filterable by provider/preifx (PhysicalNetwork.java). Documentation says only two are allowed but code and tests contradict this.
50005001
|| (isolationMethod != null && isolationMethods.contains(isolationMethod) && isolationMethod.toLowerCase().equals("vxlan"))) {
50015002
// find row in networks table that is defined as 'Public', created when zone was deployed
50025003
NetworkVO publicNetwork = _networksDao.listByZoneAndTrafficType(network.getDataCenterId(), TrafficType.Public).get(0);

0 commit comments

Comments
 (0)