Sounds like we'd need to add a key under parameters: for the bond
device, as per the original description (but the device needs to be
listed in 'interfaces', and exist in the list of interfaces defined in
netplan:

ethernets:
  version: 2
  ethernets:
    eth0:
      match:
        driver: virtio
    ens4:
      match:
        driver: e1000
  bonds:
    bond0:
      interfaces: [ eth0, ens4 ]
      parameters:
        mode: active-backup
        mii-monitor-interval: 100
        primary: ens4
      dhcp4: true

This will require backporting the feature from systemd to the releases
where we need this (to xenial).

** Also affects: systemd (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: nplan (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Also affects: nplan (Ubuntu Artful)
   Importance: High
     Assignee: Mathieu Trudel-Lapierre (cyphermox)
       Status: Triaged

** Also affects: systemd (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: nplan (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Changed in: systemd (Ubuntu Zesty)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Artful)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Xenial)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Changed in: nplan (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: nplan (Ubuntu Zesty)
       Status: New => Triaged

** Changed in: nplan (Ubuntu Zesty)
   Importance: Undecided => High

** Changed in: nplan (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: nplan (Ubuntu Zesty)
     Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)

** Changed in: nplan (Ubuntu Xenial)
     Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)

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

Title:
  add bond primary parameter

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to