Home
last modified time | relevance | path

Searched refs:must_verify (Results 1 – 25 of 61) sorted by relevance

123

/openthread-latest/tests/scripts/thread-cert/
DCert_5_5_02_LeaderReboot.py107 _lpkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
110 _rpkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
117 _rpkts.filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
124 _rpkts.filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
137 _rpkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
142 _rpkts.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).must_next().must_verify(
147 _lpkts.range(lreset_stop).filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
151 _rpkts.filter_mle_cmd(MLE_PARENT_RESPONSE).must_next().must_verify(
158 _lpkts.filter_mle_cmd(MLE_CHILD_ID_REQUEST).must_next().must_verify(
165 _rpkts.filter_mle_cmd(MLE_CHILD_ID_RESPONSE).must_next().must_verify(
[all …]
DCert_5_5_07_SplitMergeThreeWay.py129 _lpkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
132 … router1_pkts.range(leader_pkts.index).filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
137 router1_pkts.filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
141 router1_pkts.filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
147 router1_pkts.filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
159 router1_pkts.copy().filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
164 _lpkts.filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
168 router1_pkts.filter_mle_cmd(MLE_PARENT_RESPONSE).must_next().must_verify(
175 _lpkts.filter_mle_cmd(MLE_CHILD_ID_REQUEST).must_next().must_verify(
DCert_5_8_02_KeyIncrement.py89 …leader_pkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(lambda p: p.wpan.aux_sec.key…
99 …MLE_ADVERTISEMENT).must_next().must_verify(lambda p: p.wpan.aux_sec.key_index == 1 and p.wpan.aux_…
107 … _lpkts.filter(lambda p: p.ipv6.dst == router_mleid).filter_ping_request().must_next().must_verify(
113 … _rpkts.filter(lambda p: p.ipv6.dst == leader_mleid).filter_ping_reply().must_next().must_verify(
120 … _lpkts.filter(lambda p: p.ipv6.dst == router_mleid).filter_ping_request().must_next().must_verify(
126 … _rpkts.filter(lambda p: p.ipv6.dst == leader_mleid).filter_ping_reply().must_next().must_verify(
DCert_9_2_18_RollBackActiveTimestamp.py184 MGMT_ACTIVE_SET_URI).must_next().must_verify(lambda p: p.thread_meshcop.tlv.state == 1)
188 … MGMT_PENDING_SET_URI).must_next().must_verify(lambda p: p.thread_meshcop.tlv.state == -1)
192 MGMT_PENDING_SET_URI).must_next().must_verify(lambda p: p.thread_meshcop.tlv.state == 1)
197 _pkt.must_verify(lambda p: {
204 …).must_verify(lambda p: {TLV_REQUEST_TLV, NETWORK_DATA_TLV, ACTIVE_TIMESTAMP_TLV} <= set(p.mle.tlv…
208 MLE_DATA_RESPONSE).must_next().must_verify(
222 MLE_DATA_RESPONSE).must_next().must_verify(
232 MLE_CHILD_UPDATE_REQUEST).must_next().must_verify(lambda p: {
238 …).must_verify(lambda p: {TLV_REQUEST_TLV, NETWORK_DATA_TLV, ACTIVE_TIMESTAMP_TLV} <= set(p.mle.tlv…
242 MLE_DATA_RESPONSE).must_next().must_verify(
DCert_5_6_09_NetworkDataForwarding.py149 ).must_verify(lambda p: {Ipv6Addr('2001:2:0:1::'), Ipv6Addr('2001:2:0:2::')} == set(
157 …).must_verify(lambda p: {SOURCE_ADDRESS_TLV, LEADER_DATA_TLV, NETWORK_DATA_TLV, ACTIVE_TIMESTAMP_T…
167 _rpkts.filter_ping_request().filter_ipv6_dst('2001:2:0:2::1').must_next().must_verify(
172 _rpkts.filter_ping_request().filter_ipv6_dst('2007::1').must_next().must_verify(
178 LINK_LOCAL_ALL_NODES_MULTICAST_ADDRESS).must_next().must_verify(
190 …).must_verify(lambda p: {SOURCE_ADDRESS_TLV, LEADER_DATA_TLV, NETWORK_DATA_TLV, ACTIVE_TIMESTAMP_T…
198 _rpkts.filter_ping_request().filter_ipv6_dst('2007::1').must_next().must_verify(
204 LINK_LOCAL_ALL_NODES_MULTICAST_ADDRESS).must_next().must_verify(
213 …).must_verify(lambda p: {SOURCE_ADDRESS_TLV, LEADER_DATA_TLV, NETWORK_DATA_TLV, ACTIVE_TIMESTAMP_T…
221 _rpkts.filter_ping_request().filter_ipv6_dst('2007::1').must_next().must_verify(
DCert_9_2_07_DelayTimer.py162 …).must_verify(lambda p: {ACTIVE_OPERATION_DATASET_TLV, ACTIVE_TIMESTAMP_TLV} <= set(p.mle.tlv.type…
168 … _lpkts.filter_ipv6_dst(ROUTER_RLOC).filter_coap_ack(MGMT_ACTIVE_SET_URI).must_next().must_verify(
172 _lpkts.filter_LLANMA().filter_mle_cmd(MLE_DATA_RESPONSE).must_next().must_verify(
180 …).must_verify(lambda p: {ACTIVE_OPERATION_DATASET_TLV, ACTIVE_TIMESTAMP_TLV} <= set(p.mle.tlv.type…
186 …ts_coap.filter_ipv6_dst(ROUTER_RLOC).filter_coap_ack(MGMT_PENDING_SET_URI).must_next().must_verify(
190 _lpkts.filter_LLANMA().filter_mle_cmd(MLE_DATA_RESPONSE).must_next().must_verify(
200 _lpkts.filter_wpan_dst64(ROUTER).filter_mle_cmd(MLE_DATA_RESPONSE).must_next().must_verify(
205 …p.filter_ipv6_dst(COMMISSIONER_RLOC).filter_coap_ack(MGMT_PENDING_SET_URI).must_next().must_verify(
209 _lpkts.filter_LLANMA().filter_mle_cmd(MLE_DATA_RESPONSE).must_next().must_verify(
217 …).must_verify(lambda p: {ACTIVE_TIMESTAMP_TLV, PENDING_TIMESTAMP_TLV, PENDING_OPERATION_DATASET_TL…
DCert_9_2_10_PendingPartition.py181 _rpkts.filter_wpan_dst64(LEADER).filter_mle_cmd(MLE_DATA_REQUEST).must_next().must_verify(
187 MLE_DATA_RESPONSE).must_next().must_verify(lambda p: {
195 …).must_verify(lambda p: {TLV_REQUEST_TLV, NETWORK_DATA_TLV, ACTIVE_TIMESTAMP_TLV} <= set(p.mle.tlv…
198 …_rpkts_med.filter_wpan_dst64(MED).filter_mle_cmd(MLE_DATA_RESPONSE).must_next().must_verify(lambda…
207 MLE_CHILD_UPDATE_REQUEST).must_next().must_verify(lambda p: {
212 …wpan_src64(SED).filter_wpan_dst64(ROUTER).filter_mle_cmd(MLE_DATA_REQUEST).must_next().must_verify(
217 _pkt.must_verify(lambda p: {
226 …MLE_PARENT_REQUEST).must_next().must_verify(lambda p: p.sniff_timestamp - _pkt.sniff_timestamp > 3…
234 …MLE_CHILD_ID_RESPONSE).must_next().must_verify(lambda p: p.mle.tlv.leader_data.partition_id == 0xf…
DCert_5_5_03_SplitMergeChildren.py145 …ilter_wpan_src64(LEADER).filter_LLANMA().filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
148 _pkt.must_verify(
153 …_pkts.range(pkts.index).filter_LLARMA().filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
161 … lambda p: p.mle.tlv.scan_mask.r == 1 and p.mle.tlv.scan_mask.e == 0).must_next().must_verify(
184 …r1_pkts.filter_wpan_dst64(MED_2).filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).must_next().must_verify(
189 _lpkts.filter_LLARMA().filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
194 … _lpkts.filter_wpan_dst64(ROUTER_2).filter_mle_cmd(MLE_CHILD_ID_REQUEST).must_next().must_verify(
201 _lpkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
205 _router1_pkts.filter_coap_request(ADDR_SOL_URI).must_next().must_verify(
DCert_9_2_12_Announce.py143 … MLE_CHILD_ID_RESPONSE).must_next().must_verify(lambda p: p.wpan.dst_pan == DATASET1_PANID)
145 … MLE_CHILD_ID_RESPONSE).must_next().must_verify(lambda p: p.wpan.dst_pan == DATASET2_PANID)
151 … MLE_CHILD_ID_REQUEST).must_next().must_verify(lambda p: p.wpan.dst_pan == DATASET1_PANID)
154 MLE_ANNOUNCE).must_next().must_verify(
162 … MLE_CHILD_ID_REQUEST).must_next().must_verify(lambda p: p.wpan.dst_pan == DATASET1_PANID)
165 MLE_ANNOUNCE).must_next().must_verify(
DCert_5_8_03_KeyIncrementRollOver.py101 …MLE_ADVERTISEMENT).must_next().must_verify(lambda p: p.wpan.aux_sec.key_index == 128 and p.wpan.au…
109 … _lpkts.filter(lambda p: p.ipv6.dst == router_mleid).filter_ping_request().must_next().must_verify(
115 … _rpkts.filter(lambda p: p.ipv6.dst == leader_mleid).filter_ping_reply().must_next().must_verify(
123 … _lpkts.filter(lambda p: p.ipv6.dst == router_mleid).filter_ping_request().must_next().must_verify(
129 … _rpkts.filter(lambda p: p.ipv6.dst == leader_mleid).filter_ping_reply().must_next().must_verify(
DCert_5_6_02_NetworkDataRegisterBeforeAttachRouter.py123 _lpkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
129 …_lpkts.filter_mle_cmd(MLE_CHILD_ID_RESPONSE).must_next().must_verify(lambda p: p.wpan.dst64 == ROU…
136 _lpkts.filter_mle_cmd(MLE_DATA_RESPONSE).must_next().must_verify(
146 … _lpkts_sed.filter_mle_cmd(MLE_CHILD_ID_RESPONSE).filter_wpan_dst64(SED).must_next().must_verify(
153 … _lpkts_med.filter_mle_cmd(MLE_CHILD_ID_RESPONSE).filter_wpan_dst64(MED).must_next().must_verify(
161 …lpkts_med.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(MED).must_next().must_verify(
163 …lpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(SED).must_next().must_verify(
DCert_7_1_02_BorderRouterAsRouter.py127 _rpkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
129 _rpkts.filter_coap_request(SVR_DATA_URI).must_next().must_verify(
138 _rpkts.filter_mle_cmd(MLE_DATA_RESPONSE).must_next().must_verify(
145 p.must_verify(lambda p: p.wpan.dst64 == MED and {Ipv6Addr('2001:2:0:1::'),
151 _rpkts.filter_mle_cmd(MLE_CHILD_ID_RESPONSE).must_next().must_verify(
162 …rpkts_med.filter_wpan_dst64(MED).filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).must_next().must_verify(
165 …rpkts_sed.filter_wpan_dst64(SED).filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).must_next().must_verify(
DCert_5_6_06_NetworkDataExpiration.py162 _lpkts.filter_LLANMA().filter_mle_cmd(MLE_DATA_RESPONSE).must_next().must_verify(
172 …lpkts_med.filter_wpan_dst64(MED).filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).must_next().must_verify(
176 …_lpkts_sed.filter_wpan_dst64(SED).filter_mle_cmd(MLE_CHILD_UPDATE_REQUEST).must_next().must_verify(
187 _pkt.must_verify(
196 ).must_next().must_verify(
207 …lpkts_med.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(MED).must_next().must_verify(
213 …_lpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_REQUEST).filter_wpan_dst64(SED).must_next().must_verify(
220 …lpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(SED).must_next().must_verify(
DCert_7_1_04_BorderRouterAsRouter.py127 _rpkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
130 _pkt.must_verify(lambda p: p.wpan.dst16 == pv.vars['LEADER_RLOC16'] and {
140 _rpkts.filter_mle_cmd(MLE_DATA_RESPONSE).must_next().must_verify(
148 …rpkts_med.filter_wpan_dst64(MED).filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).must_next().must_verify(
152 …_rpkts_sed.filter_wpan_dst64(SED).filter_mle_cmd(MLE_CHILD_UPDATE_REQUEST).must_next().must_verify(
160 …rpkts_sed.filter_wpan_dst64(SED).filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).must_next().must_verify(
DCert_6_6_01_KeyIncrement.py88 _leader_pkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
95 …MLE_CHILD_ID_REQUEST).must_next().must_verify(lambda p: p.wpan.aux_sec.key_index == 1 and p.wpan.a…
108 _ed_pkts.filter_ping_reply(identifier=lp.icmpv6.echo.identifier).must_next().must_verify(
122 _ed_pkts.filter_ping_reply(identifier=lp.icmpv6.echo.identifier).must_next().must_verify(
DCert_6_6_02_KeyIncrementRollOver.py89 _leader_pkts.filter_mle_cmd(MLE_ADVERTISEMENT).must_next().must_verify(
96 …MLE_CHILD_ID_REQUEST).must_next().must_verify(lambda p: p.wpan.aux_sec.key_index == 128 and p.wpan…
109 _ed_pkts.filter_ping_reply(identifier=lp.icmpv6.echo.identifier).must_next().must_verify(
123 _ed_pkts.filter_ping_reply(identifier=lp.icmpv6.echo.identifier).must_next().must_verify(
DCert_8_1_02_Commissioning.py81 _cpkts.filter_mle_cmd(MLE_DISCOVERY_RESPONSE).must_next().must_verify(
93 _pkt.must_verify(lambda p: p.dtls.handshake.cookie is not None)
97 …cpkts2.filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_CLIENT_HELLO]).must_next().must_verify(
106 …filter(lambda p: p.dtls.handshake.type == [HANDSHAKE_CLIENT_KEY_EXCHANGE]).must_next().must_verify(
DCert_9_2_14_PanIdQuery.py116 … _cpkts.filter_ipv6_dst(ROUTER_RLOC).filter_coap_request(MGMT_PANID_QUERY).must_next().must_verify(
123 … ).must_verify(lambda p: {NM_CHANNEL_MASK_TLV, NM_PAN_ID_TLV} <= set(p.thread_meshcop.tlv.type))
127 MGMT_PANID_QUERY).must_next().must_verify(
134 … ).must_verify(lambda p: {NM_CHANNEL_MASK_TLV, NM_PAN_ID_TLV} <= set(p.thread_meshcop.tlv.type))
DCert_5_6_01_NetworkDataRegisterBeforeAttachLeader.py128 _rpkts.filter_mle_cmd(MLE_CHILD_ID_REQUEST).must_next().must_verify(
138 … _rpkts_sed.filter_mle_cmd(MLE_CHILD_ID_RESPONSE).filter_wpan_dst64(SED).must_next().must_verify(
146 … _rpkts_med.filter_mle_cmd(MLE_CHILD_ID_RESPONSE).filter_wpan_dst64(MED).must_next().must_verify(
154 _rpkts_med.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).must_next().must_verify(
157 _rpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).must_next().must_verify(
DCert_5_6_03_NetworkDataRegisterAfterAttachLeader.py129 …).must_verify(lambda p: {Ipv6Addr('2001:2:0:1::'), Ipv6Addr('2001:2:0:2::')} == set(p.thread_nwd.t…
136 …rpkts_med.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(MED).must_next().must_verify(
141 …_rpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_REQUEST).filter_wpan_dst64(SED).must_next().must_verify(
150 …rpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(SED).must_next().must_verify(
DCert_5_6_04_NetworkDataRegisterAfterAttachRouter.py136 …).must_verify(lambda p: {Ipv6Addr('2001:2:0:1::'), Ipv6Addr('2001:2:0:2::')} == set(p.thread_nwd.t…
143 …lpkts_med.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(MED).must_next().must_verify(
148 …_lpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_REQUEST).filter_wpan_dst64(SED).must_next().must_verify(
157 …lpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(SED).must_next().must_verify(
DCert_5_6_05_NetworkDataRegisterAfterAttachRouter.py140 ).must_verify(lambda p: {Ipv6Addr('2001:2:0:1::'),
149 …lpkts_med.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(MED).must_next().must_verify(
154 …_lpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_REQUEST).filter_wpan_dst64(SED).must_next().must_verify(
163 …lpkts_sed.filter_mle_cmd(MLE_CHILD_UPDATE_RESPONSE).filter_wpan_dst64(SED).must_next().must_verify(
DCert_9_2_15_PendingPartition.py176 _router2_pkts.range(pkts.index).filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
181 _router2_pkts.filter_mle_cmd(MLE_CHILD_ID_REQUEST).must_next().must_verify(lambda p: {
187 _router2_pkts.filter_mle_cmd(MLE_PARENT_REQUEST).must_next().must_verify(
192 _router2_pkts.filter_mle_cmd(MLE_CHILD_ID_REQUEST).must_next().must_verify(lambda p: {
/openthread-latest/tests/scripts/thread-cert/backbone/
Dtest_bmlr.py146 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f"""
153 pkts.filter_wpan_src64(ROUTER1).filter_coap_request('/n/mr').must_next().must_verify(f"""
158 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f"""
165 … pkts.filter_wpan_src64(COMMISSIONER).filter_coap_request('/n/mr').must_next().must_verify(f"""
170 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f"""
177 … pkts.filter_wpan_src64(COMMISSIONER).filter_coap_request('/n/mr').must_next().must_verify(f"""
182 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f"""
189 … pkts.filter_wpan_src64(COMMISSIONER).filter_coap_request('/n/mr').must_next().must_verify(f"""
194 pkts.filter_eth_src(PBBR_ETH).filter_coap_request('/b/bmr').must_next().must_verify(f"""
Dtest_ndproxy.py156 'icmpv6.nd.na.flag.s == 0').must_next().must_verify("""
166 'icmpv6.nd.na.flag.s == 0').must_next().must_verify("""
176 'icmpv6.nd.na.flag.s == 0').must_next().must_verify("""
188 'icmpv6.nd.na.flag.s == 1').must_next().must_verify("""
200 'icmpv6.nd.na.flag.s == 1').must_next().must_verify("""
212 'icmpv6.nd.na.flag.s == 1').must_next().must_verify("""

123