mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/podman: add option to use passt as network backend
passt/pasta is the officially supported network backend, with slirp4netns only considered a legacy solution. However, some people have experienced corner cases when using passt/pasta (as it still is a young stack), so we do not want to do a blanket replace of slirp4netns just yet. Still, we make passt/pasta the default option. As a consequence, the existing runtime tests will now test passt/pasta, so we introduce two new tests for slirp4netns as a network backend. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
d038cc47cd
commit
54f79d804f
@@ -239,3 +239,22 @@ class TestPodmanTini(PodmanBase):
|
||||
|
||||
def test_run(self):
|
||||
self.do_test()
|
||||
|
||||
|
||||
class TestPodmanSlirpIptables(PodmanBase):
|
||||
config = PodmanBase.config + """
|
||||
BR2_PACKAGE_PODMAN_NET_SLIRP4NETNS=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.do_test()
|
||||
|
||||
|
||||
class TestPodmanSlirpNftables(PodmanBase):
|
||||
config = PodmanBase.config + """
|
||||
BR2_PACKAGE_NFTABLES=y
|
||||
BR2_PACKAGE_PODMAN_NET_SLIRP4NETNS=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
self.do_test()
|
||||
|
||||
Reference in New Issue
Block a user