mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-02 13:53:01 +02:00
Implemented logic to check if the system supports required services. Logical edges with 'requires' fields are mapped only if physical edges provide corresponding services. If not, the test is skipped. This ensures that tests only run when the required services are available in the test system configuration. Fixes #654
=== Services basic ==== Description Verify that basic services, such as mDNS and LLDP, can be enabled and disabled. Operation and non-operation are confirmed using tcpdump. ==== Topology ifdef::topdoc[] image::../../test/case/infix_services/services_basic/topology.svg[Services basic topology] endif::topdoc[] ifndef::topdoc[] ifdef::testgroup[] image::services_basic/topology.svg[Services basic topology] endif::testgroup[] ifndef::testgroup[] image::topology.svg[Services basic topology] endif::testgroup[] endif::topdoc[] ==== Test sequence . Set up topology and attach to target DUT . Set IPv4 address 10.0.0.10/24 on target:data and disable mDNS and LLDP . Enable mDNS and LLDP and toggle target:data DOWN and UP to trigger service . Verify on host:data there are packets from 10.0.0.10:5354 (mDNS) . Verify on host:data there are LLDP packets sent from 10.0.0.10 . Disable mDNS and LLDP . Verify on host:data there are no packets from 10.0.0.10:5354 (mDNS) . Verify on host:data there are no LLDP packets sent from 10.0.0.10 <<<