[openstack-dev] Does Neutron itself add VM ports to ovs?

Fox, Kevin M Kevin.Fox at pnnl.gov
Tue Apr 12 15:40:44 UTC 2016


Have a look at this script:
https://review.openstack.org/#/c/158003/1/bin/neutron-local-port

Nova does basically the same thing but plugs it into the vm.

Thanks,
Kevin

________________________________
From: 张晨 [zhangchen9211 at 126.com]
Sent: Tuesday, April 12, 2016 1:16 AM
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] Does Neutron itself add VM ports to ovs?

Thx for the answer, i finally locate the implementation in nova.network.linux_net.create_ovs_vif_port

but how could nova execute the ovs-vsctl for the compute-node hypervisor just in the control-node?






At 2016-04-12 13:13:48, "Sławek Kapłoński" <slawek at 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 at 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





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160412/9f2aaaab/attachment.html>


More information about the OpenStack-dev mailing list