[Bug 1709135] [NEW] add bond primary parameter

Ryan Harper 1709135 at bugs.launchpad.net
Mon Aug 7 17:30:06 UTC 2017


Public bug reported:

ifenslave/eni support a bond parameter:  bond-primary which accepts an
interface name that can be used to tell the kernel bonding driver which
interface it should preferred in active-backup (and other modes).  This
config option is missing in netplan.

 % cat bond-primary.yaml 
ethernets:
  version: 2
  ethernets:
    eth0:
      match:
        driver: virtio
    ens4:
      match:
        driver: e1000
  bonds:
    bond0:
      parameters:
        mode: active-backup
        mii-monitor-interval: 100
        primary: e1000
      dhcp4: true

% ./generate -r `pwd`/target 
Error in network definition /home/rharper/work/git/netplan/target//etc/netplan/bond-primary.yaml line 12 column 8: unknown key primary

** Affects: nplan (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1709135

Title:
  add bond primary parameter

Status in nplan package in Ubuntu:
  New

Bug description:
  ifenslave/eni support a bond parameter:  bond-primary which accepts an
  interface name that can be used to tell the kernel bonding driver
  which interface it should preferred in active-backup (and other
  modes).  This config option is missing in netplan.

   % cat bond-primary.yaml 
  ethernets:
    version: 2
    ethernets:
      eth0:
        match:
          driver: virtio
      ens4:
        match:
          driver: e1000
    bonds:
      bond0:
        parameters:
          mode: active-backup
          mii-monitor-interval: 100
          primary: e1000
        dhcp4: true

  % ./generate -r `pwd`/target 
  Error in network definition /home/rharper/work/git/netplan/target//etc/netplan/bond-primary.yaml line 12 column 8: unknown key primary

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



More information about the foundations-bugs mailing list