mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-30 04:33:00 +02:00
Rename test directories in infix_containers/ to remove the redundant 'container_' prefix since they already live under infix_containers/: container_basic -> basic container_bridge -> bridge container_enabled -> enabled container_environment -> environment container_firewall_basic -> firewall_basic container_host_commands -> host_commands container_phys -> phys container_veth -> veth container_volume -> volume Also update references in all.yaml and Readme.adoc files. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
30 lines
877 B
Plaintext
30 lines
877 B
Plaintext
=== Container basic
|
|
|
|
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/infix_containers/basic]
|
|
|
|
==== Description
|
|
|
|
Verify that a simple web server container can be configured to run
|
|
with host networking, on port 80. Operation is verified using a
|
|
simple GET request for index.html and checking for a key phrase.
|
|
|
|
The RPC actions: stop + start, and restart are also verified.
|
|
|
|
==== Topology
|
|
|
|
image::topology.svg[Container basic topology, align=center, scaledwidth=75%]
|
|
|
|
==== Sequence
|
|
|
|
. Set up topology and attach to target DUT
|
|
. Set hostname to 'container-host'
|
|
. Create container 'web' from bundled OCI image
|
|
. Verify container 'web' has started
|
|
. Verify container 'web' is reachable on http://container-host.local:91
|
|
. Stop container 'web'
|
|
. Verify container 'web' is stopped
|
|
. Restart container 'web'
|
|
. Verify container 'web' is reachable on http://container-host.local:91
|
|
|
|
|