<div dir="ltr">Hi Andreas,<div><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 26, 2015 at 4:04 PM, Andreas Scheuring <span dir="ltr"><<a href="mailto:scheuran@linux.vnet.ibm.com" target="_blank">scheuran@linux.vnet.ibm.com</a>></span> 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></blockquote><div>binding:profile is an input dictionary, that should tell neutron how to bind the port. </div><div>binding:vif_details is an output dictionary that should provide nova  (or other) with enough details to plug the port properly.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<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>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Andreas<br>
(IRC: scheuran)<br>
<br>
<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>
</font></span></blockquote></div><br></div></div></div>