diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-09-26 20:43:39 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-09-29 12:21:13 +0200 |
commit | 0a15b467d4d15eddef0d290aa5b251e30c8b467a (patch) | |
tree | 61b8f5796a32f33194f622a4048e69724d03e3c6 /conf.c | |
parent | 5b899dce7a9dd77d0e20f3d4f46a743dd5657169 (diff) | |
download | passt-0a15b467d4d15eddef0d290aa5b251e30c8b467a.tar passt-0a15b467d4d15eddef0d290aa5b251e30c8b467a.tar.gz passt-0a15b467d4d15eddef0d290aa5b251e30c8b467a.tar.bz2 passt-0a15b467d4d15eddef0d290aa5b251e30c8b467a.tar.lz passt-0a15b467d4d15eddef0d290aa5b251e30c8b467a.tar.xz passt-0a15b467d4d15eddef0d290aa5b251e30c8b467a.tar.zst passt-0a15b467d4d15eddef0d290aa5b251e30c8b467a.zip |
test: Use --config-net for namespace setup
The setup functions for passt_in_ns and two_guests perform some fairly slow
dhclient calls to configure the network in the namespace before starting
the guest. This isn't really part of the tests, just necessary for the
operations later.
We can simplify and speed this up a bit by using pasta's '--config-net'
option to configure the networking for us. As a bonus this means we have
at least a minimal test of the --config-net option itself.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'conf.c')
0 files changed, 0 insertions, 0 deletions