discover: allow separate lifetimes for network interfaces and discover devices