Skip to content

Conversation

@aaradhak
Copy link
Member

@aaradhak aaradhak commented Jan 6, 2026

Introduce a new test which verifies that udev rules for Azure SR-IOV network interfaces correctly mark them as unmanaged by NetworkManager. It only runs on Azure and uses Standard_D2s_v3 or larger instance type with Accelerated Networking enabled.

The test checks that SR-IOV interfaces (PCI devices with vendor drivers like mlx5_core) have the AZURE_UNMANAGED_SRIOV property set, and that NetworkManager respects this property by leaving them unmanaged.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new test to verify that Azure SR-IOV network interfaces are correctly marked as unmanaged by NetworkManager. The test script is well-structured and the logic is sound. I have one suggestion to improve the efficiency of the script by reducing redundant calls to nmcli within a loop. Overall, this is a valuable addition to the test suite.

@aaradhak aaradhak requested review from acardace, dustymabe and marmijo and removed request for acardace January 6, 2026 23:04
@aaradhak aaradhak force-pushed the azuresriov branch 2 times, most recently from 9e78dca to 8bebbcc Compare January 14, 2026 05:58
Introduce a new test which verifies that udev rules for Azure SR-IOV
network interfaces correctly mark them as unmanaged by NetworkManager.
It only runs on Azure and uses Standard_D2s_v3 or larger instance type
with Accelerated Networking enabled.

The test checks that SR-IOV interfaces (PCI devices with vendor drivers
like mlx5_core) have the AZURE_UNMANAGED_SRIOV property set, and that
NetworkManager respects this property by leaving them unmanaged.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Copy link
Member

@travier travier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Mostly nits

@@ -0,0 +1 @@
/home/aaradhak/coderepo/fedora-coreos-config No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably did not want to include this one

fi
done

nm_devices=$(nmcli -t -f DEVICE,STATE device)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks OK as is but can we get this in JSON format? That would be a bit nicer.

fi
fi
done

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@travier
Copy link
Member

travier commented Jan 14, 2026

You also have an override file that you probably don't want there: overrides/rootfs/usr/libexec/ignition-apply

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