<html><body><p><font size="2">Thanks for your info ,really helpful </font><br><br><font size="2">Best Regards! <br><br>Kevin (Chen) Ji ¼Í ³¿<br><br>Engineer, zVM Development, CSTL<br>Notes: Chen CH Ji/China/IBM@IBMCN   Internet: jichenjc@cn.ibm.com<br>Phone: +86-10-82451493<br>Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, Beijing 100193, PRC </font><br><br><img width="16" height="16" src="cid:1__=8FBB08FFDF980F1A8f9e8a93df938690918c8FB@" border="0" alt="Inactive hide details for Andreas Scheuring ---04/10/2018 10:19:21 PM---Yes, that¡¯s how it works! ---"><font size="2" color="#424282">Andreas Scheuring ---04/10/2018 10:19:21 PM---Yes, that¡¯s how it works! ---</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Andreas Scheuring <scheuran@linux.vnet.ibm.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">"OpenStack Development Mailing List (not for usage questions)" <openstack-dev@lists.openstack.org></font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">04/10/2018 10:19 PM</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [openstack-dev] [nova] Changes toComputeVirtAPI.wait_for_instance_event</font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br>Yes, that¡¯s how it works!<br><font size="2"><br>---</font><br><font size="2">Andreas Scheuring (andreas_s)</font><br><br><br><br>On 10. Apr 2018, at 16:05, Matt Riedemann <<a href="mailto:mriedemos@gmail.com"><u><font color="#0000FF">mriedemos@gmail.com</font></u></a>> wrote:<br><br>On 4/9/2018 9:57 PM, Chen CH Ji wrote:
<ul><ul>Could you please help to share whether this kind of event is sent by neutron-server or neutron agent ? I searched neutron code<br>from [1][2] this means the agent itself need tell neutron server the device(VIF) is up then neutron server will send notification<br>to nova through REST API and in turn consumed by compute node?<br>[1]<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_neutron_tree_master_neutron_notify-5Fport-5Factive-5Fdirect&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=8sI5aZT88Uetyy_XsOddbPjIiLSGM-sFnua3lLy2Xr0&m=tIntFpZ0ffp-_h5CsqN1I9tv64hW2xugxBXaxDn7Z_I&s=bVXQK6rjkLdaaYUVCaIBHJYOMGQ2tPGg1bKNkOSmF7Q&e="><u><font color="#0000FF">https://github.com/openstack/neutron/tree/master/neutron/notify_port_active_direct</font></u></a><br>[2]<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openstack_neutron_blob_master_neutron_plugins_ml2_rpc.py-23L264&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=8sI5aZT88Uetyy_XsOddbPjIiLSGM-sFnua3lLy2Xr0&m=tIntFpZ0ffp-_h5CsqN1I9tv64hW2xugxBXaxDn7Z_I&s=9Ywu8bHp7mWDkIviZpAXCFjiYo7RfSREeg0ze3iPedA&e="><u><font color="#0000FF">https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/rpc.py#L264</font></u></a></ul></ul><br>I believe the neutron agent is the one that is getting (or polling) the information from the underlying network backend when VIFs are plugged or unplugged from a host, then route that information via RPC to the neutron server which then sends an os-server-external-events request to the compute REST API, which then routes the event information down to the nova-compute host where the instance is currently running.<br><br>-- <br><br>Thanks,<br><br>Matt<br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org"><u><font color="#0000FF">OpenStack-dev-request@lists.openstack.org</font></u></a>?subject:unsubscribe<u><font color="#0000FF"><br></font></u><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Ddev&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=8sI5aZT88Uetyy_XsOddbPjIiLSGM-sFnua3lLy2Xr0&m=tIntFpZ0ffp-_h5CsqN1I9tv64hW2xugxBXaxDn7Z_I&s=z2jOgMD7B3XFoNsUHTtIO6hWKYXH-Dm4L4P0-u-oSSw&e="><u><font color="#0000FF">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></u></a><br><tt><font size="2">__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br></font></tt><tt><font size="2"><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Ddev&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=8sI5aZT88Uetyy_XsOddbPjIiLSGM-sFnua3lLy2Xr0&m=tIntFpZ0ffp-_h5CsqN1I9tv64hW2xugxBXaxDn7Z_I&s=z2jOgMD7B3XFoNsUHTtIO6hWKYXH-Dm4L4P0-u-oSSw&e=">https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.openstack.org_cgi-2Dbin_mailman_listinfo_openstack-2Ddev&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=8sI5aZT88Uetyy_XsOddbPjIiLSGM-sFnua3lLy2Xr0&m=tIntFpZ0ffp-_h5CsqN1I9tv64hW2xugxBXaxDn7Z_I&s=z2jOgMD7B3XFoNsUHTtIO6hWKYXH-Dm4L4P0-u-oSSw&e=</a></font></tt><tt><font size="2"><br></font></tt><br><br><BR>
</body></html>