ovf: network config store routes under nic subnets 'routes' key

Bug #1806103 reported by Ryan Harper on 2018-11-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init (Ubuntu)
Undecided
Unassigned

Bug Description

When generating a network-config (v1), any routes should be provided under the scope of a subnet.
For some renderers (eni) using the top-level routes in the config will 'accidentally' work due to ifupdown implementation, however, routes should instead be scoped under a network devices subnets.
Other renderers like netplan and sysconfig, need to know the network device name to ensure the route is created correctly.

Fixing this allows OVF network customizations which use a GATEWAY value and not primary to include the gateway configuration. This was partially address in LP: #1766538 however it does not work for all net renderers.

Related branches

This bug is fixed with commit cb44ad6f to cloud-init on branch master.
To view that commit see the following URL:
https://git.launchpad.net/cloud-init/commit/?id=cb44ad6f

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers