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>
=== Container enabled/disabled
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/infix_containers/enabled]
==== 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