← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1909138] Re: cloud-init should officially support routes with source ip

 

** Changed in: cloud-init
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1909138

Title:
  cloud-init should officially support routes with source ip

Status in cloud-init:
  Fix Released

Bug description:
  cloud-init supports routes with source IPs on netplan systems (because
  it passes the configuration through to netplan).  It does not support
  this on non-netplan systems, because renderer support has not been
  written.

  [Original Report]

  https://cloudinit.readthedocs.io/en/latest/topics/network-config-
  format-v2.html does not currently mention supporting setting the
  source ip on a route.

  the following example currently works but it's not documented at this
  time.

  version: 2
  renderer: networkd
  ethernets:
    ens18:
      addresses:
        - 10.0.0.1/24
        - 10.0.0.2/24
      routes:
        - to: 10.0.1.0/24
          via: 10.0.0.3
          from: 10.0.0.1
        - to: 10.0.2.0/24
          via: 10.0.0.4
          from: 10.0.0.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1909138/+subscriptions


References