<div dir="ltr">That bug is about adding things that the user can pass to the port. I think Andreas is just talking about passing data to Nova that his ML2 plugin generates. The key difference would be that adding key/value pairs to the port API that the user populates would be exposing implementation details to users.<div><br></div><div>An ML2 driver adding data to the binding information that a Nova VIF driver leverages shouldn't be a problem because the user API interaction wouldn't change.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 26, 2015 at 8:14 AM, Neil Jerram <span dir="ltr"><<a href="mailto:Neil.Jerram@metaswitch.com" target="_blank">Neil.Jerram@metaswitch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andreas,<span class=""><br>
<br>
On 26/06/15 14:04, Andreas Scheuring wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi together,<br>
for a new ml2 plugin I would like to pass over some data from neutron to<br>
nova on port creation and update (exploiting port binding extension<br>
[1]). For my prototype I thought of using one of the following response<br>
dictionaries to add my information:<br>
<br>
- binding:vif_details<br>
- binding:profile<br>
<br>
The API ref describes these attributes (port create / port update - both<br>
response) as dictionaries, but without restricting the key-value pairs<br>
or naming a defined number [1].<br>
<br>
I've also seen some other ml2 plugins enriching those fields with unique<br>
data. So I assuming this is not considered as an API change, isn't it?<br>
<br>
Important: It's only about the response. The input comes from a<br>
configuration file.<br>
<br>
<br>
Thanks<br>
<br>
<br>
[1] <a href="http://developer.openstack.org/api-ref-networking-v2-ext.html" rel="noreferrer" target="_blank">http://developer.openstack.org/api-ref-networking-v2-ext.html</a><br>
</blockquote>
<br></span>
I think the discussion at [1] is broadly in the same area, so you might find some relevant input there.<br>
<br>
        Neil<br>
<br>
<br>
[1] <a href="https://bugs.launchpad.net/neutron/+bug/1460222" rel="noreferrer" target="_blank">https://bugs.launchpad.net/neutron/+bug/1460222</a><div class="HOEnZb"><div class="h5"><br>
<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div>Kevin Benton</div></div>
</div>