Hi,
default MTU is internally represented as 0 and thus the value you are
receiving is correct.
On Thu, Sep 26, 2019 at 10:17 AM <james.holohan(a)oracle.com> wrote:
I'm trying to automate a test which checks that the default
values are
being set correctly when adding a network to a host. When I create a
network without specifying a value for the MTU, I can see from the web UI
that the default value (1500) is being used.
When I try to retrieve this MTU value from the SDK to ensure it is set
correctly, the value returned is '0'.
The same issue is not occurring if I explicitly set the MTU value when
creating the network. When the MTU value is assigned, instead of using the
default value, it is possible to retrieve it from the SDK correctly.
Is there any way I can retrieve the value for MTU from the SDK when the
default is used?
_______________________________________________
Devel mailing list -- devel(a)ovirt.org
To unsubscribe send an email to devel-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/BH72BEIAYKL...
--
Ales Musil
Associate Software Engineer - RHV Network
Red Hat EMEA <
https://www.redhat.com>
amusil(a)redhat.com IM: amusil
<
https://red.ht/sig>