[Bug 1726822] Re: unable to specify MII monitoring interval in fractions of a second

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Mon Apr 30 13:48:05 UTC 2018


*** This bug is a duplicate of bug 1765833 ***
    https://bugs.launchpad.net/bugs/1765833

** This bug is no longer a duplicate of bug 1745597
   mii-monitor-interval unit is undocumented, and may be wrong
** This bug has been marked a duplicate of bug 1765833
   bond intervals default to seconds; breaks existing configs

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
https://bugs.launchpad.net/bugs/1726822

Title:
  unable to specify MII monitoring interval in fractions of a second

Status in nplan package in Ubuntu:
  In Progress

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nplan/+bug/1726822/+subscriptions



More information about the foundations-bugs mailing list