/openthread-latest/tests/scripts/thread-cert/ |
D | test_network_data.py | 80 _type = sub_tlv.stable | ((0 & 0x7F) << 1) 84 _type = sub_tlv.stable | ((2 & 0x7F) << 1) 88 _type = sub_tlv.stable | ((3 & 0x7F) << 1) 108 _type = sub_tlv.stable | ((6 & 0x7F) << 1) 366 stable = any_stable() 368 has_route = network_data.HasRoute(any_routes(), stable) 371 actual_stable = has_route.stable 374 self.assertEqual(stable, actual_stable) 382 stable = any_stable() 389 message_info.stable = stable [all …]
|
D | network_data.py | 53 def __init__(self, stable): argument 54 self._stable = stable 57 def stable(self): member in NetworkData 69 stable = data_byte & 0x01 77 message_info.stable = stable 137 def __init__(self, routes, stable): argument 138 super(HasRoute, self).__init__(stable) 152 return "HasRoute(stable={}, routes=[{}])".format(self.stable, routes_str) 163 return HasRoute(routes, message_info.stable) 168 def __init__(self, domain_id, prefix_length, prefix, sub_tlvs, stable): argument [all …]
|
D | Cert_9_2_06_DatasetDissemination.py | 257 p.thread_nwd.tlv.stable == [0] and \ 288 p.thread_nwd.tlv.stable == [0] and \ 338 p.thread_nwd.tlv.stable == [0] and \ 402 p.thread_nwd.tlv.stable == [0] and \ 435 p.thread_nwd.tlv.stable == [0] and \ 500 p.thread_nwd.tlv.stable == [0] and \ 627 p.thread_nwd.tlv.stable == [0] and \ 677 p.thread_nwd.tlv.stable == [0] and \ 719 p.thread_nwd.tlv.stable == [0] and \ 783 p.thread_nwd.tlv.stable == [0]
|
D | test_br_upgrade_router_role.py | 123 br1.add_route('2001:dead:beef:cafe::/64', stable=True) 140 br3.add_route('2001:dead:beef:cafe::/64', stable=True)
|
D | Cert_9_2_09_PendingPartition.py | 278 p.thread_nwd.tlv.stable == [0] and\ 323 p.thread_nwd.tlv.stable == [0] and\ 359 p.thread_nwd.tlv.stable == [0] and\ 391 p.thread_nwd.tlv.stable == [0] and\ 451 p.thread_nwd.tlv.stable == [0] and\ 500 p.thread_nwd.tlv.stable == [0] and\ 639 p.thread_nwd.tlv.stable == [0] and\
|
D | Cert_5_6_09_NetworkDataForwarding.py | 103 self.nodes[LEADER].add_route('2001:2:0:2::/64', stable=True, prf='med') 112 self.nodes[ROUTER2].add_route('2001:2:0:2::/64', stable=True, prf='high') 152 … .border_router.flag.o == [1] and p.thread_nwd.tlv.stable == [0, 1, 1, 1, 1, 1]) 186 … .tlv.border_router.flag.o == [1, 1] and p.thread_nwd.tlv.stable == [0, 1, 1, 1, 1, 1])
|
D | Cert_9_2_11_NetworkKey.py | 248 p.thread_nwd.tlv.stable == [0] and\ 279 p.thread_nwd.tlv.stable == [0] and\ 335 p.thread_nwd.tlv.stable == [0] and\ 366 p.thread_nwd.tlv.stable == [0] and\
|
D | Cert_5_6_02_NetworkDataRegisterBeforeAttachRouter.py | 140 border_router.flag.o == [1, 1] and p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0]) 149 … [1] and p.thread_nwd.tlv.border_router.flag.o == [1] and p.thread_nwd.tlv.stable == [1, 1, 1]) 157 border_router.flag.o == [1, 1] and p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0])
|
D | Cert_7_1_07_BorderRouterAsLeader.py | 289 is_sublist([0, 1, 1, 1, 0], p.thread_nwd.tlv.stable) and\ 318 is_sublist([1, 1, 1], p.thread_nwd.tlv.stable) and\ 388 p.thread_nwd.tlv.stable) and\ 434 p.thread_nwd.tlv.stable) and\ 554 is_sublist([1, 1, 1, 1, 1], p.thread_nwd.tlv.stable) and\
|
D | Cert_7_1_01_BorderRouterAsLeader.py | 172 p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0] 217 p.thread_nwd.tlv.stable == [1, 1, 1] 261 p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0]
|
D | Cert_8_3_01_CommissionerPetition.py | 173 p.thread_nwd.tlv.stable == [0] 266 p.thread_nwd.tlv.stable == [0] 326 p.thread_nwd.tlv.stable == [0]
|
D | Cert_9_2_18_RollBackActiveTimestamp.py | 200 p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0]) 215 } <= set(p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0]) 228 p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0])
|
D | Cert_7_1_08_BorderRouterAsFED.py | 171 p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0] 189 p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0]
|
D | Cert_9_2_07_DelayTimer.py | 175 … p.thread_meshcop.tlv.type) and p.thread_nwd.tlv.stable == [0] and p.mle.tlv.active_tstamp == 193 … } <= set(p.mle.tlv.type) and p.thread_nwd.tlv.stable == [0] and p.mle.tlv.active_tstamp == 212 … } <= set(p.mle.tlv.type) and p.thread_nwd.tlv.stable == [0] and p.mle.tlv.active_tstamp ==
|
D | Cert_5_6_03_NetworkDataRegisterAfterAttachLeader.py | 132 flag.o == [1, 1] and p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0]) 145 …outer.flag.r == [1] and p.thread_nwd.tlv.border_router.flag.o == [1] and p.thread_nwd.tlv.stable ==
|
D | Cert_5_6_04_NetworkDataRegisterAfterAttachRouter.py | 139 flag.o == [1, 1] and p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0]) 152 …outer.flag.r == [1] and p.thread_nwd.tlv.border_router.flag.o == [1] and p.thread_nwd.tlv.stable ==
|
D | Cert_5_6_05_NetworkDataRegisterAfterAttachRouter.py | 145 [1, 1, 1] and p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0, 1, 1, 1]) 159 border_router.flag.o == [1, 1] and p.thread_nwd.tlv.stable == [1, 1, 1, 1, 1, 1])
|
D | Cert_7_1_03_BorderRouterAsLeader.py | 154 p.thread_nwd.tlv.stable == [0, 1, 1, 1, 0, 0, 0] 206 p.thread_nwd.tlv.stable == [1, 1, 1]
|
/openthread-latest/tests/toranj/ncp/ |
D | test-025-network-data-timeout.py | 62 stable=True, argument 80 verify(p.is_stable() == stable) 152 r1.add_prefix(prefix1, on_mesh=True, preferred=True, stable=True) 153 r2.add_prefix(prefix2, on_mesh=True, preferred=True, stable=True) 154 c2.add_prefix(prefix3, on_mesh=True, preferred=True, stable=True) 157 r1.add_prefix(common_prefix, on_mesh=True, preferred=True, stable=False) 158 r2.add_prefix(common_prefix, on_mesh=True, preferred=True, stable=True) 159 c2.add_prefix(common_prefix, on_mesh=True, preferred=False, stable=True) 175 stable=True, 183 stable=True, [all …]
|
D | test-040-network-data-stable-full.py | 66 stable=True, argument 84 verify(p.is_stable() == stable) 164 c1.add_prefix(prefix1, stable=True) 171 stable=True, 178 stable=True, 195 c1.add_prefix(prefix2, stable=False) 202 stable=False, 264 leader.add_prefix(prefix1, stable=False) 267 leader.add_prefix(prefix2, stable=True) 276 leader.add_route(prefix1, stable=False) [all …]
|
D | test-010-on-mesh-prefix-config-gateway.py | 64 stable=True, argument 81 verify(p.is_stable() == stable) 147 verify_prefix(all_nodes, prefix1, stable=True, on_mesh=True, slaac=True) 162 stable=True, 181 stable=True, 212 stable=False, 228 stable=False, 254 stable=True, 267 stable=True,
|
D | test-030-slaac-address-ncp.py | 77 stable=True, argument 93 … if (int(p.prefix_len) == prefix_len and p.is_stable() == stable and p.is_on_mesh() == on_mesh and 162 r1.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) 166 verify_prefix(all_nodes, PREFIX, stable=True, on_mesh=True, slaac=True) 201 r2.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) 206 r1.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) 226 r1.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=False) 227 r2.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) 253 r2.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) 298 r1.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) [all …]
|
D | test-026-slaac-address-wpantund.py | 69 stable=True, argument 85 … if (int(p.prefix_len) == prefix_len and p.is_stable() == stable and p.is_on_mesh() == on_mesh and 149 r1.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) 155 verify_prefix(all_nodes, PREFIX, stable=True, on_mesh=True, slaac=True) 178 r2.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) 182 r1.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) 197 r1.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=False) 198 r2.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True) 222 r2.add_prefix(PREFIX, stable=True, on_mesh=True, slaac=True)
|
D | test-024-partition-merge.py | 64 stable=True, argument 81 verify(p.is_stable() == stable)
|
/openthread-latest/tests/scripts/thread-cert/border_router/nat64/ |
D | test_with_infrastructure_prefix.py | 125 br.add_route(SMALL_NAT64_PREFIX, stable=False, nat64=True, prf='med') 144 br.add_route(SMALL_NAT64_PREFIX, stable=False, nat64=True, prf='low')
|