Skip to content

KVM: Support multi vlan trunk NICs - #14166

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

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

Carry trunk nic associations across assignVirtualMachine account moves

6da1e9a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Oct 7, 2026 in 6m 17s

Quality Gate failed

Failed conditions
38.0% Coverage on New Code (required ≥ 40%)
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 warning on line 519 in server/src/test/java/com/cloud/deploy/DeploymentPlanningManagerImplTest.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=AaEYA0qnpHmdrJ_o8Kpi&open=AaEYA0qnpHmdrJ_o8Kpi&pullRequest=14166

Check warning on line 1626 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_o8Kji&open=AaEYA0ZhpHmdrJ_o8Kji&pullRequest=14166

Check warning on line 629 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 158 in server/src/test/java/com/cloud/network/router/CommandSetupHelperTest.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=AaEYA0awpHmdrJ_o8KoP&open=AaEYA0awpHmdrJ_o8KoP&pullRequest=14166

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the body of this try/catch to have only one invocation possibly throwing a runtime exception.

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

Check warning on line 627 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_o8Kos&open=AaEYA0kvpHmdrJ_o8Kos&pullRequest=14166

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

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

Check warning on line 2209 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 "never".

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

Check warning on line 507 in server/src/test/java/com/cloud/deploy/DeploymentPlanningManagerImplTest.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=AaEYA0qnpHmdrJ_o8Kpa&open=AaEYA0qnpHmdrJ_o8Kpa&pullRequest=14166

Check warning on line 1988 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_o8Kl1&open=AaEYA0ZipHmdrJ_o8Kl1&pullRequest=14166

Check warning on line 2162 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_o8Km5&open=AaEYA0ZipHmdrJ_o8Km5&pullRequest=14166

Check warning on line 1625 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_o8Kjh&open=AaEYA0ZhpHmdrJ_o8Kjh&pullRequest=14166

Check warning on line 2163 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_o8Km6&open=AaEYA0ZipHmdrJ_o8Km6&pullRequest=14166

Check warning on line 2185 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_o8KnJ&open=AaEYA0ZipHmdrJ_o8KnJ&pullRequest=14166

Check warning on line 1854 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_o8KlG&open=AaEYA0ZipHmdrJ_o8KlG&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=AaEYA0ZipHmdrJ_o8Klx&open=AaEYA0ZipHmdrJ_o8Klx&pullRequest=14166

Check warning on line 1681 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_o8KkF&open=AaEYA0ZhpHmdrJ_o8KkF&pullRequest=14166

Check warning on line 2271 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_o8Knv&open=AaEYA0ZipHmdrJ_o8Knv&pullRequest=14166

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this and every subsequent useless "eq(...)" invocation; pass the values directly.

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

Check warning on line 2251 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 1782 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_o8Kku&open=AaEYA0ZipHmdrJ_o8Kku&pullRequest=14166

Check warning on line 2089 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_o8KmR&open=AaEYA0ZipHmdrJ_o8KmR&pullRequest=14166

Check warning on line 1829 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_o8Kk8&open=AaEYA0ZipHmdrJ_o8Kk8&pullRequest=14166

Check warning on line 1777 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_o8Kkr&open=AaEYA0ZipHmdrJ_o8Kkr&pullRequest=14166

Check warning on line 1683 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=AaEYA0ZhpHmdrJ_o8KkI&open=AaEYA0ZhpHmdrJ_o8KkI&pullRequest=14166