<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Neutron team,</div><div class=""><br class=""></div><div class="">I am currently working on a feature for hierarchical port binding support in</div><div class="">Manila [1] [2]. Just to give some context: In the current implementation Manila</div><div class="">creates a neutron port but let it unbound (state DOWN). Therefore Manila uses</div><div class="">the port create only retrieve an IP address and segmentation ID (some drivers</div><div class="">only support VLAN here).</div><div class=""><br class=""></div><div class="">My idea is to change this behavior and do an actual port binding action so that</div><div class="">the configuration of VLAN isn’t a manual job any longer. And that multi-segment</div><div class="">and HPB is supported on the long-run.</div><div class=""><br class=""></div><div class="">My current issue is: How can Manila retrieve the segment information for a</div><div class="">bound port? Manila only is interested in the last (bottom) segmentation ID</div><div class="">since I assume the storage is connected to a ToR switch.</div><div class=""><br class=""></div><div class="">Database-wise it’s possible to query it using ml2_port_binding_levels table.</div><div class="">But AFAIK there is no API to query this. The only information that is exposed</div><div class="">are all segments of a network. But this is not sufficient to identify which</div><div class="">segments actually used for a port binding.</div><div class=""><br class=""></div><div class="">Regards</div><div class="">Marc</div><div class="">SAP SE</div><div class=""><br class=""></div><div class="">[1]: <a href="https://wiki.openstack.org/wiki/Manila/design/manila-newton-hpb-support" class="">https://wiki.openstack.org/wiki/Manila/design/manila-newton-hpb-support</a></div><div class="">[2]: <a href="https://review.openstack.org/#/c/277731/" class="">https://review.openstack.org/#/c/277731/</a></div></body></html>