Thanks a lot Dan for an in-depth explanation. I think the part about fixed/floating ip assignment limitations for a VM should go into docs. <div>It will help to avoid pointless experiments.<br><br><div class="gmail_quote">

On Fri, Sep 28, 2012 at 6:36 PM, Dan Wendlandt <span dir="ltr"><<a href="mailto:dan@nicira.com" target="_blank">dan@nicira.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Hi Janis,<br><div class="im"><br><br>On Thu, Sep 27, 2012 at 3:20 PM, Jānis Ģeņģeris<br><<a href="mailto:janis.gengeris@gmail.com">janis.gengeris@gmail.com</a>> wrote:<br>> Hello,<br>><br>> What are the limitations that can be done with quantum related to NIC<br>

> configuration for individual VMs?<br>><br>> For example, is it possible to have multiple floating IPs and multiple fixed<br>> IPs assigned to the same<br>> VM (the IPs might come from the same and/or different subnets)?<br>

<br></div>The spec for all core APIs is complete and available here:<br><a href="http://docs.openstack.org/api/openstack-network/2.0/content/index.html" target="_blank">http://docs.openstack.org/api/openstack-network/2.0/content/index.html</a><br>

.  Quantum ports have a list of fixed_ips<br>(<a href="http://docs.openstack.org/api/openstack-network/2.0/content/Show_port.html" target="_blank">http://docs.openstack.org/api/openstack-network/2.0/content/Show_port.html</a>),<br>

meaning that multiple IPs are supported.<br><br>The floating IP stuff is actually an extension, not part of the core<br>API for folsom.  We're still adding content for extensions to the<br>guide (I think its under review right now... should be available early<br>

next week).  Right now the code actually limits each port to having a<br>single floating IP, but in reality, the you should probably be able to<br>have a different floating IP for each fixed_ip on the port, and in<br>fact, a different floating-ip from each external network for each<br>

fixed IP on the port (having multiple floating-IPs from the same<br>external network for a single fixed IP would lead to ambiguity when<br>SNATing connections).  I've filed this bug to track the appropriate<br>code changes: <a href="https://bugs.launchpad.net/quantum/+bug/1057844" target="_blank">https://bugs.launchpad.net/quantum/+bug/1057844</a> .  The<br>

change is very simple, and so should be easy to pull into a<br>stable/folsom release.<br><div class="im"><br><br>> How much<br>> does it depend on the chosen hypervisor?<br><br></div>None of the Quantum logic depends on the hypervisor.  What really<br>

matters is the method for how you choose to inject IP addresses into<br>the VM.  The main methods I'm aware of are filesystem injection by<br>nova, DHCP injection, or using some type of agent.  Filesystem<br>injection in particular may be hypervisor-specific.<br>

<div class="im"><br>><br>> Quantum documentation is quite recent and is still full of 'TBD', but in the<br>> current version there is nothing about<br>> the features/limitations Quantum brings to the individual VM instance<br>

> network configuration in comparison to legacy<br>> nova-network.<br><br></div>Most of the TBD's were filled in by some commits that landed<br>yesterday, but given the large amount of new functionality in Quantum<br>

during Folsom, there will definitely be some doc gaps that we need<br>users to help us identify.  I'd encourage you to file doc bugs here<br>(<a href="https://bugs.launchpad.net/openstack-manuals" target="_blank">https://bugs.launchpad.net/openstack-manuals</a>) to make sure these gaps<br>

are brought to the attention of our great docs team.<br><br>Dan<br><br>><br>> Regards,<br>> --janis<br>><br>> _______________________________________________<br>> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>

> Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>

> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>><br><span class="HOEnZb"><font color="#888888"><br><br><br>--<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>

Dan Wendlandt<br>Nicira, Inc: <a href="http://www.nicira.com/" target="_blank">www.nicira.com</a><br>twitter: danwendlandt<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></font></span></blockquote></div><br><br clear="all"><div><br></div>

-- <br>--janis</div>