[ovs-git] [openvswitch/ovs] c9697f: Prevent test failures when there are non Ethernet ...

GitHub noreply at github.com
Mon Nov 23 18:20:15 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c9697f354ef651bcb851c9fcdae783219661b530
      https://github.com/openvswitch/ovs/commit/c9697f354ef651bcb851c9fcdae783219661b530
  Author: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
  Date:   2015-11-23 (Mon, 23 Nov 2015)

  Changed paths:
    M lib/netdev-linux.c
    M tests/ofproto-macros.at

  Log Message:
  -----------
  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 mailing list