<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="">Yes, that’s how it works!<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><br class=""><div class="">On 10. Apr 2018, at 16:05, Matt Riedemann <<a href="mailto:mriedemos@gmail.com" class="">mriedemos@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 4/9/2018 9:57 PM, Chen CH Ji wrote:<br class=""><blockquote type="cite" class="">Could you please help to share whether this kind of event is 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 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]<a href="https://github.com/openstack/neutron/tree/master/neutron/notify_port_active_direct" class="">https://github.com/openstack/neutron/tree/master/neutron/notify_port_active_direct</a><br class="">[2]<a href="https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/rpc.py#L264" class="">https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/rpc.py#L264</a><br class=""></blockquote><br class="">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 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: <a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class=""></div></div></div><br class=""></body></html>