<div dir="ltr">Thanks Toni, after some thought process, to me also also addressSpace approach making sense. We can map neutron addressScopes to docker addressSpaces.<div><br></div><div>Have drafted a blueprint here [1]. I think i have got enough clarity on approach. Will be pushing a spec for this soon.</div><div><br></div><div><br></div><div><br></div><div>Thanks</div><div>Vikas<br><div><br></div><div> [1]<a href="https://blueprints.launchpad.net/kuryr/+spec/address-scopes-spaces">https://blueprints.launchpad.net/kuryr/+spec/address-scopes-spaces</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 28, 2016 at 1:54 AM, Antoni Segura Puimedon <span dir="ltr"><<a href="mailto:toni+openstackml@midokura.com" target="_blank">toni+openstackml@midokura.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, May 26, 2016 at 9:48 PM, Vikas Choudhary <span dir="ltr"><<a href="mailto:choudharyvikas16@gmail.com" target="_blank">choudharyvikas16@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>Recently, Banix observed and brought into notice this issue [1].</div><div><br></div><div>To solve this, i could think of two approaches:</div><div>1. Modifying the libnetwork apis to get PoolID also at network creation.</div><div>     OR </div><div>2. Enhancing the /network docker api to get PoolID details also</div><div><br></div><div>Problem with the first approach is that it is changing libnetwork interface which is common for all remote drivers and thus chances of any break-ups are high. So I preferred second one.</div><div><br></div><div>Here is the patch I pushed to docker [2].</div><div><br></div><div>Once this is merged, we can easily fix this issue by tagging poolID to neutron networks and filtering subnets at address request time based on this information.</div><div><br></div><div>Any thoughts/suggestions?</div></div></blockquote><div><br></div></span><div>I think following the address scope proposal at [2] is the best course of action. Thanks for taking<br></div><div>it up with Docker upstream!<br> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><div dir="ltr"><div><br></div><div><br></div><div>Thanks</div><div>Vikas</div><div><br></div><div>[1] <a href="https://bugs.launchpad.net/kuryr/+bug/1585572" target="_blank">https://bugs.launchpad.net/kuryr/+bug/1585572</a></div><div>[2] <a href="https://github.com/docker/docker/issues/23025" target="_blank">https://github.com/docker/docker/issues/23025</a></div></div>
<br></span>__________________________________________________________________________<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></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></div></div>