tree: 52aeda8111e08c513a19c8c2cd2dc0b3e700abb1
  1. backbone/
  2. border_router/
  3. pktverify/
  4. __init__.py
  5. addon_test_channel_manager_autocsl.py
  6. call_dbus_method.py
  7. coap.py
  8. command.py
  9. common.py
  10. config.py
  11. debug.py
  12. dtls.py
  13. find_border_agents.py
  14. ipv6.py
  15. lowpan.py
  16. mac802154.py
  17. mcast6.py
  18. mesh_cop.py
  19. message.py
  20. mle.py
  21. net_crypto.py
  22. network_data.py
  23. network_diag.py
  24. network_layer.py
  25. node.py
  26. pcap.py
  27. README.md
  28. requirements.in
  29. requirements.txt
  30. run_cert_suite.py
  31. simulator.py
  32. sniffer.py
  33. sniffer_transport.py
  34. test_anycast.py
  35. test_anycast_locator.py
  36. test_br_upgrade_router_role.py
  37. test_child_supervision.py
  38. Test_Cli.py
  39. test_coap.py
  40. test_coap_block.py
  41. test_coap_observe.py
  42. test_coaps.py
  43. test_common.py
  44. test_crypto.py
  45. test_dataset_updater.py
  46. test_detach.py
  47. test_diag.py
  48. test_dns_client_config_auto_start.py
  49. test_dnssd.py
  50. test_dnssd_name_with_special_chars.py
  51. test_history_tracker.py
  52. test_inform_previous_parent_on_reattach.py
  53. test_ipv6.py
  54. test_ipv6_fragmentation.py
  55. test_ipv6_source_selection.py
  56. test_key_rotation_and_key_guard_time.py
  57. test_leader_reboot_multiple_link_request.py
  58. test_lowpan.py
  59. test_mac802154.py
  60. test_mac_scan.py
  61. test_mle.py
  62. test_mle_msg_key_seq_jump.py
  63. test_netdata_publisher.py
  64. test_network_data.py
  65. test_network_layer.py
  66. test_on_mesh_prefix.py
  67. test_pbbr_aloc.py
  68. test_ping.py
  69. test_ping_lla_src.py
  70. test_radio_filter.py
  71. test_reed_address_solicit_rejected.py
  72. test_reset.py
  73. test_route_table.py
  74. test_router_downgrade_on_sec_policy_change.py
  75. test_router_multicast_link_request.py
  76. test_router_reattach.py
  77. test_router_reboot_multiple_link_request.py
  78. test_router_upgrade.py
  79. test_service.py
  80. test_set_mliid.py
  81. test_srp_auto_host_address.py
  82. test_srp_auto_start_mode.py
  83. test_srp_client_change_lease.py
  84. test_srp_client_remove_host.py
  85. test_srp_client_save_server_info.py
  86. test_srp_lease.py
  87. test_srp_many_services_mtu_check.py
  88. test_srp_name_conflicts.py
  89. test_srp_register_500_services.py
  90. test_srp_register_services_diff_lease.py
  91. test_srp_register_single_service.py
  92. test_srp_server_anycast_mode.py
  93. test_srp_server_reboot_port.py
  94. test_srp_sub_type.py
  95. test_srp_ttl.py
  96. test_tcat_tmf_enable_req.py
  97. test_zero_len_external_route.py
  98. thread_cert.py
  99. tlvs_parsing.py
  100. udp_send_host.py
  101. v1_2_router_5_1_1.py
  102. v1_2_test_backbone_router_service.py
  103. v1_2_test_domain_unicast_address.py
  104. v1_2_test_domain_unicast_address_registration.py
  105. v1_2_test_dua_handle_address_error.py
  106. v1_2_test_multicast_listener_registration.py
  107. v1_2_test_multicast_registration.py
  108. v1_2_test_parent_selection.py
  109. wpan.py
tests/scripts/thread-cert/README.md

OpenThread Certification Tests

Inspector

Inspect nodes status by the following modification:

  1. Insert the inspector to where you want to inspect.
import debug
debug.Inspector(self).inspect()
  1. Run the test and it will stop at the line above and prompt #.
./script/test clean build cert tests/scripts/thread-cert/Cert_5_1_01_RouterAttach.py
  1. Inspect
#
# 1
> state
leader
> exit
# 2
> panid
face
> exit
# exit

CLI reference

# mode

This is selection mode. You may select the node to inspect here.

  • list - list available nodes.
  • exit - end inspecting, continue running test case.
  • <number> - select the node with id <number>. This will result in entering > mode.

> mode

This is node mode. You may run OpenThread CLI here.

  • exit - go back to # mode.