-
Notifications
You must be signed in to change notification settings - Fork 354
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
Add a simple NVMe module for NVMe Fabrics support #5328
Add a simple NVMe module for NVMe Fabrics support #5328
Conversation
This doesn't include any tests, I am not sure what we be good approach to test this, because the NVMe module basically doesn't really do anything other than calling |
9d3fa03
to
013dfff
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we will need some unit tests on this. Shall we find someone to support you on this @vojtechtrefny ?
Update: I just saw your comment. @poncovka do you have some suggestion maybe?
013dfff
to
c62fc2d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It needs unit tests, but if you just copy-paste and modify tests of one of the other module, it should be pretty straightforward.
415f37d
to
95c79af
Compare
I've added a simple unit test based on the FCoE test case and rebased the PR to the latest master to fix conflicts with the nvdimm removal change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Thank you!
95c79af
to
6ba47ce
Compare
/kickstart-test --testtype smoke |
For now we want to support only NVMe Fabrics devices that don't require manual configuration so we need to just make sure the config files in /etc/nvme are fully populated before the installer starts and after the installation copied to the installed system. This is covered by calling the 'startup' and 'write' functions of the Blivet's NVMe module.
6ba47ce
to
388d47c
Compare
/kickstart-test --testtype smoke |
For now we want to support only NVMe Fabrics devices that don't require manual configuration so we need to just make sure the config files in /etc/nvme are fully populated before the installer starts and after the installation copied to the installed system. This is covered by calling the 'startup' and 'write' functions of the Blivet's NVMe module.