mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 13:03:02 +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>
=== Container environment variables
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/infix_containers/environment]
==== Description
Verify that environment variables can be set in container configuration
and are available inside the running container.
1 Set up a container config with multiple environment variables
2. Serve variables back to host using a CGI script in container
3. Verify served content against environment variables
==== Topology
image::topology.svg[Container environment variables topology, align=center, scaledwidth=75%]
==== Sequence
. Set up topology and attach to target DUT
. Configure data interface with static IPv4
. Set up container with environment variables
. Verify container has started
. Verify basic connectivity to data interface
. Verify environment variables in CGI response