diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2017-08-09 14:44:20 -0500 |
---|---|---|
committer | Ryan Harper <ryan.harper@canonical.com> | 2017-08-15 10:54:52 -0500 |
commit | dc2bd79949492bccdc1d7df0132f98c354d51943 (patch) | |
tree | aba5502040d2c8d330d79115781001765d76a735 /doc | |
parent | 385d1cae1023ed89c3830a148aea02807240a07d (diff) | |
download | vyos-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 'doc')
0 files changed, 0 insertions, 0 deletions