* [PATCH 0/1] openvswith: Uprev to latest version 2.5.0
@ 2016-03-29 10:22 zhe.he
2016-03-29 10:22 ` [PATCH 1/1] " zhe.he
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: zhe.he @ 2016-03-29 10:22 UTC (permalink / raw)
To: bruce.ashfield, meta-virtualization
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
--
2.0.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/1] openvswith: Uprev to latest version 2.5.0
2016-03-29 10:22 [PATCH 0/1] openvswith: Uprev to latest version 2.5.0 zhe.he
@ 2016-03-29 10:22 ` zhe.he
2016-03-30 10:21 ` [PATCH 0/1] " He Zhe
2016-03-31 13:15 ` Bruce Ashfield
2 siblings, 0 replies; 5+ messages in thread
From: zhe.he @ 2016-03-29 10:22 UTC (permalink / raw)
To: bruce.ashfield, meta-virtualization
From: He Zhe <zhe.he@windriver.com>
Uprev to git rev bb429e09f7783f1ba23ac0682ed9edf424f0cfbb (based on 2.5.0)
Signed-off-by: He Zhe <zhe.he@windriver.com>
---
...-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
diff --git a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-8c0b419a0b9ac0141d6973dcc80306dfc6a83d31.patch b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-8c0b419a0b9ac0141d6973dcc80306dfc6a83d31.patch
new file mode 100644
index 0000000..b79cb1b
--- /dev/null
+++ b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-8c0b419a0b9ac0141d6973dcc80306dfc6a83d31.patch
@@ -0,0 +1,69 @@
+Add test-install rule to support ptest execution
+
+Signed-off-by: Radu Patriu <radu.patriu@enea.com>
+
+---
+ Makefile.am | 2 ++
+ test.mk | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 51 insertions(+)
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -401,3 +401,5 @@
+ include windows/automake.mk
+ include ovn/automake.mk
+ include selinux/automake.mk
++include test.mk
++
+--- /dev/null
++++ b/test.mk
+@@ -0,0 +1,49 @@
++TEST_DEST ?= ${prefix}/lib/openvswitch
++TEST_ROOT ?= ${prefix}/lib/openvswitch
++TEST_DEPEND =
++
++if HAVE_OPENSSL
++TEST_DEPEND += $(TESTPKI_FILES)
++endif
++
++test-install: $(TEST_DEPEND)
++ @list='$(noinst_PROGRAMS) $(EXTRA_DIST) $(dist_check_SCRIPTS) $(TEST_DEPEND) tests/atlocal tests/atconfig' ;\
++ install -d $(TEST_DEST)/tests ;\
++ install -d $(TEST_DEST)/python ;\
++ install -d $(TEST_DEST)/python/ovs ;\
++ install -d $(TEST_DEST)/python/ovs/db ;\
++ install -d $(TEST_DEST)/python/ovs/unixctl ;\
++ install -d $(TEST_DEST)/vswitchd ;\
++ install vswitchd/vswitch.ovsschema $(TEST_DEST)/vswitchd ;\
++ install -d $(TEST_DEST)/debian ;\
++ install debian/ovs-monitor-ipsec $(TEST_DEST)/debian ;\
++ install -d $(TEST_DEST)/build-aux ;\
++ install build-aux/check-structs $(TEST_DEST)/build-aux ;\
++ install -d $(TEST_DEST)/xenserver ;\
++ install xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync $(TEST_DEST)/xenserver ;\
++ install xenserver/opt_xensource_libexec_interface-reconfigure $(TEST_DEST)/xenserver ;\
++ install xenserver/opt_xensource_libexec_InterfaceReconfigure.py $(TEST_DEST)/xenserver ;\
++ install xenserver/opt_xensource_libexec_InterfaceReconfigureBridge.py $(TEST_DEST)/xenserver ;\
++ install xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py $(TEST_DEST)/xenserver ;\
++ install -d $(TEST_DEST)/vtep ;\
++ install vtep/vtep.ovsschema $(TEST_DEST)/vtep ;\
++ for p in $$list ; do \
++ echo $$p ;\
++ p=$${p#./} ;\
++ pre=$${p#tests\/} ;\
++ if test $$pre != $$p ; then \
++ echo installing $$p to $(TEST_DEST)/tests/$$pre ;\
++ install $$p $(TEST_DEST)/tests/$$pre ;\
++ continue ;\
++ fi ;\
++ pre=$${p#python\/ovs\/} ;\
++ if test $$pre != $$p ; then \
++ echo installing $$p to $(TEST_DEST)/python/ovs/$$pre ;\
++ install $$p $(TEST_DEST)/python/ovs/$$pre ;\
++ continue ;\
++ fi; \
++ done ;\
++ sed -i 's|abs_builddir=.*|abs_builddir='"'"'$(TEST_ROOT)/tests'"'"'|g' $(TEST_DEST)/tests/atconfig
++ sed -i 's|abs_srcdir=.*|abs_srcdir='"'"'$(TEST_ROOT)/tests'"'"'|g' $(TEST_DEST)/tests/atconfig
++ sed -i 's|abs_top_srcdir=.*|abs_top_srcdir='"'"'$(TEST_ROOT)'"'"'|g' $(TEST_DEST)/tests/atconfig
++ sed -i 's|abs_top_builddir=.*|abs_top_builddir='"'"'$(TEST_ROOT)'"'"'|g' $(TEST_DEST)/tests/atconfig
diff --git a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-bb429e09f7783f1ba23ac0682ed9edf424f0cfbb.patch b/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-bb429e09f7783f1ba23ac0682ed9edf424f0cfbb.patch
deleted file mode 100644
index c8ebff1..0000000
--- a/recipes-networking/openvswitch/openvswitch-git/openvswitch-add-ptest-bb429e09f7783f1ba23ac0682ed9edf424f0cfbb.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-Add test-install rule to support ptest execution
-
-Signed-off-by: Radu Patriu <radu.patriu@enea.com>
-
----
- Makefile.am | 2 ++
- test.mk | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
- 2 files changed, 51 insertions(+)
-
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -382,3 +382,5 @@
- include datapath-windows/automake.mk
- include datapath-windows/include/automake.mk
- include windows/automake.mk
-+include test.mk
-+
---- /dev/null
-+++ b/test.mk
-@@ -0,0 +1,49 @@
-+TEST_DEST ?= ${prefix}/lib/openvswitch
-+TEST_ROOT ?= ${prefix}/lib/openvswitch
-+TEST_DEPEND =
-+
-+if HAVE_OPENSSL
-+TEST_DEPEND += $(TESTPKI_FILES)
-+endif
-+
-+test-install: $(TEST_DEPEND)
-+ @list='$(noinst_PROGRAMS) $(EXTRA_DIST) $(dist_check_SCRIPTS) $(TEST_DEPEND) tests/atlocal tests/atconfig' ;\
-+ install -d $(TEST_DEST)/tests ;\
-+ install -d $(TEST_DEST)/python ;\
-+ install -d $(TEST_DEST)/python/ovs ;\
-+ install -d $(TEST_DEST)/python/ovs/db ;\
-+ install -d $(TEST_DEST)/python/ovs/unixctl ;\
-+ install -d $(TEST_DEST)/vswitchd ;\
-+ install vswitchd/vswitch.ovsschema $(TEST_DEST)/vswitchd ;\
-+ install -d $(TEST_DEST)/debian ;\
-+ install debian/ovs-monitor-ipsec $(TEST_DEST)/debian ;\
-+ install -d $(TEST_DEST)/build-aux ;\
-+ install build-aux/check-structs $(TEST_DEST)/build-aux ;\
-+ install -d $(TEST_DEST)/xenserver ;\
-+ install xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync $(TEST_DEST)/xenserver ;\
-+ install xenserver/opt_xensource_libexec_interface-reconfigure $(TEST_DEST)/xenserver ;\
-+ install xenserver/opt_xensource_libexec_InterfaceReconfigure.py $(TEST_DEST)/xenserver ;\
-+ install xenserver/opt_xensource_libexec_InterfaceReconfigureBridge.py $(TEST_DEST)/xenserver ;\
-+ install xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py $(TEST_DEST)/xenserver ;\
-+ install -d $(TEST_DEST)/vtep ;\
-+ install vtep/vtep.ovsschema $(TEST_DEST)/vtep ;\
-+ for p in $$list ; do \
-+ echo $$p ;\
-+ p=$${p#./} ;\
-+ pre=$${p#tests\/} ;\
-+ if test $$pre != $$p ; then \
-+ echo installing $$p to $(TEST_DEST)/tests/$$pre ;\
-+ install $$p $(TEST_DEST)/tests/$$pre ;\
-+ continue ;\
-+ fi ;\
-+ pre=$${p#python\/ovs\/} ;\
-+ if test $$pre != $$p ; then \
-+ echo installing $$p to $(TEST_DEST)/python/ovs/$$pre ;\
-+ install $$p $(TEST_DEST)/python/ovs/$$pre ;\
-+ continue ;\
-+ fi; \
-+ done ;\
-+ sed -i 's|abs_builddir=.*|abs_builddir='"'"'$(TEST_ROOT)/tests'"'"'|g' $(TEST_DEST)/tests/atconfig
-+ sed -i 's|abs_srcdir=.*|abs_srcdir='"'"'$(TEST_ROOT)/tests'"'"'|g' $(TEST_DEST)/tests/atconfig
-+ sed -i 's|abs_top_srcdir=.*|abs_top_srcdir='"'"'$(TEST_ROOT)'"'"'|g' $(TEST_DEST)/tests/atconfig
-+ sed -i 's|abs_top_builddir=.*|abs_top_builddir='"'"'$(TEST_ROOT)'"'"'|g' $(TEST_DEST)/tests/atconfig
diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb
index 0c918cd..700a306 100644
--- a/recipes-networking/openvswitch/openvswitch_git.bb
+++ b/recipes-networking/openvswitch/openvswitch_git.bb
@@ -9,13 +9,13 @@ RDEPENDS_${PN}-ptest += "\
"
S = "${WORKDIR}/git"
-PV = "2.4.0+${SRCREV}"
+PV = "2.5.0+${SRCREV}"
FILESEXTRAPATHS_append := "${THISDIR}/${PN}-git:"
-SRCREV = "bb429e09f7783f1ba23ac0682ed9edf424f0cfbb"
+SRCREV = "8c0b419a0b9ac0141d6973dcc80306dfc6a83d31"
SRC_URI += "\
- git://github.com/openvswitch/ovs.git;protocol=git;branch=branch-2.4 \
+ git://github.com/openvswitch/ovs.git;protocol=git;branch=branch-2.5 \
file://openvswitch-add-more-target-python-substitutions.patch \
file://openvswitch-add-ptest-${SRCREV}.patch \
file://run-ptest \
@@ -23,7 +23,7 @@ SRC_URI += "\
file://kernel_module.patch \
"
-LIC_FILES_CHKSUM = "file://COPYING;md5=5973c953e3c8a767cf0808ff8a0bac1b"
+LIC_FILES_CHKSUM = "file://COPYING;md5=247d8817aece26b21a8cd6791b3ea994"
PACKAGECONFIG ?= ""
PACKAGECONFIG[dpdk] = "--with-dpdk=${STAGING_DIR_TARGET}/opt/dpdk/${TARGET_ARCH}-native-linuxapp-gcc,,dpdk,"
--
2.0.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/1] openvswith: Uprev to latest version 2.5.0
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 ` He Zhe
2016-03-30 12:03 ` Bruce Ashfield
2016-03-31 13:15 ` Bruce Ashfield
2 siblings, 1 reply; 5+ messages in thread
From: He Zhe @ 2016-03-30 10:21 UTC (permalink / raw)
To: bruce.ashfield, meta-virtualization
Is this OK?
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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/1] openvswith: Uprev to latest version 2.5.0
2016-03-30 10:21 ` [PATCH 0/1] " He Zhe
@ 2016-03-30 12:03 ` Bruce Ashfield
0 siblings, 0 replies; 5+ messages in thread
From: Bruce Ashfield @ 2016-03-30 12:03 UTC (permalink / raw)
To: He Zhe, meta-virtualization
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
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 0/1] openvswith: Uprev to latest version 2.5.0
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-31 13:15 ` Bruce Ashfield
2 siblings, 0 replies; 5+ messages in thread
From: Bruce Ashfield @ 2016-03-31 13:15 UTC (permalink / raw)
To: He Zhe; +Cc: meta-virtualization
[-- Attachment #1: Type: text/plain, Size: 10471 bytes --]
On Tue, Mar 29, 2016 at 6:22 AM, <zhe.he@windriver.com> wrote:
> From: He Zhe <zhe.he@windriver.com>
>
> Test it as follow:
>
>
merged. There was a typo in the shortlog, but I fixed it as part of the
merge process.
Bruce
> --------------------------------
> 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
>
> --
> 2.0.1
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
[-- Attachment #2: Type: text/html, Size: 13475 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-03-31 13:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2016-03-31 13:15 ` Bruce Ashfield
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.