system-macros: Create ADD_BR variant.
authorJoe Stringer <joestringer@nicira.com>
Wed, 12 Aug 2015 21:01:28 +0000 (14:01 -0700)
committerJoe Stringer <joestringer@nicira.com>
Wed, 19 Aug 2015 18:59:04 +0000 (11:59 -0700)
commit7ca476afe32047515981e2ce85a49c7d7568def3
tree7e468db7e621a179e6029e855a29f260520ba959
parentde22d08f898bd7c938bcde03c927d9eb0f7854fa
system-macros: Create ADD_BR variant.

This patch splits ADD_BR into two commands, so they can be used from
different contexts:

ADD_BR(...) is a standalone command to add a bridge to OVS, and allows
additional ovs-vsctl arguments to be passed. It uses _ADD_BR().
_ADD_BR(...) is the implementation-specific ovs-vsctl arguments to
set up the correct datapath type for userspace or kmod tests.

Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Daniele Di Proietto <diproiettod@vmware.com>
tests/system-common-macros.at
tests/system-kmod-macros.at
tests/system-userspace-macros.at