summaryrefslogtreecommitdiff
path: root/templates/hosts.debian.tmpl
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2017-08-09 14:44:20 -0500
committerRyan Harper <ryan.harper@canonical.com>2017-08-15 10:54:52 -0500
commitdc2bd79949492bccdc1d7df0132f98c354d51943 (patch)
treeaba5502040d2c8d330d79115781001765d76a735 /templates/hosts.debian.tmpl
parent385d1cae1023ed89c3830a148aea02807240a07d (diff)
downloadvyos-cloud-init-dc2bd79949492bccdc1d7df0132f98c354d51943.tar.gz
vyos-cloud-init-dc2bd79949492bccdc1d7df0132f98c354d51943.zip
network: add v2 passthrough and fix parsing v2 config with bonds/bridge params
If the network-config sent to cloud-init is in version: 2 format then when rendering netplan, we can pass the content through and avoid consuming network_state elements. This removes the need for trying to map many v2 features onto network state where other renderers won't be able to use anyhow (for example match parameters for multi-interface configuration and wifi configuration support). Additionally ensure we retain bond/bridge v2 configuration in network state so when rendering to eni or sysconfig we don't lose the configuration - Drop the NotImplemented wifi exception, log a warning that it works for netplan only - Adjust unittests to new code path and output - Fix issue with v2 macaddress values getting dropped - Add unittests for consuming/validating v2 configurations LP: #1709180
Diffstat (limited to 'templates/hosts.debian.tmpl')
0 files changed, 0 insertions, 0 deletions