tree: c6b466091d81d659cb632a034b8d5640221b6d17 [path history] [tgz]
  1. __init__.py
  2. Cert_5_1_01_RouterAttach.py
  3. Cert_5_1_02_ChildAddressTimeout.py
  4. Cert_5_1_03_RouterAddressReallocation.py
  5. Cert_5_1_04_RouterAddressReallocation.py
  6. Cert_5_1_05_RouterAddressTimeout.py
  7. Cert_5_1_06_RemoveRouterId.py
  8. Cert_5_1_07_MaxChildCount.py
  9. Cert_5_1_08_RouterAttachConnectivity.py
  10. Cert_5_1_09_REEDAttachConnectivity.py
  11. Cert_5_1_10_RouterAttachLinkQuality.py
  12. Cert_5_1_11_REEDAttachLinkQuality.py
  13. Cert_5_1_12_NewRouterNeighborSync.py
  14. Cert_5_1_13_RouterReset.py
  15. Cert_5_2_01_REEDAttach.py
  16. Cert_5_2_03_LeaderReject2Hops.py
  17. Cert_5_2_04_REEDUpgrade.py
  18. Cert_5_2_05_AddressQuery.py
  19. Cert_5_2_06_RouterDowngrade.py
  20. Cert_5_2_07_REEDSynchronization.py
  21. Cert_5_3_01_LinkLocal.py
  22. Cert_5_3_02_RealmLocal.py
  23. Cert_5_3_03_AddressQuery.py
  24. Cert_5_3_04_AddressMapCache.py
  25. Cert_5_3_05_RoutingLinkQuality.py
  26. Cert_5_3_06_RouterIdMask.py
  27. Cert_5_3_06b_RouterIdMask.py
  28. Cert_5_3_07_DuplicateAddress.py
  29. Cert_5_3_08_ChildAddressSet.py
  30. Cert_5_3_09_AddressQuery.py
  31. Cert_5_3_10_AddressQuery.py
  32. Cert_5_3_11_AddressQueryTimeoutIntervals.py
  33. Cert_5_5_01_LeaderReboot.py
  34. Cert_5_5_02_LeaderReboot.py
  35. Cert_5_5_03_SplitMergeChildren.py
  36. Cert_5_5_04_SplitMergeRouters.py
  37. Cert_5_5_05_SplitMergeREED.py
  38. Cert_5_5_07_SplitMergeThreeWay.py
  39. Cert_5_5_08_SplitRoutersLostLeader.py
  40. Cert_5_6_01_NetworkDataRegisterBeforeAttachLeader.py
  41. Cert_5_6_02_NetworkDataRegisterBeforeAttachRouter.py
  42. Cert_5_6_03_NetworkDataRegisterAfterAttachLeader.py
  43. Cert_5_6_04_NetworkDataRegisterAfterAttachRouter.py
  44. Cert_5_6_05_NetworkDataRegisterAfterAttachRouter.py
  45. Cert_5_6_06_NetworkDataExpiration.py
  46. Cert_5_6_07_NetworkDataRequestREED.py
  47. Cert_5_6_08_ContextManagement.py
  48. Cert_5_6_09_NetworkDataForwarding.py
  49. Cert_5_8_01_KeySynchronization.py
  50. Cert_5_8_02_KeyIncrement.py
  51. Cert_5_8_03_KeyIncrementRollOver.py
  52. Cert_6_1_01_RouterAttach.py
  53. Cert_6_1_02_REEDAttach_MED.py
  54. Cert_6_1_02_REEDAttach_SED.py
  55. Cert_6_1_03_RouterAttachConnectivity.py
  56. Cert_6_1_04_REEDAttachConnectivity.py
  57. Cert_6_1_05_RouterAttachLinkQuality.py
  58. Cert_6_1_06_REEDAttachLinkQuality_ED.py
  59. Cert_6_1_06_REEDAttachLinkQuality_SED.py
  60. Cert_6_1_07_EDSynchronization.py
  61. Cert_6_2_01_NewPartition.py
  62. Cert_6_2_02_NewPartition.py
  63. Cert_6_3_01_OrphanReattach.py
  64. Cert_6_3_02_NetworkDataUpdate.py
  65. Cert_6_4_01_LinkLocal.py
  66. Cert_6_4_02_RealmLocal.py
  67. Cert_6_5_01_ChildResetSynchronize.py
  68. Cert_6_5_02_ChildResetReattach.py
  69. Cert_6_6_01_KeyIncrement.py
  70. Cert_6_6_02_KeyIncrementRollOver.py
  71. Cert_7_1_01_BorderRouterAsLeader.py
  72. Cert_7_1_02_BorderRouterAsRouter.py
  73. Cert_7_1_03_BorderRouterAsLeader.py
  74. Cert_7_1_04_BorderRouterAsRouter.py
  75. Cert_7_1_05_BorderRouterAsRouter.py
  76. Cert_8_1_01_Commissioning.py
  77. Cert_8_1_02_Commissioning.py
  78. Cert_8_2_01_JoinerRouter.py
  79. Cert_8_2_02_JoinerRouter.py
  80. Cert_9_2_02_MGMTCommissionerSet.py
  81. Cert_9_2_04_ActiveDataset.py
  82. Cert_9_2_07_DelayTimer.py
  83. Cert_9_2_08_PersistentDatasets.py
  84. Cert_9_2_09_PendingPartition.py
  85. Cert_9_2_10_PendingPartition.py
  86. Cert_9_2_11_MasterKey.py
  87. Cert_9_2_12_Announce.py
  88. Cert_9_2_13_EnergyScan.py
  89. Cert_9_2_14_PanIdQuery.py
  90. Cert_9_2_15_PendingPartition.py
  91. Cert_9_2_16_ActivePendingPartition.py
  92. Cert_9_2_17_Orphan.py
  93. Cert_9_2_18_RollBackActiveTimestamp.py
  94. coap.py
  95. command.py
  96. common.py
  97. config.py
  98. debug.py
  99. dtls.py
  100. ipv6.py
  101. lowpan.py
  102. mac802154.py
  103. Makefile.am
  104. mesh_cop.py
  105. message.py
  106. mle.py
  107. net_crypto.py
  108. network_data.py
  109. network_layer.py
  110. node.py
  111. pcap.py
  112. README.md
  113. requirements.txt
  114. simulator.py
  115. sniffer.py
  116. sniffer_transport.py
  117. Test_Cli.py
  118. test_coap.py
  119. test_coaps.py
  120. test_common.py
  121. test_crypto.py
  122. test_diag.py
  123. test_ipv6.py
  124. test_ipv6_fragmentation.py
  125. test_lowpan.py
  126. test_mac802154.py
  127. Test_MacScan.py
  128. test_mle.py
  129. test_network_data.py
  130. test_network_layer.py
  131. test_route_table.py
  132. test_service.py
  133. tlvs_parsing.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.