[ovs-git] [openvswitch/ovs] f75262: tests: Rename kmod-testsuite to system-kmod-testsu...

GitHub noreply at github.com
Fri Aug 7 20:25:08 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: f7526200d2961c9cc11e5239eacd75a0d592c6a8
      https://github.com/openvswitch/ovs/commit/f7526200d2961c9cc11e5239eacd75a0d592c6a8
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-08-07 (Fri, 07 Aug 2015)

  Changed paths:
    M tests/.gitignore
    M tests/automake.mk
    R tests/kmod-macros.at
    R tests/kmod-testsuite.at
    A tests/system-common-macros.at
    A tests/system-kmod-macros.at
    A tests/system-kmod-testsuite.at
    A tests/system-traffic.at
    R tests/traffic-common-macros.at
    R tests/traffic.at

  Log Message:
  -----------
  tests: Rename kmod-testsuite to system-kmod-testsuite.

The name makes more sense, especially with the addition of a userspace
system testsuite.  No functional change in this commit.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Joe Stringer <joestringer at nicira.com>


  Commit: b1778a55cadfe78e66ed2105c73c92fe40548464
      https://github.com/openvswitch/ovs/commit/b1778a55cadfe78e66ed2105c73c92fe40548464
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-08-07 (Fri, 07 Aug 2015)

  Changed paths:
    M tests/system-common-macros.at
    M tests/system-traffic.at

  Log Message:
  -----------
  tests: Introduce NS_EXEC and NS_CHECK_EXEC for system tests.

Instead of repeating every time "ip netns exec ..." it is better to
introduce some macros.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Joe Stringer <joestringer at nicira.com>


  Commit: d7c5426b945a6abeb51e7c9d82fadddde11df404
      https://github.com/openvswitch/ovs/commit/d7c5426b945a6abeb51e7c9d82fadddde11df404
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-08-07 (Fri, 07 Aug 2015)

  Changed paths:
    M tests/.gitignore
    M tests/automake.mk
    M tests/system-common-macros.at
    M tests/system-kmod-macros.at
    M tests/system-traffic.at
    A tests/system-userspace-macros.at
    A tests/system-userspace-testsuite.at

  Log Message:
  -----------
  tests: Add system-userspace-testsuite.

The new system-userspace-testsuite, which can be launched via
`make check-system-userspace`, reuses the kmod tests on the userspace
datapath.

The userspace datapath is already tested by the main testsuite (and
that's not going to change), but having also the
system-userspace-testsuite has the following advantages:

* More complicated tests are possible: real client and server
  applications can be used.
* The same tests run on both kernel and userspace datapath: this gives
  us an easy way to make sure that the behaviour is consistent (e.g.
  with the upcoming connection tracker integration)

The userspace datapath is able to use system network interfaces via an
AF_PACKET socket.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Joe Stringer <joestringer at nicira.com>


  Commit: 548f9fe7d28b30e18d32d60746f250bda92b7b4d
      https://github.com/openvswitch/ovs/commit/548f9fe7d28b30e18d32d60746f250bda92b7b4d
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-08-07 (Fri, 07 Aug 2015)

  Changed paths:
    M INSTALL.md
    M NEWS
    M Vagrantfile

  Log Message:
  -----------
  Vagrantfile: Add test_ovs_system_userspace provision.

Add 'test_ovs_system_userspace' provision.  Command:
  # vagrant provision --provision-with=test_ovs_system_userspace

will run "make check-system-userspace" in the vagrant launched VM.

It may be more convenient to run this tests inside a vm rather than in
the host, because they interact with system networking.

Suggested-by: Joe Stringer <joestringer at nicira.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Joe Stringer <joestringer at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/da8005a08ff7...548f9fe7d28b


More information about the git mailing list