VDE connection self-restarting nested module
This nested module automatically restarts a VDE module in the event of a service failure.
This module of libvdeplug4 can be used in any program supporting VDE like vde_plug, vdens, kvm, qemu, user-mode-linux and virtualbox.
Requirements: vdeplug4.
vdeplug_restart uses cmake, so the standard procedure to build and install this vdeplug plugin module is the following:
$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make installThe following examples are VNLs (Virtual Network Locator) to be used with programs supporting vde as specified by the syntax of those programs.
restart://{vde:///tmp/sw}
This configuration checks every 20 seconds whether the connection to the switch is operational. If a failure is detected, the module attempts to reconnect to the switch every 20 seconds
restart://3{vde:///tmp/sw}
This is equivalent to the previous example, except that the polling period for checking the service and attempting reconnection is 3 seconds instead of the default 20 seconds.
See the man page (libvdeplug_restart) for more information.