<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Have a look at this script:<br>
<a href="https://review.openstack.org/#/c/158003/1/bin/neutron-local-port" target="_blank">https://review.openstack.org/#/c/158003/1/bin/neutron-local-port</a><br>
<br>
Nova does basically the same thing but plugs it into the vm.<br>
<br>
Thanks,<br>
Kevin<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF781925"><font color="#000000" face="Tahoma" size="2"><b>From:</b> 张晨 [zhangchen9211@126.com]<br>
<b>Sent:</b> Tuesday, April 12, 2016 1:16 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] Does Neutron itself add VM ports to ovs?<br>
</font><br>
</div>
<div></div>
<div>
<div style="line-height:1.7; color:#000000; font-size:14px; font-family:Arial">
<div>Thx for the answer, i finally locate the implementation in nova.network.linux_net.create_ovs_vif_port</div>
<div><br>
</div>
<div>but how could nova execute the ovs-vsctl for the compute-node hypervisor just in the control-node?</div>
<br>
<br>
<br>
<br>
<div style="position:relative; zoom:1"></div>
<div id="divNeteaseMailCard"></div>
<br>
<pre><br>At 2016-04-12 13:13:48, "Sławek Kapłoński" <slawek@kaplonski.pl> wrote:
>Hello,
>
>I don't know this ODL and how it works but for ovs-agent nova-compute is part
>which adds port to ovs bridge (see for example nova/virt/libvirt/vif.py)
>
>--
>Pozdrawiam / Best regards
>Sławek Kapłoński
>slawek@kaplonski.pl
>
>Dnia wtorek, 12 kwietnia 2016 12:31:01 CEST 张晨 pisze:
>> Hello everyone,
>>
>>
>> I have a question about Neutron. I learn that the ovs-agent receives the
>> update-port rpc notification,and updates ovsdb data for VM port.
>>
>>
>> But what is the situation when i use SDN controllers instead of OVS
>> mechanism driver? I found no where in ODL to add the VM port to ovs.
>>
>>
>> I asked the author of the related ODL plugin, but he told me that OpenStack
>> adds the VM port to ovs.
>>
>>
>> Then, where is the implementation in OpenStack to add the VM port to ovs,
>> when i'm using ODL replacing the OVS mechanism driver?
>>
>>
>> Thanks
</pre>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span></div>
</div>
</div>
</body>
</html>