route statements without metric are silently ignored

Bug #1806456 reported by George Shuklin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
New
Undecided
Unassigned

Bug Description

If routes element have no metric key, it is silently ignored.

Example configuration:

network:
    version: 2
    renderer: networkd
    ethernets:
        ens7:
           dhcp4: true
           routes:
            - to: 192.168.1.0/24
              via: 10.160.0.1

Expected behavior:
- Warn user or reject config

Actual behavior:
Nothing in networkd configuration.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.