diff mbox

[ovs-dev,4/6] tunneling: Handle multiple ip address for given device.

Message ID 20160311010259.GT1684@ovn.org
State Not Applicable
Headers show

Commit Message

Ben Pfaff March 11, 2016, 1:02 a.m. UTC
On Wed, Mar 09, 2016 at 04:40:43PM -0800, Pravin B Shelar wrote:
> From: Pravin B Shelar <pshelar@nicira.com>
> 
> Device can have multiple IP address but netdev_get_in4/6()
> returns only one configured IPv6 address. Following
> patch fixes it.
> OVS router is also updated to return source ip address for
> given destination, This is required when interface has multiple
> IP address configured.
> 
> Signed-off-by: Pravin B Shelar <pshelar@ovn.org>

This gives me a test failure:

#                             -*- compilation -*-
1022. ofproto-dpif.at:5448: testing ofproto-dpif - sFlow packet sampling - tunnel push ...
../../tests/ofproto-dpif.at:5451: ovsdb-tool create conf.db $abs_top_srcdir/vswitchd/vswitch.ovsschema
../../tests/ofproto-dpif.at:5451: ovsdb-server --detach --no-chdir --pidfile --log-file --remote=punix:$OVS_RUNDIR/db.sock
stderr:
2016-03-11T01:01:41Z|00001|vlog|INFO|opened log file /home/blp/nicira/ovs/_build/tests/testsuite.dir/1022/ovsdb-server.log
../../tests/ofproto-dpif.at:5451: sed < stderr '
/vlog|INFO|opened log file/d
/ovsdb_server|INFO|ovsdb-server (Open vSwitch)/d'
../../tests/ofproto-dpif.at:5451: ovs-vsctl --no-wait init
../../tests/ofproto-dpif.at:5451: ovs-vswitchd --enable-dummy --disable-system --detach --no-chdir --pidfile --log-file -vvconn -vofproto_dpif -vunixctl
stderr:
2016-03-11T01:01:41Z|00001|vlog|INFO|opened log file /home/blp/nicira/ovs/_build/tests/testsuite.dir/1022/ovs-vswitchd.log
2016-03-11T01:01:41Z|00002|ovs_numa|INFO|Discovered 8 CPU cores on NUMA node 0
2016-03-11T01:01:41Z|00003|ovs_numa|INFO|Discovered 1 NUMA nodes and 8 CPU cores
2016-03-11T01:01:41Z|00004|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1022/db.sock: connecting...
2016-03-11T01:01:41Z|00005|reconnect|INFO|unix:/home/blp/nicira/ovs/_build/tests/testsuite.dir/1022/db.sock: connected
../../tests/ofproto-dpif.at:5451: sed < stderr '
/ovs_numa|INFO|Discovered /d
/vlog|INFO|opened log file/d
/vswitchd|INFO|ovs-vswitchd (Open vSwitch)/d
/reconnect|INFO|/d
/ofproto|INFO|using datapath ID/d
/netdev_linux|INFO|.*device has unknown hardware address family/d
/ofproto|INFO|datapath ID changed to fedcba9876543210/d'
../../tests/ofproto-dpif.at:5451: add_of_br 0 add-port br0 p0 -- set Interface p0 type=dummy ofport_request=1 options:ifindex=1010 
../../tests/ofproto-dpif.at:5454: ovstest test-sflow --log-file --detach --no-chdir --pidfile 0:127.0.0.1 > sflow.log
stderr:
2016-03-11T01:01:41Z|00001|vlog|INFO|opened log file /home/blp/nicira/ovs/_build/tests/testsuite.dir/1022/test-sflow.log
2016-03-11T01:01:41Z|00002|socket_util|INFO|0:127.0.0.1: listening on port 57499
../../tests/ofproto-dpif.at:5459: ovs-appctl vlog/set dpif:dbg dpif_netdev:dbg
../../tests/ofproto-dpif.at:5460: ovs-vsctl add-br int-br -- set bridge int-br datapath_type=dummy
../../tests/ofproto-dpif.at:5461: ovs-vsctl -- add-port int-br t1 -- set Interface t1 type=gre \
                       options:remote_ip=1.1.2.92 options:key=456 ofport_request=4\
                    -- add-port int-br vm1 -- set Interface vm1 type=dummy \
                       options:ifindex=2011 ofport_request=5
                       
../../tests/ofproto-dpif.at:5467: ovs-appctl dpif/show
../../tests/ofproto-dpif.at:5479: ovs-appctl ovs/route/add 1.1.2.92/24 br0
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev
diff mbox

Patch

--- -   2016-03-10 17:01:41.963499324 -0800
+++ /home/blp/nicira/ovs/_build/tests/testsuite.dir/at-groups/1022/stdout       2016-03-10 17:01:41.961799582 -0800
@@ -1,2 +1,2 @@ 
-OK
+Error while inserting route.
_______________________________________________