ovstest: Add test-netlink-conntrack command.
authorDaniele Di Proietto <diproiettod@vmware.com>
Thu, 29 Oct 2015 18:00:38 +0000 (11:00 -0700)
committerDaniele Di Proietto <diproiettod@vmware.com>
Tue, 22 Dec 2015 01:24:03 +0000 (17:24 -0800)
commit2c06d9a927c507a2f03111c3a6e3946b8ff47fca
tree002742aab4363badef7248be6d8aaed30673911e
parent7f278d1fbc88c35377145949827b2e30a41f8341
ovstest: Add test-netlink-conntrack command.

Add a new test module to help debug Linux kernel conntrack development
unsing the netlink-conntrack module.

The tool has three uses:

* `ovstest test-netlink-conntrack dump [zone=zone]`

  shows a list of the connection table

* `ovstest test-netlink-conntrack monitor`

  displays the updates on the connection table, until killed with Ctrl-C

* `ovstest test-netlink-conntrack flush [zone=zone]`

  empties connection (and therefore expectations table).

Signed-off-by: Daniele Di Proietto <diproiettod@vmware.com>
Acked-by: Joe Stringer <joe@ovn.org>
tests/automake.mk
tests/test-netlink-conntrack.c [new file with mode: 0644]