Skip to content

utils: extend connection matching function for UUID in controller

Fernando Fernández Mancera requested to merge ff/revert_uuid_con_master into main
When matching two connections one might be using UUID and the other one
could be using interface-name for the controller property. When
recovering from a fresh start NM does not have any context and when
generating a connection we are using UUID as the controller.

It is always hard to guess what is the right candidate to pick but at
least something NM can do is checking if the UUID matches a connection
with the same controller interface-name. If there are no other
conflicts, then we can assume that is a good canditate to activate.

This is a follow up to `dc254f90e2b306700a0b81f7194e9b0438c62f4c`.
Edited by Fernando Fernández Mancera

Merge request reports