Laurent Vivier 148fbf0d58 net: stream: add a new option to automatically reconnect
In stream mode, if the server shuts down there is currently
no way to reconnect the client to a new server without removing
the NIC device and the netdev backend (or to reboot).

This patch introduces a reconnect option that specifies a delay
to try to reconnect with the same parameters.

Add a new test in qtest to test the reconnect option and the
connect/disconnect events.

Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2023-02-17 13:31:33 +08:00
..
2022-06-24 17:07:06 +02:00
2020-08-03 08:28:08 +02:00
2022-06-15 16:43:42 +01:00
2022-05-16 07:31:26 +02:00
2022-03-22 14:46:17 +04:00
2020-08-03 08:28:08 +02:00
2020-08-03 08:28:08 +02:00
2021-11-09 18:21:19 +01:00
2021-01-13 10:21:17 +01:00