<div dir="ltr">So in that case don't we need to update the type driver API to pass that through to the allocation call?</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 9, 2015 at 12:45 PM, Sławek Kapłoński <span dir="ltr"><<a href="mailto:slawek@kaplonski.pl" target="_blank">slawek@kaplonski.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
In fact we were creating our own type driver and we want to use this tenant_id<br>
so it was good that it is here :) But I was just curious why it is like that.<br>
Thanks.<br>
<span class=""><br>
--<br>
Pozdrawiam / Best regards<br>
Sławek Kapłoński<br>
<a href="mailto:slawek@kaplonski.pl">slawek@kaplonski.pl</a><br>
<br>
</span>Dnia Wednesday 09 of December 2015 09:55:36 Kevin Benton pisze:<br>
<div class="HOEnZb"><div class="h5">> It does not appear to be used. I suspect maybe the original intention is<br>
> that this could be passed to the type driver which might do something<br>
> special depending on the tenant_id. However, the type driver interface does<br>
> not include the tenant_id in 'allocate_tenant_segment' so we should either<br>
> update the type driver interface to include that or just remove it from<br>
> create_network_segments.<br>
><br>
> On Mon, Dec 7, 2015 at 9:28 AM, Sławek Kapłoński <<a href="mailto:slawek@kaplonski.pl">slawek@kaplonski.pl</a>><br>
><br>
> wrote:<br>
> > Hello,<br>
> ><br>
> > Recently I was checking something in code of ML2 Type manager<br>
> > (neutron.plugins.ml2.managers) and I found in TypeManager class in method<br>
> > create_network_segments that to this method as argument is passed<br>
> > "tenant_id"<br>
> > but I can't find where it is used.<br>
> > Can someone more experienced explain me why this tenant_id is passed there<br>
> > and<br>
> > where it is used? Thx in advance :)<br>
> ><br>
> > --<br>
> > Pozdrawiam / Best regards<br>
> > Sławek Kapłoński<br>
> > <a href="mailto:slawek@kaplonski.pl">slawek@kaplonski.pl</a><br>
> > __________________________________________________________________________<br>
> > OpenStack Development Mailing List (not for usage questions)<br>
> > Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div>Kevin Benton</div></div>
</div>