I have a customer who is migrating their cloud from Xenial/Mitaka to Bionic/Queens, and has begun the exercise of migrating their network topologies to netplan, but found that it does not support creating dummy interfaces (or, apparently support for OVS at this point[0]).
There is a bit of a workaround using a systemd unit, which may close the gap temporarily, but it may not apply to all environments (pseudocode below)
I have a customer who is migrating their cloud from Xenial/Mitaka to Bionic/Queens, and has begun the exercise of migrating their network topologies to netplan, but found that it does not support creating dummy interfaces (or, apparently support for OVS at this point[0]).
There is a bit of a workaround using a systemd unit, which may close the gap temporarily, but it may not apply to all environments (pseudocode below)
[Unit] target
Description=Create dummy interface
After=network.
[Service]
Type=oneshot
ExecStart=/sbin/ip li add dummy0 type dummy
I'd like to see native support in netplan for dummy interfaces, if possible.
[0] https:/ /bugs.launchpad .net/netplan/ +bug/1728134