From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: He Zhe <zhe.he@windriver.com>, <meta-virtualization@yoctoproject.org>
Subject: Re: [PATCH 0/1] openvswith: Uprev to latest version 2.5.0
Date: Wed, 30 Mar 2016 08:03:18 -0400 [thread overview]
Message-ID: <56FBC086.10304@windriver.com> (raw)
In-Reply-To: <56FBA8B0.6000204@windriver.com>
On 2016-03-30 6:21 AM, He Zhe wrote:
> Is this OK?
I haven't had a chance to look at it yet :)
Bruce
>
> Thanks,
> Zhe
>
> On 03/29/2016 06:22 PM, zhe.he@windriver.com wrote:
>> From: He Zhe <zhe.he@windriver.com>
>>
>> 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
>>
>
next prev parent reply other threads:[~2016-03-30 12:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 10:22 [PATCH 0/1] openvswith: Uprev to latest version 2.5.0 zhe.he
2016-03-29 10:22 ` [PATCH 1/1] " zhe.he
2016-03-30 10:21 ` [PATCH 0/1] " He Zhe
2016-03-30 12:03 ` Bruce Ashfield [this message]
2016-03-31 13:15 ` Bruce Ashfield
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56FBC086.10304@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=meta-virtualization@yoctoproject.org \
--cc=zhe.he@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.