ovs: allow specifying a system OVS interface by MAC address
Summary
The OVS interface can be matched via MAC address; in that case, the "connection.interface-name" property of the connection is empty.
When populating the ovsdb, we need to pass the actual interface name from the device, not the one from the connection.
Fixes: 830a5a14 ('device: add support for OpenVSwitch devices')
Resolves: https://issues.redhat.com/browse/RHEL-34617
Checklist
Please read https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/CONTRIBUTING.md before opening the merge request. In particular, check that:
-
the subject for all commits is concise and explicative -
the message for all commits explains the reason for the change -
the source is properly formatted -
any relevant documentation is up to date -
you have added unit tests if applicable -
the NEWS file is updated when the change deserves to be mentioned, for example for new features, behavior changes, API deprecations, etc.