From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 1FF29E00C27; Wed, 30 Mar 2016 03:21:47 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id D0293E00B8C for ; Wed, 30 Mar 2016 03:21:43 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id u2UALgAn023325 (version=TLSv1 cipher=AES128-SHA bits=128 verify=OK) for ; Wed, 30 Mar 2016 03:21:42 -0700 Received: from [128.224.162.234] (128.224.162.234) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 30 Mar 2016 03:21:41 -0700 To: , References: From: He Zhe Message-ID: <56FBA8B0.6000204@windriver.com> Date: Wed, 30 Mar 2016 18:21:36 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: X-Originating-IP: [128.224.162.234] Subject: Re: [PATCH 0/1] openvswith: Uprev to latest version 2.5.0 X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2016 10:21:47 -0000 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Is this OK? Thanks, Zhe On 03/29/2016 06:22 PM, zhe.he@windriver.com wrote: > From: He Zhe > > Test it as follow: > > -------------------------------- > host: > root@genericx86-64:~# nohup qemu-system-x86_64 -nographic -k en-us -m 256 -net nic,macaddr=1a:46:0b:ca:bc:7a,model=virtio -net tap,script=/etc/qemu-ifup1 -enable-kvm -kernel /boot/bzIma > ge -append 'root=/dev/vda ro console=ttyS0' -drive file=/core-image-minimal-genericx86-64.ext4,cache=none,if=virtio -serial telnet::4443,server,nowait & > [1] 384 > root@genericx86-64:~# nohup: ignoring input and appending output to 'nohup.out' > device tap0 entered promiscuous mode > device ovsbr0 left promiscuous mode > device tap0 left promiscuous mode > device ovsbr0 entered promiscuous mode > device tap0 entered promiscuous mode > > root@genericx86-64:~# nohup qemu-system-x86_64 -nographic -k en-us -m 256 -net nic,macaddr=1a:46:0b:ca:bc:7b,model=virtio -net tap,script=/etc/qemu-ifup2 -enable-kvm -kernel /boot/bzIma > ge -append 'root=/dev/vda ro console=ttyS0' -drive file=/core-image-minimal-genericx86-64.ext4,cache=none,if=virtio -serial telnet::4444,server,nowait & > [2] 413 > root@genericx86-64:~# nohup: ignoring input and appending output to 'nohup.out' > device tap1 entered promiscuous mode > kvm [384]: vcpu0 disabled perfctr wrmsr: 0xc2 data 0xffff > kvm [413]: vcpu0 disabled perfctr wrmsr: 0xc2 data 0xffff > > root@genericx86-64:~# ifconfig > eth0 Link encap:Ethernet HWaddr 00:1A:A0:10:C3:B7 > inet addr:128.224.165.55 Bcast:128.224.165.255 Mask:255.255.255.0 > inet6 addr: fe80::21a:a0ff:fe10:c3b7%119/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:64658 errors:0 dropped:0 overruns:0 frame:0 > TX packets:24444 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:87027867 (82.9 MiB) TX bytes:4205887 (4.0 MiB) > Interrupt:17 > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1%119/128 Scope:Host > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > ovsbr0 Link encap:Ethernet HWaddr 92:A2:85:64:6A:42 > inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0 > inet6 addr: fe80::90a2:85ff:fe64:6a42%119/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:38 errors:0 dropped:0 overruns:0 frame:0 > TX packets:15 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:8776 (8.5 KiB) TX bytes:1166 (1.1 KiB) > > tap0 Link encap:Ethernet HWaddr E2:52:86:35:F8:FB > inet6 addr: fe80::e052:86ff:fe35:f8fb%119/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:24 errors:0 dropped:0 overruns:0 frame:0 > TX packets:40 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:500 > RX bytes:5088 (4.9 KiB) TX bytes:6336 (6.1 KiB) > > tap1 Link encap:Ethernet HWaddr FA:C3:63:45:40:A8 [20/5517] > inet6 addr: fe80::f8c3:63ff:fe45:40a8%119/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:25 errors:0 dropped:0 overruns:0 frame:0 > TX packets:34 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:500 > RX bytes:5130 (5.0 KiB) TX bytes:5820 (5.6 KiB) > > root@genericx86-64:~# ping 192.168.1.2 > PING 192.168.1.2 (192.168.1.2): 56 data bytes > 64 bytes from 192.168.1.2: seq=0 ttl=64 time=0.533 ms > 64 bytes from 192.168.1.2: seq=1 ttl=64 time=0.281 ms > ^C > --- 192.168.1.2 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max = 0.281/0.407/0.533 ms > root@genericx86-64:~# ping 192.168.1.3 > PING 192.168.1.3 (192.168.1.3): 56 data bytes > 64 bytes from 192.168.1.3: seq=0 ttl=64 time=0.581 ms > 64 bytes from 192.168.1.3: seq=1 ttl=64 time=0.258 ms > ^C > --- 192.168.1.3 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max = 0.258/0.419/0.581 ms > root@genericx86-64:~# cat /proc/net/arp > IP address HW type Flags HW address Mask Device > 128.224.165.20 0x1 0x2 b8:ca:3a:f0:99:bf * eth0 > 128.224.165.1 0x1 0x2 00:17:df:e5:ac:00 * eth0 > 192.168.1.2 0x1 0x2 1a:46:0b:ca:bc:7a * ovsbr0 > 192.168.1.3 0x1 0x2 1a:46:0b:ca:bc:7b * ovsbr0 > root@genericx86-64:~# ovs-vsctl show > 5f6b161b-efb7-4de2-8db5-012a7cd1835e > Bridge "ovsbr0" > Port "tap1" > Interface "tap1" > Port "ovsbr0" > Interface "ovsbr0" > type: internal > Port "tap0" > Interface "tap0" > ovs_version: "2.5.1" > root@genericx86-64:~# > > -------------------------------- > guest1: > telnet host-ip-address 4443 > root@genericx86-64:~# ifconfig eth0 192.168.1.2 up > root@genericx86-64:~# ifconfig > eth0 Link encap:Ethernet HWaddr 1A:46:0B:CA:BC:7A > inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:20 errors:0 dropped:0 overruns:0 frame:0 > TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:3168 (3.0 KiB) TX bytes:1980 (1.9 KiB) > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1%119/128 Scope:Host > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > root@genericx86-64:~# ping 192.168.1.1 > PING 192.168.1.1 (192.168.1.1): 56 data bytes > 64 bytes from 192.168.1.1: seq=0 ttl=64 time=6.018 ms > 64 bytes from 192.168.1.1: seq=1 ttl=64 time=0.258 ms > ^C > --- 192.168.1.1 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max = 0.258/3.138/6.018 ms > root@genericx86-64:~# ping 192.168.1.3 > PING 192.168.1.3 (192.168.1.3): 56 data bytes > 64 bytes from 192.168.1.3: seq=0 ttl=64 time=1.294 ms > 64 bytes from 192.168.1.3: seq=1 ttl=64 time=0.459 ms > ^C > --- 192.168.1.3 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max = 0.459/0.876/1.294 ms > root@genericx86-64:~# cat /proc/net/arp > IP address HW type Flags HW address Mask Device > 192.168.1.3 0x1 0x2 1a:46:0b:ca:bc:7b * eth0 > 192.168.1.1 0x1 0x2 92:a2:85:64:6a:42 * eth0 > > -------------------------------- > guest2: > telnet host-ip-address 4444 > root@genericx86-64:~# ifconfig eth0 192.168.1.3 up > root@genericx86-64:~# ifconfig > eth0 Link encap:Ethernet HWaddr 1A:46:0B:CA:BC:7B > inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0 > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:15 errors:0 dropped:0 overruns:0 frame:0 > TX packets:8 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000 > RX bytes:2790 (2.7 KiB) TX bytes:1980 (1.9 KiB) > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1%119/128 Scope:Host > UP LOOPBACK RUNNING MTU:65536 Metric:1 > RX packets:0 errors:0 dropped:0 overruns:0 frame:0 > TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) > > root@genericx86-64:~# ping 192.168.1.1 > PING 192.168.1.1 (192.168.1.1): 56 data bytes > 64 bytes from 192.168.1.1: seq=0 ttl=64 time=0.920 ms > 64 bytes from 192.168.1.1: seq=1 ttl=64 time=0.286 ms > ^C > --- 192.168.1.1 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max = 0.286/0.603/0.920 ms > root@genericx86-64:~# ping 192.168.1.2 > PING 192.168.1.2 (192.168.1.2): 56 data bytes > 64 bytes from 192.168.1.2: seq=0 ttl=64 time=0.566 ms > 64 bytes from 192.168.1.2: seq=1 ttl=64 time=0.439 ms > ^C > --- 192.168.1.2 ping statistics --- > 2 packets transmitted, 2 packets received, 0% packet loss > round-trip min/avg/max = 0.439/0.502/0.566 ms > root@genericx86-64:~# cat /proc/net/arp > IP address HW type Flags HW address Mask Device > 192.168.1.2 0x1 0x2 1a:46:0b:ca:bc:7a * eth0 > 192.168.1.1 0x1 0x2 92:a2:85:64:6a:42 * eth0 > > He Zhe (1): > openvswith: Uprev to latest version 2.5.0 > > ...-8c0b419a0b9ac0141d6973dcc80306dfc6a83d31.patch | 69 ++++++++++++++++++++++ > ...-bb429e09f7783f1ba23ac0682ed9edf424f0cfbb.patch | 69 ---------------------- > recipes-networking/openvswitch/openvswitch_git.bb | 8 +-- > 3 files changed, 73 insertions(+), 73 deletions(-) > create mode 100644 recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-8c0b419a0b9ac0141d6973dcc80306dfc6a83d31.patch > delete mode 100644 recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-bb429e09f7783f1ba23ac0682ed9edf424f0cfbb.patch >