Routed: get vm network statistics on Routed network - #13105
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.22 #13105 +/- ##
=========================================
Coverage 17.83% 17.83%
- Complexity 16023 16029 +6
=========================================
Files 5928 5928
Lines 534404 534414 +10
Branches 65399 65403 +4
=========================================
+ Hits 95290 95295 +5
- Misses 428296 428301 +5
Partials 10818 10818
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR updates the management server’s periodic VM network statistics collection logic (StatsCollector) to include routed guest networks (in addition to shared/direct-attached networks), addressing issue #11299.
Changes:
- Extend VM network stats interval config descriptions to mention both Shared and Routed networks.
- Update the VM network stats collection filter to accept routed networks (via
RoutedIpv4Manager.isRoutedNetwork(...)) in addition to direct-attached VLAN networks. - Inject
NetworkDaoandRoutedIpv4ManagerintoStatsCollectorto support routed-network detection during stats collection.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@blueorangutan package |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
@blueorangutan test |
|
This PR is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this. |
|
@blueorangutan package |
|
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 19125 |
|
@blueorangutan test keepEnv |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-16919)
|
harikrishna-patnala
left a comment
There was a problem hiding this comment.
LGTM. Tested on Routed, isolated and shared networks.
* Routed: get vm network statistics on Routed network * Potential fix for pull request finding * Create method isNetworkEligibleForNetworkStats and add unit tests
Description
This PR fixes #11299
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?