[ovs-git] [openvswitch/ovs] c9697f: Prevent test failures when there are non Ethernet ...
noreply at github.com
Mon Nov 23 18:20:15 UTC 2015
Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Date: 2015-11-23 (Mon, 23 Nov 2015)
Prevent test failures when there are non Ethernet devices on the system.
When there are PtP TUN devices on the system or SIT devices, tests will fail
because of a warning that it was not possible to get their Ethernet addresses.
That call comes from the route code adding tunnel ports.
Make that warning an informational message and filter that out during tests.
Also, return EINVAL when trying to get those interface Ethernet addresses, which
will prevent them from being added to the tunnel ports pool and will properly
fail in other places as well.
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git