mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 12:33:02 +02:00
Add new test step that adds a content mount to /var/www/index.html to verify that changes to a running container are activated. This test pass was previously part of the container bridge test, but was moved here to allow that test to focus on bridge specific checks. Issue #930 Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
30 lines
940 B
Plaintext
30 lines
940 B
Plaintext
=== Container with physical interface
|
|
==== Description
|
|
Verify connectivity with a simple web server container that's been
|
|
given a physical interface instead of an end of a VETH pair.
|
|
|
|
==== Topology
|
|
ifdef::topdoc[]
|
|
image::{topdoc}../../test/case/infix_containers/container_phys/topology.svg[Container with physical interface topology]
|
|
endif::topdoc[]
|
|
ifndef::topdoc[]
|
|
ifdef::testgroup[]
|
|
image::container_phys/topology.svg[Container with physical interface topology]
|
|
endif::testgroup[]
|
|
ifndef::testgroup[]
|
|
image::topology.svg[Container with physical interface 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 host:data can ping 10.0.0.2
|
|
. Verify container is reachable on http://10.0.0.2:91
|
|
. Add a content mount, overriding index.html
|
|
. Verify server is restarted and returns new content
|
|
|
|
|
|
<<<
|
|
|