Skip to content

[WIP] KVM: Support multi vlan trunk NICs - #14166

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

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

Conversation

@Pearl1594

Copy link
Copy Markdown
Contributor

Description

This PR adds support for multi-vlan trunk NICs
// TODO: details to be added

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

shwstppr and others added 2 commits September 14, 2026 15:29
Adds a 4.23.0 to 24.0.0 upgrade path (squashed from sb/upgradepath-424:
engine-schema: upgrade path for 24.0.0, fix CS version, fix upgrade
unit tests for cutover, fix imports).
@github-actions

Copy link
Copy Markdown

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.02469% with 217 lines in your changes missing coverage. Please review.
✅ Project coverage is 19.91%. Comparing base (dc0ba1c) to head (eb97acf).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...rc/main/java/com/cloud/vm/dao/NicNetworkMapVO.java 0.00% 58 Missing ⚠️
...in/java/com/cloud/vm/dao/NicNetworkMapDaoImpl.java 0.00% 32 Missing ⚠️
.../java/com/cloud/hypervisor/HypervisorGuruBase.java 0.00% 23 Missing ⚠️
...ervisor/kvm/resource/LibvirtComputingResource.java 0.00% 19 Missing ⚠️
...cloud/hypervisor/kvm/resource/BridgeVifDriver.java 74.64% 16 Missing and 2 partials ⚠️
...g/apache/cloudstack/api/response/HostResponse.java 0.00% 12 Missing ⚠️
...om/cloud/hypervisor/kvm/resource/LibvirtVMDef.java 46.66% 6 Missing and 2 partials ⚠️
...resource/wrapper/LibvirtPlugNicCommandWrapper.java 0.00% 6 Missing and 1 partial ⚠️
...m/resource/wrapper/LibvirtStartCommandWrapper.java 41.66% 6 Missing and 1 partial ⚠️
...pi/src/main/java/com/cloud/agent/api/to/NicTO.java 50.00% 6 Missing ⚠️
... and 8 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #14166      +/-   ##
============================================
+ Coverage     19.89%   19.91%   +0.02%     
- Complexity    20144    20208      +64     
============================================
  Files          6371     6376       +5     
  Lines        576829   577455     +626     
  Branches      70627    70709      +82     
============================================
+ Hits         114778   115022     +244     
- Misses       449507   449860     +353     
- Partials      12544    12573      +29     
Flag Coverage Δ
uitests 3.71% <ø> (ø)
unittests 21.18% <33.02%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown

🔴 Test Coverage Grade: D — Marginal

Metric Value
Line coverage 24.83%
Branch coverage 19.06%

Grade Scale

Grade Line Coverage Meaning
🟢 A ≥ 80% Excellent - this code sleeps well at night 😴
🟡 B 60-79% Good - almost there, don't stop now 😉
🟠 C 40-59% Acceptable - your code is wearing a seatbelt, but no airbags 😬
🔴 D 20-39% Marginal - boldly shipping where no test has gone before 🖖
⛔ F < 20% Failing - tests? what tests? 🔥

Branch coverage is shown as a secondary signal. Grade is determined by line coverage.
View full Actions run

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
37.8% Coverage on New Code (required ≥ 40%)

See analysis details on SonarQube Cloud

.next("4.21.0.0", new Upgrade42100to42200())
.next("4.22.0.0", new Upgrade42200to42210())
.next("4.22.1.0", new Upgrade42210to42300())
.next("4.23.0.0", new Upgrade42300to2400())

@Override
public String[] getUpgradableVersionRange() {
return new String[]{"4.23.0.0", "24.0.0"};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants