[openstack-dev] [Neutron][ml2][Manila] API to query segments used during port binding
ihrachys at redhat.com
Mon Feb 29 14:48:59 UTC 2016
Fixed neutron tag in the subject.
Marc <marc at koderer.com> wrote:
> Hi Neutron team,
> I am currently working on a feature for hierarchical port binding support
> Manila  . Just to give some context: In the current implementation
> creates a neutron port but let it unbound (state DOWN). Therefore Manila
> the port create only retrieve an IP address and segmentation ID (some
> only support VLAN here).
> My idea is to change this behavior and do an actual port binding action
> so that
> the configuration of VLAN isn’t a manual job any longer. And that
> and HPB is supported on the long-run.
> My current issue is: How can Manila retrieve the segment information for a
> bound port? Manila only is interested in the last (bottom) segmentation ID
> since I assume the storage is connected to a ToR switch.
> Database-wise it’s possible to query it using ml2_port_binding_levels
> But AFAIK there is no API to query this. The only information that is
> are all segments of a network. But this is not sufficient to identify which
> segments actually used for a port binding.
> SAP SE
> : https://review.openstack.org/#/c/277731/
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
More information about the OpenStack-dev