<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Looks good IMO.<br class=""><div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;"><br class="Apple-interchange-newline">---</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;">Andreas Scheuring (andreas_s)</div><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<div style=""><br class=""><div class="">On 11. Apr 2018, at 15:46, Eric Fried <<a href="mailto:openstack@fried.cc" class="">openstack@fried.cc</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Jichen was able to use this information immediately, to great benefit<br class="">[1].  (If those paying attention could have a quick look at that to make<br class="">sure he used it right, it would be appreciated; I'm not an expert here.)<br class=""><br class="">[1]<br class=""><a href="https://review.openstack.org/#/c/527658/31..32/nova/virt/zvm/guest.py@192" class="">https://review.openstack.org/#/c/527658/31..32/nova/virt/zvm/guest.py@192</a><br class=""><br class="">On 04/10/2018 09:06 PM, Chen CH Ji wrote:<br class=""><blockquote type="cite" class="">Thanks for your info ,really helpful<br class=""><br class="">Best Regards!<br class=""><br class="">Kevin (Chen) Ji 纪 晨<br class=""><br class="">Engineer, zVM Development, CSTL<br class="">Notes: Chen CH Ji/China/IBM@IBMCN Internet: jichenjc@cn.ibm.com<br class="">Phone: +86-10-82451493<br class="">Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian<br class="">District, Beijing 100193, PRC<br class=""><br class="">Inactive hide details for Andreas Scheuring ---04/10/2018 10:19:21<br class="">PM---Yes, that’s how it works! ---Andreas Scheuring ---04/10/2018<br class="">10:19:21 PM---Yes, that’s how it works! ---<br class=""><br class="">From: Andreas Scheuring <scheuran@linux.vnet.ibm.com><br class="">To: "OpenStack Development Mailing List (not for usage questions)"<br class=""><openstack-dev@lists.openstack.org><br class="">Date: 04/10/2018 10:19 PM<br class="">Subject: Re: [openstack-dev] [nova] Changes<br class="">toComputeVirtAPI.wait_for_instance_event<br class=""><br class="">------------------------------------------------------------------------<br class=""><br class=""><br class=""><br class="">Yes, that’s how it works!<br class=""><br class="">---<br class="">Andreas Scheuring (andreas_s)<br class=""><br class=""><br class=""><br class="">On 10. Apr 2018, at 16:05, Matt Riedemann <_mriedemos@gmail.com_<br class=""><mailto:mriedemos@gmail.com>> wrote:<br class=""><br class="">On 4/9/2018 9:57 PM, Chen CH Ji wrote:<br class=""><br class="">        Could you please help to share whether this kind of event is<br class="">        sent by neutron-server or neutron agent ? I searched neutron code<br class="">        from [1][2] this means the agent itself need tell neutron server<br class="">        the device(VIF) is up then neutron server will send notification<br class="">        to nova through REST API and in turn consumed by compute node?<br class="">        [1]_https://github.com/openstack/neutron/tree/master/neutron/notify_port_active_direct_<br class="">        <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=><br class="">        [2]_https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/rpc.py#L264_<br class="">        <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=><br class=""><br class=""><br class="">I believe the neutron agent is the one that is getting (or polling) the<br class="">information from the underlying network backend when VIFs are plugged or<br class="">unplugged from a host, then route that information via RPC to the<br class="">neutron server which then sends an os-server-external-events request to<br class="">the compute REST API, which then routes the event information down to<br class="">the nova-compute host where the instance is currently running.<br class=""><br class="">-- <br class=""><br class="">Thanks,<br class=""><br class="">Matt<br class=""><br class="">__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe: _OpenStack-dev-request@lists.openstack.org_<br class=""><mailto:OpenStack-dev-request@lists.openstack.org>?subject:unsubscribe_<br class="">__http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev_<br class=""><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=><br class="">__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br class="">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=<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br class=""><br class=""></blockquote><br class="">__________________________________________________________________________<br class="">OpenStack Development Mailing List (not for usage questions)<br class="">Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br class=""></div></div></div><br class=""></body></html>