Networking Driver 4.4
This component is in charge of configuring the network in the hypervisors. The purpose of this guide is to describe how to create a new network manager driver.
To enable a new network manager driver, the only requirement is to make a new directory with the name of the driver in /var/lib/one/remotes/vnm/remotes/<name>
with three files:
tap
interface the Virtual Machine is connected to).
exit 0
will be enough.Virtual Machine actions and their relation with Network actions:
pre
and post
clean
clean
clean
pre
and post
pre
(target host), clean
(source host), post
(target host)pre
and post
clean
All three driver actions have a first parameter which is the XML VM template encoded in base64 format.
Additionally the post
driver has a second parameter which is the deploy-id of the Virtual Machine e.g.: one-17
.