Skip to content

KVM: Support multi vlan trunk NICs - #14166

Draft
Pearl1594 wants to merge 84 commits into
mainfrom
support-multi-vlan-guestnet
Draft

Pearl1594 wants to merge 84 commits into
mainfrom
support-multi-vlan-guestnet

log Started and Completed events for associate, disassociate and prim…

89c728e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 28, 2026 in 7m 0s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ B)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 4839 in server/src/main/java/com/cloud/api/ApiResponseHelper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFpBEZopgA6P5fjfO7P&open=AaFpBEZopgA6P5fjfO7P&pullRequest=14166

Check warning on line 1724 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZhpHmdrJ_o8KkD&open=AaEYA0ZhpHmdrJ_o8KkD&pullRequest=14166

Check warning on line 832 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0kvpHmdrJ_o8Ko-&open=AaEYA0kvpHmdrJ_o8Ko-&pullRequest=14166

Check warning on line 2385 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZipHmdrJ_o8KnZ&open=AaEYA0ZipHmdrJ_o8KnZ&pullRequest=14166

Check warning on line 1924 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFqZag87x1sY6W8Dwpp&open=AaFqZag87x1sY6W8Dwpp&pullRequest=14166

Check warning on line 1719 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZhpHmdrJ_o8KkA&open=AaEYA0ZhpHmdrJ_o8KkA&pullRequest=14166

Check warning on line 2285 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFpBFE9pgA6P5fjfO7m&open=AaFpBFE9pgA6P5fjfO7m&pullRequest=14166

Check warning on line 1497 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZhpHmdrJ_o8Ki9&open=AaEYA0ZhpHmdrJ_o8Ki9&pullRequest=14166

Check warning on line 2256 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZipHmdrJ_o8KmT&open=AaEYA0ZipHmdrJ_o8KmT&pullRequest=14166

Check warning on line 1746 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFpBFE9pgA6P5fjfO7Y&open=AaFpBFE9pgA6P5fjfO7Y&pullRequest=14166

Check warning on line 1408 in engine/orchestration/src/test/java/com/cloud/vm/VirtualMachineManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "times".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYAy4ApHmdrJ_o8Kgd&open=AaEYAy4ApHmdrJ_o8Kgd&pullRequest=14166

Check warning on line 1759 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZhpHmdrJ_o8KkL&open=AaEYA0ZhpHmdrJ_o8KkL&pullRequest=14166

Check warning on line 492 in server/src/test/java/com/cloud/deploy/DeploymentPlanningManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename "avoids" which hides the field declared at line 171.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0qnpHmdrJ_o8KpS&open=AaEYA0qnpHmdrJ_o8KpS&pullRequest=14166

Check warning on line 167 in engine/schema/src/main/java/com/cloud/usage/dao/UsageNetworkOfferingDaoImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested try block into a separate method.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYAyeMpHmdrJ_o8KgP&open=AaEYAyeMpHmdrJ_o8KgP&pullRequest=14166

Check warning on line 125 in plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/motion/LinstorDataMotionStrategy.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this field injection and use constructor injection instead.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYAzmzpHmdrJ_o8KhM&open=AaEYAzmzpHmdrJ_o8KhM&pullRequest=14166

Check warning on line 2317 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZipHmdrJ_o8Km0&open=AaEYA0ZipHmdrJ_o8Km0&pullRequest=14166

Check warning on line 1508 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZhpHmdrJ_o8Kia&open=AaEYA0ZhpHmdrJ_o8Kia&pullRequest=14166

Check warning on line 652 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0kvpHmdrJ_o8Kou&open=AaEYA0kvpHmdrJ_o8Kou&pullRequest=14166

Check warning on line 739 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "mock".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFgIWzxbFp47KUrXwWy&open=AaFgIWzxbFp47KUrXwWy&pullRequest=14166

Check warning on line 1511 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZhpHmdrJ_o8Kic&open=AaEYA0ZhpHmdrJ_o8Kic&pullRequest=14166

Check warning on line 862 in server/src/test/java/com/cloud/vpc/MockNetworkManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaF51oI76cRnrVcqSFtR&open=AaF51oI76cRnrVcqSFtR&pullRequest=14166

Check warning on line 2494 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "verify".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZipHmdrJ_o8KoD&open=AaEYA0ZipHmdrJ_o8KoD&pullRequest=14166

Check warning on line 2289 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZipHmdrJ_o8KmY&open=AaEYA0ZipHmdrJ_o8KmY&pullRequest=14166

Check warning on line 2443 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaEYA0ZipHmdrJ_o8KnQ&open=AaEYA0ZipHmdrJ_o8KnQ&pullRequest=14166

Check warning on line 1970 in server/src/test/java/com/cloud/network/NetworkServiceImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a static import for "when".

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AaFpBFE9pgA6P5fjfO7j&open=AaFpBFE9pgA6P5fjfO7j&pullRequest=14166