<div dir="ltr">Good morning Sam,<div><br></div><div>As you say, your requirement cannot be satisfied today. The option you mention provided a nice workaround but did not fully solve your problem.</div><div>I think in order to satisfy it Neutron could either:</div><div>1) Specify this on a per-network setting in Neutron</div><div>2) Enable VIF usage tracking grouping it by networks and apply a limit of 1</div><div>3) A combination of the previous two where VIF usage limiting is enforce only on selected networks</div><div><br></div><div>I think #2 alone would satisfy your requirement. </div><div><br></div><div>On the other you could have also your requirement satisfied by adding something in nova, but since allow_duplicate_networks is being deprecated I'm not sure it makes sense to reintroduce something which is semantically similar.</div><div><br></div><div>At this stage - since Mitaka dev cycle just started - I would suggest to file a Neutron RFE bug [1] if you have not already done so.</div><div><br></div><div>Salvatore</div><div><br></div><div>[1] <a href="http://docs.openstack.org/developer/neutron/policies/blueprints.html#rfe-submission-guidelines">http://docs.openstack.org/developer/neutron/policies/blueprints.html#rfe-submission-guidelines</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 September 2015 at 07:07, Sam Morrison <span dir="ltr"><<a href="mailto:sorrison@gmail.com" target="_blank">sorrison@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We are in the process of migrating to neutron and have come across this handy config option that is sadly being deprecated. (seems to be a theme of mine this week)<br>
Does anyone know if this is supported in some other way?<br>
<br>
We have limited IP addresses and ideally we’d like to prevent users from taking more than 1 per instance. I’m wondering if this should be a neutron setting and could be set on a per network basis. We’d like to prevent duplicates on our public provider networks but don’t care about the private tenant networks.<br>
<br>
Anyone got any ideas or know of anything happening in this space?<br>
<br>
Cheers,<br>
Sam<br>
<br>
<br>
<br>
cfg.BoolOpt('allow_duplicate_networks',<br>
               default=False,<br>
               help='DEPRECATED: Allow an instance to have multiple vNICs '<br>
                    'attached to the same Neutron network. This option is '<br>
                    'deprecated in the 2015.1 release and will be removed '<br>
                    'in the 2015.2 release where the default behavior will '<br>
                    'be to always allow multiple ports from the same network '<br>
                    'to be attached to an instance.',<br>
               deprecated_for_removal=True),<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
</blockquote></div><br></div>