<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 11, 2013 at 4:41 PM, Marco Fornaro <span dir="ltr"><<a href="mailto:Marco.Fornaro@huawei.com" target="_blank">Marco.Fornaro@huawei.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="SV" link="blue" vlink="purple">
<div>
<p class=""><span lang="EN-US">Hi All,<u></u><u></u></span></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US">(I already posted this on openstack mail list, but perhaps it’s more a developer stuff
</span><span lang="EN-US" style="font-family:Wingdings">J</span><span lang="EN-US">)<u></u><u></u></span></p>
<p class=""><span lang="EN-US">Some Tricky questions I ask help for (email 1 of 2):<u></u><u></u></span></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><b><span lang="EN-US" style="font-size:14pt">Quantum Network object<u></u><u></u></span></b></p>
<p class=""><span lang="EN-US">In the “openstack networking guide”->”Using Openstack compute with Openstack”->” Advanced VM creation” (</span><a href="http://docs.openstack.org/grizzly/openstack-network/admin/content/advanceed_vm_creation.html" target="_blank"><span lang="EN-US">http://docs.openstack.org/grizzly/openstack-network/admin/content/advanceed_vm_creation.html</span></a><span lang="EN-US">)
there are example boot a VM on one or more NETWORKs (meaning the quantum Network object): <u></u><u></u></span></p>
<p class=""><span lang="EN-US" style="font-size:10pt;font-family:'Courier New';color:rgb(35,48,45)">nova boot --image <img> --flavor <flavor> \<u></u><u></u></span></p>
<p class=""><b><span lang="EN-US" style="font-size:10pt;font-family:'Courier New';color:rgb(35,48,45)">--nic net-id=<net1-id> --nic net-id=<net2-id></span></b><span lang="EN-US" style="font-size:10pt;font-family:'Courier New';color:rgb(35,48,45)"> <vm-name><u></u><u></u></span></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US">BUT if you look at the description of the network object in the API abstraction it looks like a collection of subnets (meaning the quantum object), so basically a collection of IP Addresses like <a href="http://192.168.100.0/24" target="_blank">192.168.100.0/24</a><u></u><u></u></span></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><b><span lang="EN-US" style="font-size:14pt">SO (first question): what happens in the network where I boot the VM has more than a subnet?...I suppose the VM should have a nic for EACH subnet of the network!</span></b></p>
</div></div></blockquote><div>You will just get a nic for each network, not for each subnet of the network. to choose the subnet, use --nic net-id=net-uuid,v4-fixed-ip=ip-addr</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="SV" link="blue" vlink="purple"><div><p class=""><b><span lang="EN-US" style="font-size:14pt"><u></u><u></u></span></b></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><b><span lang="EN-US" style="font-size:14pt">THEN (second question): why do I need a network object? Shouldn’t it be more practical to have just the subnet object?..why do I need to create a Network if it’s just a collection of subnets?</span></b></p>
</div></div></blockquote><div>under the hood, the traffic among networks are isolated by tunnel id, vlan id or something else. You can create networks with just one subnet, but the vlan id will run out soon if vlan is used.</div>
<div>we can have many networks, and the subnets within network can have overlap IPs.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div lang="SV" link="blue" vlink="purple"><div><p class=""><b><span lang="EN-US" style="font-size:14pt"><u></u><u></u></span></b></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US">Thanks in advance for any help<u></u><u></u></span></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US">Best Regards<span class=""><font color="#888888"><u></u><u></u></font></span></span></p><span class=""><font color="#888888">
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US">Marco<u></u><u></u></span></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
<p class=""><span lang="EN-US"><u></u> <u></u></span></p>
</font></span></div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>