Data required to group network cards and show if SR-IOV is available
Bug #1843024 reported by
Steve Rydz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato |
Bug Description
In the new machine summary layout there is a new network card (see attached screenshot). To implement that design the following data is required:
- A flag for each interface to show if SR-IOV is available or network
- The model and firmware version of each network card in order to group them as shown in the design
Related branches
~ack/maas:sriov-info
Merged
into
maas:master
- Blake Rouse (community): Approve
-
Diff: 244 lines (+104/-1)8 files modifiedsrc/maasserver/api/interfaces.py (+1/-0)
src/maasserver/api/tests/test_interfaces.py (+12/-0)
src/maasserver/migrations/maasserver/0200_interface_sriov_max_vf.py (+23/-0)
src/maasserver/models/interface.py (+4/-0)
src/maasserver/testing/factory.py (+3/-1)
src/maasserver/websockets/handlers/node.py (+4/-0)
src/maasserver/websockets/handlers/tests/test_device.py (+4/-0)
src/maasserver/websockets/handlers/tests/test_machine.py (+53/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in maas: | |
assignee: | nobody → Alberto Donato (ack) |
milestone: | none → 2.7.0alpha1 |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The attached branch exposes the information over websockets.
For the SR-IOV information, there is now a "sriov_max_vf" field, which reports how many VFs (virtual functions) are supported by the card.
If the count is 0, SR-IOV is not supported.
Note, however that the field is not yet populated when commissioning (will do that next), so it will currently be 0.