mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-06 07:33:01 +02:00
To reduce the duplication of effort between 9pm and the Infamy framework this change consolidates the move from local 'infamy: title:' extension to 9pm 'name:'. For the parameterized tunnel tests we leverage the 9pm dynamic test-spec variable, which looks for a correspodning <case>.adoc instead of static Readme.adoc, when generating the test report. Each test documentation should cover all aspects of the test, much like the usage text of a UNIX program. To this end, the tunnel test docs are now more spelled out, including all invariants. Some refactoring of these tests were also necessary, e.g., replacing any reserved Python keywords like 'type', and other PEP-8 fixes. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
=== mDNS enable/disable
ifdef::topdoc[:imagesdir: {topdoc}../../test/case/infix_services/mdns/mdns_enable_disable]
==== Description
Verify that mDNS can be enabled and disabled.
Operation and non-operation are confirmed using tcpdump.
==== Topology
image::topology.svg[mDNS enable/disable topology, align=center, scaledwidth=75%]
==== Sequence
. Set up topology and attach to target DUT
. Set IPv4 address 10.0.0.10/24 on target:data and disable mDNS
. Enable mDNS
. Verify on host:data there are packets from 10.0.0.10:5354 (mDNS)
. Disable mDNS
. Verify on host:data there are no packets from 10.0.0.10:5354 (mDNS)