<div dir="ltr">Hi<div><br></div><div style>Something we've done in the past for some setups is to create vnets for specific users. The network has an initial set of pre-assigned IP's that can be used only by the vnet owner. An external provisioning program adds/deletes leases to the user network, when needed (e.g. run out of IP's...).</div>
<div style><br></div><div style>Maybe an approach similar to that one is useful for your use-case.</div><div style><br></div><div style>Cheers</div><div style><br></div><div style>Ruben</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, Jan 16, 2013 at 4:22 PM, Carlos Martín Sánchez <span dir="ltr"><<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</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>VNet hold/release is not meant for your use case, it was implemented to hold IPs that may be temporarily used by a physical host, or some machines not managed by OpenNebula.</div><div><br></div><div>
Maybe you could put your VM in the hold state [1], that will take the vnet lease, and you can later release the VM to be deployed.</div><div><br></div><div>Regards</div><div><br></div><div>[1] <a href="http://opennebula.org/documentation:rel3.8:vm_guide_2#life-cycle_operations" target="_blank">http://opennebula.org/documentation:rel3.8:vm_guide_2#life-cycle_operations</a><br clear="all">
<div>--<br>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div><div><div class="h5">
<br><br><div class="gmail_quote">On Wed, Jan 16, 2013 at 2:47 PM, Rolandas Naujikas <span dir="ltr"><<a href="mailto:rolandas.naujikas@mif.vu.lt" target="_blank">rolandas.naujikas@mif.vu.lt</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
When trying to configure virtual router VM I got into a problem.<br>
<br>
I want to configure its private IP fixed to some low IP (e.g. 10.1.1.1).<br>
<br>
I'm creating virtual (isolated) network X, where I defines IP_START=10.1.1.3, IP_END=10.1.1.254, but opennebula doesn't allow instantiate a VM with NIC=[IP=10.1.1.1,NETWORK=X], because 10.1.1.1 is not in range IP_START to IP_END.<br>
<br>
If I put IP_START=10.1.1.1 to X, then some other user VM could take this IP. If I put 10.1.1.1 on hold (onevnet hold), then I cannot start VM with this IP until I release it (onevnet release), but there is always some time window when someone from users could take it. It looks like onevnet hold/release is almost useless.<br>
<br>
Regards, Rolandas<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</blockquote></div><br></div></div></div>
<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
</div>