openvswith: Uprev to latest version 2.5.0
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | openvswith: Uprev to latest version 2.5.0recipes-networking/ recipes-networking/ recipes-networking/ | +73 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/1] openvswith: Uprev to latest version 2.5.0
From: He Zhe <[email protected]>
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
Signature · 1 line
2.0.1