[Openstack] quantum: two ips one vif

Jason Kölker jason at koelker.net
Tue Oct 23 22:38:13 UTC 2012


On Tue, 2012-10-23 at 15:14 -0700, Dan Wendlandt wrote:
> can you post your libvirt xml for the VM?  It maybe well be libvirt
> filtering if you are using the OVS Hybrid vif driver:
> 
> for example, a VM would have xml like:
> 
>       <filterref filter='nova-instance-instance-00000001-fa163e0569ba'>
>         <parameter name='DHCPSERVER' value='10.0.0.2'/>
>         <parameter name='IP' value='10.0.0.3'/>
>         <parameter name='PROJMASK' value='255.255.0.0'/>
>         <parameter name='PROJNET' value='10.0.0.0'/>
>       </filterref>
> 
> I'm not sure what the nova code would generate for multiple IPs.

Libvirt's driver only supports 1 ip per interface. It needs to be
updated to use the newer network models and not depend on the code in
nova.virt.netutils.get_injected_network_template.

Happy Hacking!

7-11





More information about the Openstack mailing list