User unable to add a VF type interface including the --max-tx-rate parameters from Horizon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Lucas Ratusznei Fonseca |
Bug Description
Brief Description
-----------------
On an unlocked AIO-SX system the feature description suggests that the interface should be able to be added with max-tx-rate.
There is not place in the Add interface dialog to specify the max-tx-rate.
Severity
--------
Minor
Steps to Reproduce
------------------
Attempt to create an interfaces on simplex system (unlocked or not) with the max-tx-rate eg. equivalent to the following:
system host-if-add -c pci-sriov controller-0 sriov3 vf sriov0 -N 4 --vf-driver=vfio --max-tx-rate 450
eg. In Horizon Create Interface dialog, specify
Interface name
Interface class : pci-sriov
Interface Type: vf
VF Driver eg. vfio (or select netdevice)
Select Interface eg. sriov0
Select the data network
Attempt to specify the max tx rate
Expected Behavior
------------------
Expect to be able to do the equivalent of the cli command
Actual Behavior
----------------
max tx rate can not be set
Reproducibility
---------------
100% reproducible
System Configuration
-------
AIO-SX
Branch/Pull Time/Commit
-------
N/A
Last Pass
---------
N/A
Timestamp/Logs
--------------
Test Activity
-------------
Regression
Workaround
----------
Have to lock the host to update this if the interface after creating interface in Horizon
$ system host-if-modify -r 450 controller-0 2be4739d-
{+}----
|Property|Value|
{+}----
|ifname|sriov7|
|iftype|vf|
|ports|[]|
|imac|68:
|imtu|600|
|ifclass|pci-sriov|
|ptp_role|none|
|aemode|None|
|schedpolicy|None|
|txhashpolicy|None|
|primary_
|uuid|2be4739d-
|ihost_
|vlan_id|None|
|uses|[u'sriov0']|
|used_by|[]|
|created_
|updated_
|sriov_numvfs|4|
|sriov_
|max_tx_rate|450|
|accelerated|
{+}----
Changed in starlingx: | |
assignee: | nobody → Lucas Ratusznei Fonseca (lratuszn) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.8.0 stx.gui stx.networking |
Fix proposed to branch: master /review. opendev. org/c/starlingx /gui/+/ 868766
Review: https:/