Public bug reported:
OS: Ubuntu 17.10
Package version: 0.30
In systemd-networkd, the unit used for the netdev 'MIIMonitorSec' option
is 'second'. In order to set a MII monitoring interval including
fractions of a second, this option accepts floating values, for example
'MIIMonitorSec=0.1'.
In netplan, specifying 'mii-monitor-interval: 1' will translate into
'MIIMonitorSec=1'. However, specifying 'mii-monitor-interval: 0.1' will
not pass yaml validation:
Error in network definition //etc/netplan/01-netcfg.yaml line 14 column
30: invalid unsigned int value 0.1
Since netplan will only accept unsigned integer values for mii-monitor-
interval, there is no way to setting this interval to any value except
for whole seconds. In most scenarios, a sub-second interval is desirable
for this option.
** Affects: nplan (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1726822
Title:
unable to specify MII monitoring interval in fractions of a second
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1726822/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs