Virtlet tapmanager

Virtlet tapmanager

Virtlet tapmanger controls the setup of VM networking using CNI that is started by the virtlet command, since tapmanger uses the same virtlet binary.

The Virtlet tapmanger process has the following functionality:

  • Take the setup requests from the Virtlet manager and set up networking for a VM by producing an open file descriptor that corresponds to the TAP device.

  • Run DHCP server for each active VM.

  • Handle requests from vmwrapper by sending the file descriptor over a Unix domain socket to vmwrapper. As a result, this file descriptor can be used in another mount namespace of a container. And you do not need a shared access to the directory containing network namespaces.

  • Remove a VM network upon the Virtlet manager requests.