tree: 84715f58da9709d620c30a38f973210d20c73cb1 [path history] [tgz]
  1. backbone/
  2. border_router/
  3. pktverify/
  4. __init__.py
  5. Cert_5_1_01_RouterAttach.py
  6. Cert_5_1_02_ChildAddressTimeout.py
  7. Cert_5_1_03_RouterAddressReallocation.py
  8. Cert_5_1_04_RouterAddressReallocation.py
  9. Cert_5_1_05_RouterAddressTimeout.py
  10. Cert_5_1_06_RemoveRouterId.py
  11. Cert_5_1_07_MaxChildCount.py
  12. Cert_5_1_08_RouterAttachConnectivity.py
  13. Cert_5_1_09_REEDAttachConnectivity.py
  14. Cert_5_1_10_RouterAttachLinkQuality.py
  15. Cert_5_1_11_REEDAttachLinkQuality.py
  16. Cert_5_1_12_NewRouterNeighborSync.py
  17. Cert_5_1_13_RouterReset.py
  18. Cert_5_2_01_REEDAttach.py
  19. Cert_5_2_03_LeaderReject2Hops.py
  20. Cert_5_2_04_REEDUpgrade.py
  21. Cert_5_2_05_AddressQuery.py
  22. Cert_5_2_06_RouterDowngrade.py
  23. Cert_5_2_07_REEDSynchronization.py
  24. Cert_5_3_01_LinkLocal.py
  25. Cert_5_3_02_RealmLocal.py
  26. Cert_5_3_03_AddressQuery.py
  27. Cert_5_3_04_AddressMapCache.py
  28. Cert_5_3_05_RoutingLinkQuality.py
  29. Cert_5_3_06_RouterIdMask.py
  30. Cert_5_3_07_DuplicateAddress.py
  31. Cert_5_3_08_ChildAddressSet.py
  32. Cert_5_3_09_AddressQuery.py
  33. Cert_5_3_10_AddressQuery.py
  34. Cert_5_3_11_AddressQueryTimeoutIntervals.py
  35. Cert_5_5_01_LeaderReboot.py
  36. Cert_5_5_02_LeaderReboot.py
  37. Cert_5_5_03_SplitMergeChildren.py
  38. Cert_5_5_04_SplitMergeRouters.py
  39. Cert_5_5_05_SplitMergeREED.py
  40. Cert_5_5_07_SplitMergeThreeWay.py
  41. Cert_5_6_01_NetworkDataRegisterBeforeAttachLeader.py
  42. Cert_5_6_02_NetworkDataRegisterBeforeAttachRouter.py
  43. Cert_5_6_03_NetworkDataRegisterAfterAttachLeader.py
  44. Cert_5_6_04_NetworkDataRegisterAfterAttachRouter.py
  45. Cert_5_6_05_NetworkDataRegisterAfterAttachRouter.py
  46. Cert_5_6_06_NetworkDataExpiration.py
  47. Cert_5_6_07_NetworkDataRequestREED.py
  48. Cert_5_6_09_NetworkDataForwarding.py
  49. Cert_5_7_01_CoapDiagCommands.py
  50. Cert_5_7_02_CoapDiagCommands.py
  51. Cert_5_7_03_CoapDiagCommands.py
  52. Cert_5_8_02_KeyIncrement.py
  53. Cert_5_8_03_KeyIncrementRollOver.py
  54. Cert_5_8_04_SecurityPolicyTLV.py
  55. Cert_6_1_01_RouterAttach.py
  56. Cert_6_1_02_REEDAttach.py
  57. Cert_6_1_03_RouterAttachConnectivity.py
  58. Cert_6_1_04_REEDAttachConnectivity.py
  59. Cert_6_1_05_REEDAttachConnectivity.py
  60. Cert_6_1_06_REEDAttachLinkQuality.py
  61. Cert_6_1_07_RouterAttachLinkQuality.py
  62. Cert_6_2_01_NewPartition.py
  63. Cert_6_2_02_NewPartition.py
  64. Cert_6_3_01_OrphanReattach.py
  65. Cert_6_3_02_NetworkDataUpdate.py
  66. Cert_6_4_01_LinkLocal.py
  67. Cert_6_4_02_RealmLocal.py
  68. Cert_6_5_01_ChildResetReattach.py
  69. Cert_6_5_02_ChildResetReattach.py
  70. Cert_6_5_03_ChildResetSynchronize.py
  71. Cert_6_6_01_KeyIncrement.py
  72. Cert_6_6_02_KeyIncrementRollOver.py
  73. Cert_7_1_01_BorderRouterAsLeader.py
  74. Cert_7_1_02_BorderRouterAsRouter.py
  75. Cert_7_1_03_BorderRouterAsLeader.py
  76. Cert_7_1_04_BorderRouterAsRouter.py
  77. Cert_7_1_05_BorderRouterAsRouter.py
  78. Cert_7_1_06_BorderRouterAsLeader.py
  79. Cert_7_1_07_BorderRouterAsLeader.py
  80. Cert_7_1_08_BorderRouterAsFED.py
  81. Cert_8_1_01_Commissioning.py
  82. Cert_8_1_02_Commissioning.py
  83. Cert_8_1_06_Commissioning.py
  84. Cert_8_2_01_JoinerRouter.py
  85. Cert_8_2_02_JoinerRouter.py
  86. Cert_8_2_05_JoinerRouter.py
  87. Cert_8_3_01_CommissionerPetition.py
  88. Cert_9_2_01_MGMTCommissionerGet.py
  89. Cert_9_2_02_MGMTCommissionerSet.py
  90. Cert_9_2_03_ActiveDatasetGet.py
  91. Cert_9_2_04_ActiveDataset.py
  92. Cert_9_2_05_ActiveDataset.py
  93. Cert_9_2_06_DatasetDissemination.py
  94. Cert_9_2_07_DelayTimer.py
  95. Cert_9_2_08_PersistentDatasets.py
  96. Cert_9_2_09_PendingPartition.py
  97. Cert_9_2_10_PendingPartition.py
  98. Cert_9_2_11_NetworkKey.py
  99. Cert_9_2_12_Announce.py
  100. Cert_9_2_13_EnergyScan.py
  101. Cert_9_2_14_PanIdQuery.py
  102. Cert_9_2_15_PendingPartition.py
  103. Cert_9_2_16_ActivePendingPartition.py
  104. Cert_9_2_17_Orphan.py
  105. Cert_9_2_18_RollBackActiveTimestamp.py
  106. Cert_9_2_19_PendingDatasetGet.py
  107. coap.py
  108. command.py
  109. common.py
  110. config.py
  111. debug.py
  112. dtls.py
  113. find_border_agents.py
  114. ipv6.py
  115. lowpan.py
  116. mac802154.py
  117. Makefile.am
  118. mcast6.py
  119. mesh_cop.py
  120. message.py
  121. mle.py
  122. net_crypto.py
  123. network_data.py
  124. network_diag.py
  125. network_layer.py
  126. node.py
  127. pcap.py
  128. README.md
  129. requirements.txt
  130. run_cert_suite.py
  131. simulator.py
  132. sniffer.py
  133. sniffer_transport.py
  134. test_anycast.py
  135. test_anycast_locator.py
  136. Test_Cli.py
  137. test_coap.py
  138. test_coap_block.py
  139. test_coap_observe.py
  140. test_coaps.py
  141. test_common.py
  142. test_crypto.py
  143. test_dataset_updater.py
  144. test_diag.py
  145. test_dns_client_config_auto_start.py
  146. test_dnssd.py
  147. test_dnssd_name_with_special_chars.py
  148. test_history_tracker.py
  149. test_inform_previous_parent_on_reattach.py
  150. test_ipv6.py
  151. test_ipv6_fragmentation.py
  152. test_ipv6_source_selection.py
  153. test_lowpan.py
  154. test_mac802154.py
  155. test_mac_scan.py
  156. test_mle.py
  157. test_netdata_publisher.py
  158. test_network_data.py
  159. test_network_layer.py
  160. test_on_mesh_prefix.py
  161. test_pbbr_aloc.py
  162. test_ping.py
  163. test_ping_lla_src.py
  164. test_radio_filter.py
  165. test_reed_address_solicit_rejected.py
  166. test_reset.py
  167. test_route_table.py
  168. test_router_reattach.py
  169. test_service.py
  170. test_set_mliid.py
  171. test_srp_auto_start_mode.py
  172. test_srp_client_change_lease.py
  173. test_srp_client_remove_host.py
  174. test_srp_client_save_server_info.py
  175. test_srp_lease.py
  176. test_srp_name_conflicts.py
  177. test_srp_register_500_services.py
  178. test_srp_register_single_service.py
  179. test_srp_server_anycast_mode.py
  180. test_srp_server_reboot_port.py
  181. test_srp_sub_type.py
  182. test_zero_len_external_route.py
  183. thread_cert.py
  184. tlvs_parsing.py
  185. udp_send_host.py
  186. v1_2_LowPower_5_3_01_SSEDAttachment.py
  187. v1_2_LowPower_6_1_07_PreferringARouterOverAReed.py
  188. v1_2_LowPower_7_1_01_SingleProbeLinkMetricsWithEnhancedAcks.py
  189. v1_2_LowPower_7_2_01_ForwardTrackingSeries.py
  190. v1_2_LowPower_test_forward_tracking_series.py
  191. v1_2_router_5_1_1.py
  192. v1_2_test_backbone_router_service.py
  193. v1_2_test_csl_transmission.py
  194. v1_2_test_domain_unicast_address.py
  195. v1_2_test_domain_unicast_address_registration.py
  196. v1_2_test_dua_handle_address_error.py
  197. v1_2_test_enhanced_frame_pending.py
  198. v1_2_test_enhanced_keep_alive.py
  199. v1_2_test_multicast_listener_registration.py
  200. v1_2_test_multicast_registration.py
  201. v1_2_test_parent_selection.py
  202. v1_2_test_single_probe.py
  203. 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.