Files
infix/test/case/infix_containers/container_enabled
Joachim Wiberg fe2d0f488d test/case: simplify AsciiDoc image references
This commit greatly simplifies AsciiDoc image references in generated
Readme.adoc files.  The two focused use-cases that remain after this
change are working references in:

 - Generated output/images/test-report.pdf
 - Viewing test's Readme.adoc from GitHub

Previously we aimed to have working images also when the test's Readme
was included in the parent directory's Readme.adoc.  This, however, is
not supported as of this commit.  It seems unlikely also to ever be a
supported feature of AsciiDoc on GitHub, for details, see the following
issue: <https://github.com/github/markup/issues/1095>

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2025-09-15 06:40:38 +02:00
..

ifdef::topdoc[:imagesdir: {topdoc}../../test/case/infix_containers/container_enabled]

=== Container enabled/disabled
==== Description
Verify that a container can be enabled and disabled via configuration.
Tests the 'enabled' leaf functionality by:

1. Creating an enabled container and verifying it starts
2. Disabling the container and verifying it stops
3. Re-enabling the container and verifying it starts again

Uses operational datastore to verify container running status.

==== Topology
image::topology.svg[Container enabled/disabled topology, align=center, scaledwidth=75%]

==== Sequence
. Set up topology and attach to target DUT
. Set hostname to 'container-host'
. Create enabled container from bundled OCI image
. Verify container has started
. Disable container
. Verify container has stopped
. Re-enable container
. Verify container has started again