Detect and identify NIC SR-IOV capability
Bug #1572740 reported by
Christian Reis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Wishlist
|
Andres Rodriguez |
Bug Description
NICs that present SR-IOV functionality have sysfs nodes that look like this:
/sys/
That entry allows one to specify the number of virtual functions the device exposes.
More detail on this is at https:/
Upon commissioning MAAS should check whether each NIC has the sysfs sriov_numvfs entry and mark the NIC as SR-IOV capable.
A question is how to "mark the NIC" with this ability. Do we have extensible NIC metadata? Or is this just worth adding to the DB schema?
Related branches
lp:~andreserl/maas/lp1572740
- Andres Rodriguez (community): Approve
- Blake Rouse (community): Approve
-
Diff: 129 lines (+78/-0)3 files modifiedsrc/metadataserver/models/commissioningscript.py (+24/-0)
src/metadataserver/models/tests/test_commissioningscript.py (+38/-0)
src/provisioningserver/refresh/node_info_scripts.py (+16/-0)
Changed in maas: | |
milestone: | none → next |
status: | New → Triaged |
importance: | Undecided → Wishlist |
milestone: | next → 2.1.0 |
Changed in maas: | |
assignee: | nobody → Newell Jensen (newell-jensen) |
Changed in maas: | |
milestone: | 2.1.0 → 2.0.0 |
assignee: | Newell Jensen (newell-jensen) → Andres Rodriguez (andreserl) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi Kiko,
Do you have a system that reflects this? I was looking at a system with SR-IOV and couldnt; fine any references to sriov_numvfs