Home
last modified time | relevance | path

Searched refs:leader_data (Results 1 – 20 of 20) sorted by relevance

/external/openthread/tests/scripts/thread-cert/
DCert_9_2_06_DatasetDissemination.py253 (p.mle.tlv.leader_data.data_version -
254 _pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and \
255 p.mle.tlv.leader_data.stable_data_version ==
256 _pkt.mle.tlv.leader_data.stable_data_version and \
284 (p.mle.tlv.leader_data.data_version -
285 _pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and \
286 p.mle.tlv.leader_data.stable_data_version ==
287 _pkt.mle.tlv.leader_data.stable_data_version and \
334 (p.mle.tlv.leader_data.data_version -
335 _pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and \
[all …]
DCert_7_1_06_BorderRouterAsLeader.py259 p.mle.tlv.leader_data.data_version ==
260 (_dr_pkt.mle.tlv.leader_data.data_version + 1) % 256 and\
261 (p.mle.tlv.leader_data.stable_data_version ==
262 (_dr_pkt.mle.tlv.leader_data.stable_data_version + 1) % 256 or\
263 p.mle.tlv.leader_data.stable_data_version ==
264 (_pkt.mle.tlv.leader_data.stable_data_version + 1) % 256) and\
294 p.mle.tlv.leader_data.data_version ==
295 _dr_pkt1.mle.tlv.leader_data.data_version and\
296 p.mle.tlv.leader_data.stable_data_version ==
297 _dr_pkt1.mle.tlv.leader_data.stable_data_version and\
[all …]
DCert_9_2_09_PendingPartition.py274 (p.mle.tlv.leader_data.data_version -
275 _pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and\
276 (p.mle.tlv.leader_data.stable_data_version -
277 _pkt.mle.tlv.leader_data.stable_data_version) % 256 <= 127 and\
355 (p.mle.tlv.leader_data.data_version -
356 _pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and\
357 (p.mle.tlv.leader_data.stable_data_version -
358 _pkt.mle.tlv.leader_data.stable_data_version) % 256 <= 127 and\
447 (p.mle.tlv.leader_data.data_version -
448 _pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and\
[all …]
DCert_5_6_06_NetworkDataExpiration.py202 …Ipv6Addr('2001:2:0:3::')} == set(p.thread_nwd.tlv.prefix) and p.mle.tlv.leader_data.data_version ==
203 … (_pkt.mle.tlv.leader_data.data_version + 1) % 256 and p.mle.tlv.leader_data.stable_data_version ==
204 (_pkt.mle.tlv.leader_data.stable_data_version + 1) % 256)
209 …and p.mle.tlv.leader_data.data_version == (_pkt.mle.tlv.leader_data.data_version + 1) % 256 and p.…
210leader_data.stable_data_version == (_pkt.mle.tlv.leader_data.stable_data_version + 1) % 256)
215 p.mle.tlv.type) and p.mle.tlv.leader_data.data_version ==
216 … (_pkt.mle.tlv.leader_data.data_version + 1) % 256 and p.mle.tlv.leader_data.stable_data_version ==
217 (_pkt.mle.tlv.leader_data.stable_data_version + 1) % 256)
DCert_7_1_07_BorderRouterAsLeader.py264 p.mle.tlv.leader_data.data_version ==
265 (_pkt.mle.tlv.leader_data.data_version + 1) % 256 and\
266 p.mle.tlv.leader_data.stable_data_version ==
267 (_pkt.mle.tlv.leader_data.stable_data_version + 1) % 256
283 p.mle.tlv.leader_data.data_version ==
284 (_dr_pkt.mle.tlv.leader_data.data_version + 1) % 256 and\
285 p.mle.tlv.leader_data.stable_data_version ==
286 _dr_pkt.mle.tlv.leader_data.stable_data_version and\
392 p.mle.tlv.leader_data.data_version ==
393 (_dr_pkt1.mle.tlv.leader_data.data_version + 1) % 256 and\
[all …]
DCert_9_2_05_ActiveDataset.py203 (p.mle.tlv.leader_data.data_version -
204 _pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and\
205 (p.mle.tlv.leader_data.stable_data_version -
206 _pkt.mle.tlv.leader_data.stable_data_version) % 256 <= 127
296 (p.mle.tlv.leader_data.data_version -
297 _dr_pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and\
298 (p.mle.tlv.leader_data.stable_data_version -
299 _dr_pkt.mle.tlv.leader_data.stable_data_version) % 256 <= 127
DCert_9_2_08_PersistentDatasets.py246 p.mle.tlv.leader_data.data_version !=
247 (_pkt.mle.tlv.leader_data.data_version + 1) % 256 and\
248 p.mle.tlv.leader_data.stable_data_version !=
249 (_pkt.mle.tlv.leader_data.stable_data_version + 1) % 256 and\
272 p.mle.tlv.leader_data.data_version !=
273 (_pkt.mle.tlv.leader_data.data_version + 1) % 256 and\
274 p.mle.tlv.leader_data.stable_data_version !=
275 (_pkt.mle.tlv.leader_data.stable_data_version + 1) % 256 and\
DCert_5_1_04_RouterAddressReallocation.py194 p.mle.tlv.leader_data.partition_id !=
195 _pkt_pt.mle.tlv.leader_data.partition_id and\
196 (p.mle.tlv.leader_data.data_version !=
197 _pkt_pt.mle.tlv.leader_data.data_version or\
198 p.mle.tlv.leader_data.stable_data_version !=
199 _pkt_pt.mle.tlv.leader_data.stable_data_version)
DCert_9_2_11_NetworkKey.py244 (p.mle.tlv.leader_data.data_version -
245 _pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and\
246 (p.mle.tlv.leader_data.stable_data_version -
247 _pkt.mle.tlv.leader_data.stable_data_version) % 256 <= 127 and\
331 (p.mle.tlv.leader_data.data_version -
332 _dr_pkt.mle.tlv.leader_data.data_version) % 256 <= 127 and\
333 (p.mle.tlv.leader_data.stable_data_version -
334 _dr_pkt.mle.tlv.leader_data.stable_data_version) % 256 <= 127 and\
DCert_8_3_01_CommissionerPetition.py171 p.mle.tlv.leader_data.data_version ==
172 (_pkt.mle.tlv.leader_data.data_version + 1) % 256 and\
264 p.mle.tlv.leader_data.data_version ==
265 (_dr_pkt.mle.tlv.leader_data.data_version + 1) % 256 and\
324 (p.mle.tlv.leader_data.data_version -
325 _dr_pkt2.mle.tlv.leader_data.data_version) % 256 <= 127 and\
DCert_9_2_18_RollBackActiveTimestamp.py225 … } == set(p.mle.tlv.type) and p.mle.tlv.leader_data.data_version == _pkt.mle.tlv.leader_data.
226 … data_version and p.mle.tlv.leader_data.stable_data_version == _pkt.mle.tlv.leader_data.
234 …} == set(p.mle.tlv.type) and p.mle.tlv.leader_data.data_version == _pkt.mle.tlv.leader_data.data_v…
DCert_5_5_03_SplitMergeChildren.py178leader_data.partition_id != _pkt.mle.tlv.leader_data.partition_id and p.mle.tlv.leader_data.
179 …data_version != _pkt.mle.tlv.leader_data.data_version and p.mle.tlv.leader_data.stable_data_versio…
180 _pkt.mle.tlv.leader_data.stable_data_version and p.ipv6.hlim == 255).must_next()
Dcommand.py166 leader_data=CheckType.OPTIONAL, argument
177 check_mle_optional_tlv(command_msg, leader_data, mle.LeaderData)
187 leader_data=CheckType.OPTIONAL, argument
202 check_mle_optional_tlv(command_msg, leader_data, mle.LeaderData)
393 leader_data=CheckType.OPTIONAL, argument
404 check_mle_optional_tlv(command_msg, leader_data, mle.LeaderData)
469 leader_data=CheckType.OPTIONAL, argument
480 check_mle_optional_tlv(command_msg, leader_data, mle.LeaderData)
492 leader_data=CheckType.OPTIONAL, argument
508 check_mle_optional_tlv(command_msg, leader_data, mle.LeaderData)
DCert_5_6_07_NetworkDataRequestREED.py177 … lambda p: p.mle.tlv.leader_data.data_version == (_pkt.mle.tlv.leader_data.data_version + 1) % 256)
Dtest_mle.py843leader_data = mle.LeaderData(partition_id, any_weighting(), any_data_version(), any_stable_data_ve…
847 actual_partition_id = leader_data.partition_id
856leader_data = mle.LeaderData(any_partition_id(), weighting, any_data_version(), any_stable_data_ve…
860 actual_weighting = leader_data.weighting
869leader_data = mle.LeaderData(any_partition_id(), any_weighting(), data_version, any_stable_data_ve…
873 actual_data_version = leader_data.data_version
882leader_data = mle.LeaderData(any_partition_id(), any_weighting(), any_data_version(), stable_data_…
886 actual_stable_data_version = leader_data.stable_data_version
895 leader_data = mle.LeaderData(any_partition_id(), any_weighting(), any_data_version(),
899 actual_leader_router_id = leader_data.leader_router_id
DCert_5_1_03_RouterAddressReallocation.py164 p.mle.tlv.leader_data.partition_id !=
165 _pkt_pt.mle.tlv.leader_data.partition_id).\
DCert_7_1_05_BorderRouterAsRouter.py222 p.mle.tlv.leader_data.data_version ==
223 _dv_pkt.mle.tlv.leader_data.data_version and\
DCert_9_2_10_PendingPartition.py234 …MLE_CHILD_ID_RESPONSE).must_next().must_verify(lambda p: p.mle.tlv.leader_data.partition_id == 0xf…
/external/openthread/tests/scripts/thread-cert/pktverify/
Dtest_layer_fields.py111 self.assertIsInstanceOrNull(mle.tlv.leader_data.partition_id, int)
112 self.assertIsInstanceOrNull(mle.tlv.leader_data.weighting, int)
113 self.assertIsInstanceOrNull(mle.tlv.leader_data.data_version, int)
114 self.assertIsInstanceOrNull(mle.tlv.leader_data.stable_data_version, int)
115 self.assertIsInstanceOrNull(mle.tlv.leader_data.router_id, int)
Dsummary.py136 if tlv.leader_data:
137 self._leader_id = tlv.leader_data.router_id