Hi Simon

<div><br></div><div>We initially started with a totally autonomous execution model as in the other drivers. However it didn't work, as the networking operations are tightly coupled  with the VM ones. For example in the case of a live-migrations you have to:</div>

<div>1.- pre-start the network in host B</div><div>2.- live-migrate VM</div><div>3.- clean-up network in host A</div><div>4.- post-start the network in host B</div><div><br></div><div>So it is quite more simple to keep this orchestration at the VMM level and call the VNM from there.</div>

<div><br></div><div>If you are using the VMM wrapper the networking actions will be called for you. If you plan to talk to the OpenNebula core directly you need to do the networking calls in your new driver. </div><div><br>

</div><div>Hope this helps</div><div><br></div><div>Cheers</div><div><br></div><div>Ruben</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 23, 2012 at 4:04 AM, Simon Boulet <span dir="ltr"><<a href="mailto:simon@nostalgeek.com" target="_blank">simon@nostalgeek.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div><br></div><div>I'm working on a custom set of drivers for OpenNebula. From my research, I understand that the OpenNebula VMM wrapper (one_vm_exec or one_vm_ssh) is responsible for doing the appropriate calls to the VNM (and to the VMM) when doing VM actions. Is there any particular reasons why the VNM isn't spawned and called directly by the OpenNebula core, like the other drivers are (VMM, IM, Datastore, etc).</div>


<div><br></div><div>Am I right to assume that my custom VMM would need to spawn the VNM driver as per the VM template <NET_DRV> attribute?</div><div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>

<br></div><div>Simon</div>
</font></span><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula<br>


</div>