Files
infix/test/case/infix_containers/container_bridge
Joachim Wiberg 5660f6239d test: refine container bridge test
The phys container test verifies custom mounts, so let's refine and
consolidate this test to focus on docker bridge features.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-02-24 22:31:17 +01:00
..
2025-02-24 22:31:17 +01:00

=== Container with bridge network
==== Description
Verify connectivity with a simple web server container from behind a
docker0 bridge.  As an added twist, this test also verifies content
mounts, i.e., custom index.html from running-config.

This also verifies port forwarding from container internal port to a
port accessed from the host.

==== Topology
ifdef::topdoc[]
image::{topdoc}../../test/case/infix_containers/container_bridge/topology.svg[Container with bridge network topology]
endif::topdoc[]
ifndef::topdoc[]
ifdef::testgroup[]
image::container_bridge/topology.svg[Container with bridge network topology]
endif::testgroup[]
ifndef::testgroup[]
image::topology.svg[Container with bridge network topology]
endif::testgroup[]
endif::topdoc[]
==== Test sequence
. Set up topology and attach to target DUT
. Create httpd container from bundled OCI image
. Verify container has started
. Verify DUT connectivity, host can reach 10.0.0.2
. Verify container is reachable on http://10.0.0.2:8080


<<<