nmstate/tests/integration
Gris Ge 19e60c1709 nm: Fix incorrect device-reapply call
When creating OVS port for OVS system interface, nmstate use the same name
for both OVS system interface connection and OVS port connection,
the `org.freedesktop.NetworkManager.GetDeviceByIpIface` will return
unexpected `NmDevice` when we try to do `device-reapply` call.

To fix this issue, all `NmApi::connection_reapply()` call should search
all existing `NmDevice` by both interface name and type.

To achieve that this patch unified the NmDevice.iface_type (integer) with
NmConnectionSetting.iface_type (string) into `enum NmifaceType`.

Integration test case included.

Resolves: https://issues.redhat.com/browse/RHEL-50556

Signed-off-by: Gris Ge <fge@redhat.com>
2024-08-20 09:34:58 +08:00
..
2024-08-19 20:37:23 +08:00
2023-11-15 17:25:26 +08:00
2019-07-03 13:45:37 +08:00
2024-01-09 22:38:32 +08:00
2024-02-21 23:27:46 +08:00
2024-01-24 15:00:28 +08:00