I still don’t get it.

I can’t see the veth pair configured when calling

#ip link list

56: qbrea4f9446-76: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue 
state UP
    link/ether 66:83:23:7a:7c:4d brd ff:ff:ff:ff:ff:ff
57: qvoea4f9446-76: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state UP qlen 1000
    link/ether 5e:0f:5b:63:3f:b2 brd ff:ff:ff:ff:ff:ff
58: qvbea4f9446-76: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast master qbrea4f9446-76 state UP qlen 1000
    link/ether 66:83:23:7a:7c:4d brd ff:ff:ff:ff:ff:ff
59: tapea4f9446-76: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
master qbrea4f9446-76 state UNKNOWN qlen 500
    link/ether fe:16:3e:d7:d7:13 brd ff:ff:ff:ff:ff:ff

Do other methods exist to configure veth pairs?



Von: Erik McCormick [mailto:[email protected]]
Gesendet: Mittwoch, 19. November 2014 17:18
An: Stinner, Thomas
Cc: [email protected]
Betreff: Re: [Openstack] Understanding Neutron/ML2/Openvswitch/VXLAN

This uses VLANs in the examples, but everything should still generally apply to 
your question:

http://masimum.inf.um.es/fjrm/2013/12/26/the-journey-of-a-packet-within-an-openstack-cloud/

Basically the TAP interface attaches to the qvb interface which links it to a 
veth pair (qvr and qvo) with qvo attached to the integration bridge (br-int) 
which then goes to patch-tun and into br-tun. Fun right? ;).

On Wed, Nov 19, 2014 at 10:12 AM, Stinner, Thomas 
<[email protected]<mailto:[email protected]>>
 wrote:
Hi,

i would like to understand how Neutron is configuring OpenVswitch when using 
ML2.

For example, on one of the compute nodes I have a VM that is called 
host-vxlan2. Instance name is instance-00000e7.

This VM has the following network interface:

<interface type='bridge'>
      <mac address='fa:16:3e:d7:d7:13'/>
      <source bridge='qbrea4f9446-76'/>
      <target dev='tapea4f9446-76'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
function='0x0'/>
    </interface>

The bridge has two interfaces, a tap device that is connected to the vm and 
another interface.

qbrea4f9446-76          8000.6683237a7c4d       no              qvbea4f9446-76
                                                                               
tapea4f9446-76

OVs has three bridges - br-ex, br-int, br-tun.

However, none of these bridges contain qbrea4f9446-76 or qvbea4f9446-76. But 
they contain a Port "qvoea4f9446-76" (similar name!).

Which command defines the connection between "qvoea4f9446-76" and 
"qbrea4f9446-76"?

Thanks in advance
Thomas


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to