Comment 0 for bug 1664844

Revision history for this message
Mike Pontillo (mpontillo) wrote : No distinction between link-up and link-down unconfigured interfaces

If I define an interface in netplan which has no DHCP type and no addresses, it's not possible to determine if its adminStatus should be enabled (link up) or disabled (link down).

I can completely exclude an interface from the netplan configuration, but I think that implies that not only its adminStatus is "disabled" by default, but also netplan will not be able to do anything "nice" for the interface, such as rename it to what the user specified in MAAS.

If I include the interface but don't specify any addresses or DHCP, it isn't clear if it will be link up (my current assumption) or link down.

There should be a way to allow an interface to be recognized by netplan (and even partially configured, waiting for the user to run something like 'ifup <interface>' on a manual but not auto-started interface in ifupdown), but marked administratively disabled. (adminStatus down)