[Bug 1735317] Re: Invalid YAML in docs

Launchpad Bug Tracker 1735317 at bugs.launchpad.net
Fri Feb 16 19:43:48 UTC 2018


This bug was fixed in the package nplan - 0.33

---------------
nplan (0.33) bionic; urgency=medium

  * replug: Do not unbind ath9kl_sdio. Thanks Oliver! (LP: #1741910)
  * doc: fix syntax for IPv6 example addresses. IPv6 needs to be escaped in
    YAML. (LP: #1735317)
  * debian/postinst: Write breadcrumbs on disk in /etc/network/interfaces to
    denote the migration to using netplan. (LP: #1744968)
  * bridge: implement port-priority support for the NM and networkd backends.
    (LP: #1735821)
  * doc: routes are not top-level but per-interface. (LP: #1726695)
  * Rework CLI parsing / code layout to better handle subcommands.

 -- Mathieu Trudel-Lapierre <cyphermox at ubuntu.com>  Tue, 23 Jan 2018
11:32:47 -0500

** Changed in: nplan (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  Invalid YAML in docs

Status in netplan:
  Fix Committed
Status in nplan package in Ubuntu:
  Fix Released

Bug description:
  In the documentation there are examples of YAML definitions that are
  not valid YAML syntax. Take for example:

   addresses: [192.168.14.2/24, 2001:1::1/64]

  This will error with:

  (<unknown>): found unexpected ':' while scanning a plain scalar at
  line 1 column 31

  This is because the IPv6 address has a ':' and it is not escaped.
  Putting quotes around the IPv6 address or avoiding the one line list
  format would be best.

  This occurs again in the nameservers example with:

        addresses: [8.8.8.8, FEDC::1]

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1735317/+subscriptions



More information about the foundations-bugs mailing list