Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA-371311: Handle network USB devices as PCI for interface rename #125

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

freddy77
Copy link
Collaborator

@freddy77 freddy77 commented Feb 9, 2024

Currently the presence of any network USB device causes issues with the interface rename due to not being considered during the rename.
For instance this causes collisions causing renames to fail due to destination name already used.

Copy link

codecov bot commented Feb 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (feeb478) 83.25% compared to head (a48151a) 83.26%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #125   +/-   ##
=======================================
  Coverage   83.25%   83.26%           
=======================================
  Files          22       22           
  Lines        3363     3365    +2     
=======================================
+ Hits         2800     2802    +2     
  Misses        563      563           
Flag Coverage Δ
unittest 83.26% <100.00%> (+<0.01%) ⬆️

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

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

xcp/net/biosdevname.py Outdated Show resolved Hide resolved
@freddy77 freddy77 requested a review from andyhhp February 9, 2024 15:13
xcp/net/biosdevname.py Outdated Show resolved Hide resolved
Currently the presence of any network USB device causes issues
with the interface rename due to not being considered during the
rename.
For instance this causes collisions causing renames to fail
due to destination name already used.

Signed-off-by: Frediano Ziglio <[email protected]>
@andyhhp andyhhp merged commit a17b271 into xenserver:master Feb 12, 2024
6 checks passed
@freddy77 freddy77 deleted the support_usb_nics branch February 12, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants