Files
infix/test/case/containers/environment
Joachim Wiberg 1bbd80d8c7 test: drop leading ietf/infix prefix from directories
Let's drop the leading IETF or Infix prefixes from tests.  Initially the
idea was to mimnic the YANG models, but it's difficult to navigate and
does not provide any real benefit to developers or end-users.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-11-20 20:23:23 +01:00
..

=== Container environment variables

ifdef::topdoc[:imagesdir: {topdoc}../../test/case/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