----- Original Message -----
| From: "Livnat Peer" <lpeer(a)redhat.com>
| To: "Giuseppe Vallarelli" <gvallare(a)redhat.com>
| Cc: engine-devel(a)ovirt.org
| Sent: Monday, June 24, 2013 6:31:43 PM
| Subject: Re: [Engine-devel] VNic QoS measure units and attributes.
|
| On 06/24/2013 03:07 PM, Giuseppe Vallarelli wrote:
| > Hi Ofri, I've been reading your design page for this feature [1] and and
| > I've found out
| > that there's a possible unit of measure mismatch regarding: Average, Burst
| > and Peak, clearly
| > makes sense to use Mbps on the gui but I wonder if you're aware that the
| > vdsm api expects
| > respectivly: kB/sec, kB and kB/sec (for average, burst and peak), so a
| > conversion is needed.
| > As a side note the only compulsory attribute needed to define QoS for
| > incoming and outgoing
| > traffic is average, burst and peak are optional (see [2]), this is not
| > clear by looking
| > at the mockups and description.
| >
| > Cheers, Giuseppe
| >
|
| Hi Giuseppe,
| Do you know why VDSM API exposes KB/Sec? don't you think that Mbps is
| more intuitive?
Hi Livnat, I made this choice because libvirt uses those unit of measure
and I considered vdsm to be almost at the same (low) level. This part of
the API has been already implemented/documented and discussed in a
previous thread [1]. I agree that Mbps is much more intuitive for the
end user. We can decide where we should make the conversion, if at the
engine level or in vdsm. I'm fine with both choices.
Cheers Giuseppe.
[1] Add traffic shaping parameters for a network interface.
|
|
| Livnat
|
| > [1]
http://www.ovirt.org/Features/Network_QoS
| > [2]
http://libvirt.org/formatdomain.html#elementQoS
| >
| >
| > _______________________________________________
| > Engine-devel mailing list
| > Engine-devel(a)ovirt.org
| >
http://lists.ovirt.org/mailman/listinfo/engine-devel
| >
| >