<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 6 June 2016 at 17:05, 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">Is there a chance to get rid of this vif-plugged event at all? E.g. by<br>
transitioning it to an ReST API interface? As far as I know this is the<br>
only RPC interface between neutron and nova.<br></blockquote><div><br></div><div>This handshake between Neutron and Nova does not happen over RPC</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
-----<br>
Andreas<br>
IRC: andreas_s (formerly scheuran)<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Mo, 2016-06-06 at 20:25 +0900, Akihiro Motoki wrote:<br>
> Hi,<br>
><br>
> If I understand correctly, what you need is to expose the neutron<br>
> behavior through API or something. In this particular case, neutron<br>
> need to send a vif-plugged event when neutron detects some event in<br>
> the data plane (VIF plugging in OVS or some virtual switch). Thus I<br>
> think the question can be generalized to whether we expose a<br>
> capability (such that neutron server behaves in XXX way) through API<br>
> (API version? extension?). For example, do we have an extension to<br>
> expose that neutron supports the event callback mechanism?<br>
><br>
> I also think the important point is that it is a topic of<br>
> deployment.Operators are responsible of deploying correct combination<br>
> of nova and neutron.<br>
><br>
> Honestly I am not sure we need to expose this kind of things through<br>
> API. Regarding the current event callback mechanism, we assume that<br>
> operators deploy the expected combination of releases of nova and<br>
> neutron. Can't we assume that operators deploy Newton nova and neutron<br>
> when they want to use live-migration vif-plugging support?<br>
><br>
> Akihiro<br>
><br>
> 2016-06-06 17:06 GMT+09:00 Oleg Bondarev <<a href="mailto:obondarev@mirantis.com">obondarev@mirantis.com</a>>:<br>
> > Hi,<br>
> ><br>
> > There are cases where it would be useful to know the version of Neutron (or<br>
> > any other project) from API, like during upgrades or in cross-project<br>
> > communication cases.<br>
> > For example in <a href="https://review.openstack.org/#/c/246910/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/246910/</a> Nova needs to know<br>
> > if Neutron sends vif-plugged event during live migration. To ensure this it<br>
> > should be enough to know Neutron is "Newton" or higher.<br>
> ><br>
> > Not sure why it wasn't done before (or was it and I'm just blind?) so the<br>
> > question to the community is what are possible issues/downsides of exposing<br>
> > code version through the API?<br>
> ><br>
> > Thanks,<br>
> > Oleg<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>
> ><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>
><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>
</div></div></blockquote></div><br></div></div>