[Openstack] [Neutron] auto configration of local_ip
gustavo panizzo <gfa>
gfa at zumbi.com.ar
Thu Jan 16 14:06:09 UTC 2014
On 01/16/2014 05:41 AM, NOTSU Arata wrote:
> Hello,
>
> I'm trying to add a new configuration option for Neutron OVS agent. Although I've submitted a patch and it is being reviewed [1], I'm posting to this mailing list seeking opinion from a wider range.
>
> At present, when you deploy an environment using Neutron + OVS + GRE/VXLAN, you have to set local_ip for tunnelling in neutron agent config (typically ovs_neutron_plugin.ini). As each host has different local_ip, preparing and maintaining the config files is a cumbersome work.
>
> So, I would like to introduce automatic configuration of local_ip in Neutron. Although such a management should be done by some management system, Neutron having this feature cloud be also helpful to the deployment system. It would reduce the need for the systems to implement such a feature on their own.
>
> Anyway, with this feature, instead of setting an actual IP address to local_ip, you set some options (criteria) for choosing an IP address suitable for local_ip among IP addresses assigned to the host. At runtime, OVS agent will choose an IP address according to the criteria. You will get the same effect as you set local_ip=<the IP address> by hand.
>
> The question is, what criteria is appropriate for the purpose. The criteria being mentioned so far in the review are:
>
> 1. assigned to the interface attached to default gateway
> 2. being in the specified network (CIDR)
> 3. assigned to the specified interface
> (1 can be considered a special case of 3)
3 option is the only that have sense to me, most of our deploys have the
many subnets with the same CIDR, also when we use tunneling it don't run
over the default gateway but over a network dedicated for tunneling
i would appreciate more if i can include other config file, local to
each node, where i could put local_ip and other settings (maybe that's
already possible. i haven't tested it)
something like
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini.local being
parsed by /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
thanks
>
> Any comment would be appreciated.
>
> Thanks,
> Arata
>
>
> [1] https://review.openstack.org/#/c/64253/
>
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
--
1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140116/5b518869/attachment.html>
More information about the Openstack
mailing list