[tests] set default node parameters (#6593)

This commit set default node parameters and remove unnecessary
parameters in topologies.
- router selection jitter to 1s
- panid to 0xface
This commit is contained in:
Simon Lin
2021-05-11 12:56:33 -07:00
committed by GitHub
parent f97d9c7de5
commit c1e2e168d6
156 changed files with 20 additions and 1002 deletions
@@ -64,14 +64,11 @@ class Cert_5_1_01_RouterAttach(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
}
@@ -68,21 +68,17 @@ class Cert_5_1_02_ChildAddressTimeout(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, MED, SED]
},
MED: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -90,7 +86,6 @@ class Cert_5_1_02_ChildAddressTimeout(thread_cert.TestCase):
'name': 'SED',
'is_mtd': True,
'mode': 'n',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -64,21 +64,16 @@ class Cert_5_1_03_RouterAddressReallocation(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER2]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER1]
},
}
@@ -65,22 +65,17 @@ class Cert_5_1_04_RouterAddressReallocation(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'partition_id': 1,
'allowlist': [ROUTER1, ROUTER2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER2]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER1]
},
}
@@ -62,14 +62,11 @@ class Cert_5_1_05_RouterAddressTimeout(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
ROUTER1: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
}
@@ -64,14 +64,11 @@ class Cert_5_1_06_RemoveRouterId(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
ROUTER1: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
}
@@ -70,22 +70,18 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'max_children': 10,
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, 3, 4, 5, 6, SED1, 8, 9, 10, 11, 12]
},
3: {
'name': 'MED1',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -93,7 +89,6 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
'name': 'MED2',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -101,7 +96,6 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
'name': 'MED3',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -109,7 +103,6 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
'name': 'MED4',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -117,7 +110,6 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
'name': 'SED1',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -125,7 +117,6 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
'name': 'SED2',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -133,7 +124,6 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
'name': 'SED3',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -141,7 +131,6 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
'name': 'SED4',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -149,7 +138,6 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
'name': 'SED5',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -157,7 +145,6 @@ class Cert_5_1_07_MaxChildCount(thread_cert.TestCase):
'name': 'SED6',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -67,35 +67,26 @@ class Cert_5_1_08_RouterAttachConnectivity(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2, ROUTER3]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER3]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER4]
},
ROUTER3: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER1, ROUTER4]
},
ROUTER4: {
'name': 'ROUTER_4',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER2, ROUTER3]
},
}
@@ -67,35 +67,28 @@ class Cert_5_1_09_REEDAttachConnectivity(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, REED1, REED2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, REED1]
},
REED1: {
'name': 'REED_1',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'allowlist': [LEADER, ROUTER1, ROUTER2]
},
REED2: {
'name': 'REED_2',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'allowlist': [LEADER, ROUTER2]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [REED1, REED2]
},
}
@@ -65,28 +65,21 @@ class Cert_5_1_10_RouterAttachLinkQuality(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER3]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, (ROUTER3, -85)]
},
ROUTER3: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER1, ROUTER2]
},
}
@@ -66,28 +66,22 @@ class Cert_5_1_11_REEDAttachLinkQuality(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [REED, ROUTER2]
},
REED: {
'name': 'REED_1',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'allowlist': [LEADER, ROUTER1]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, (ROUTER1, -85)]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [REED, ROUTER2]
},
}
@@ -61,21 +61,16 @@ class Cert_5_1_12_NewRouterSync(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
}
@@ -63,14 +63,11 @@ class Cert_5_1_13_RouterReset(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
}
@@ -69,21 +69,16 @@ class Cert_5_2_01_REEDAttach(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [DUT_ROUTER1]
},
DUT_ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, REED1]
},
REED1: {
'name': 'REED_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'router_upgrade_threshold': 1,
'allowlist': [DUT_ROUTER1, MED1]
},
@@ -91,7 +86,6 @@ class Cert_5_2_01_REEDAttach(thread_cert.TestCase):
'name': 'MED_1',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [REED1]
},
}
@@ -85,288 +85,224 @@ class Cert_5_2_3_LeaderReject2Hops(thread_cert.TestCase):
ROUTER_1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER, ROUTER_32]
},
3: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
4: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
5: {
'name': 'ROUTER_4',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
6: {
'name': 'ROUTER_5',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
7: {
'name': 'ROUTER_6',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
8: {
'name': 'ROUTER_7',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
9: {
'name': 'ROUTER_8',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
10: {
'name': 'ROUTER_9',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
11: {
'name': 'ROUTER_10',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
12: {
'name': 'ROUTER_11',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
13: {
'name': 'ROUTER_12',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
14: {
'name': 'ROUTER_13',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
15: {
'name': 'ROUTER_14',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
16: {
'name': 'ROUTER_15',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
17: {
'name': 'ROUTER_16',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
18: {
'name': 'ROUTER_17',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
19: {
'name': 'ROUTER_18',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
20: {
'name': 'ROUTER_19',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
21: {
'name': 'ROUTER_20',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
22: {
'name': 'ROUTER_21',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
23: {
'name': 'ROUTER_22',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
24: {
'name': 'ROUTER_23',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
25: {
'name': 'ROUTER_24',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
26: {
'name': 'ROUTER_25',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
27: {
'name': 'ROUTER_26',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
28: {
'name': 'ROUTER_27',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
29: {
'name': 'ROUTER_28',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
30: {
'name': 'ROUTER_29',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
31: {
'name': 'ROUTER_30',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
ROUTER_31: {
'name': 'ROUTER_31',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [DUT_LEADER]
},
ROUTER_32: {
'name': 'ROUTER_32',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 33,
'router_selection_jitter': 1,
'router_upgrade_threshold': 33,
'allowlist': [ROUTER_1]
},
@@ -78,125 +78,91 @@ class Cert_5_2_4_REEDUpgrade(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, ROUTER]
},
2: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
3: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
4: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
5: {
'name': 'ROUTER_4',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
6: {
'name': 'ROUTER_5',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
7: {
'name': 'ROUTER_6',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
8: {
'name': 'ROUTER_7',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
9: {
'name': 'ROUTER_8',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
10: {
'name': 'ROUTER_9',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
11: {
'name': 'ROUTER_10',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
12: {
'name': 'ROUTER_11',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
13: {
'name': 'ROUTER_12',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
14: {
'name': 'ROUTER_13',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
15: {
'name': 'ROUTER_14',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ROUTER: {
'name': 'ROUTER_15',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, DUT_REED]
},
DUT_REED: {
'name': 'REED',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER, MED]
},
MED: {
'name': 'MED',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [DUT_REED]
},
}
@@ -79,126 +79,92 @@ class Cert_5_2_5_AddressQuery(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, BR, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, MED]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, DUT_REED]
},
BR: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
4: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
5: {
'name': 'ROUTER_4',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
6: {
'name': 'ROUTER_5',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
7: {
'name': 'ROUTER_6',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
8: {
'name': 'ROUTER_7',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
9: {
'name': 'ROUTER_8',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
10: {
'name': 'ROUTER_9',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
11: {
'name': 'ROUTER_10',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
12: {
'name': 'ROUTER_11',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
13: {
'name': 'ROUTER_12',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
14: {
'name': 'ROUTER_13',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
15: {
'name': 'ROUTER_14',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
16: {
'name': 'ROUTER_15',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
MED: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
DUT_REED: {
'name': 'REED',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER1]
},
}
@@ -67,191 +67,143 @@ class Cert_5_2_06_RouterDowngrade(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
DUT_ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
4: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
5: {
'name': 'ROUTER_4',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
6: {
'name': 'ROUTER_5',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
7: {
'name': 'ROUTER_6',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
8: {
'name': 'ROUTER_7',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
9: {
'name': 'ROUTER_8',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
10: {
'name': 'ROUTER_9',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
11: {
'name': 'ROUTER_10',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
12: {
'name': 'ROUTER_11',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
13: {
'name': 'ROUTER_12',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
14: {
'name': 'ROUTER_13',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
15: {
'name': 'ROUTER_14',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
16: {
'name': 'ROUTER_15',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
17: {
'name': 'ROUTER_16',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
18: {
'name': 'ROUTER_17',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
19: {
'name': 'ROUTER_18',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
20: {
'name': 'ROUTER_19',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
21: {
'name': 'ROUTER_20',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
22: {
'name': 'ROUTER_21',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
23: {
'name': 'ROUTER_22',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
ROUTER23: {
'name': 'ROUTER_23',
'mode': 'rdn',
'panid': 0xface,
'router_downgrade_threshold': 32,
'router_selection_jitter': 1,
'router_upgrade_threshold': 32
},
}
@@ -75,104 +75,70 @@ class Cert_5_2_7_REEDSynchronization_Base(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
DUT_ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
4: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
5: {
'name': 'ROUTER_4',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
6: {
'name': 'ROUTER_5',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
7: {
'name': 'ROUTER_6',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
8: {
'name': 'ROUTER_7',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
9: {
'name': 'ROUTER_8',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
10: {
'name': 'ROUTER_9',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
11: {
'name': 'ROUTER_10',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
12: {
'name': 'ROUTER_11',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
13: {
'name': 'ROUTER_12',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
14: {
'name': 'ROUTER_13',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
15: {
'name': 'ROUTER_14',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
16: {
'name': 'ROUTER_15',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
DUT_REED: {
'name': 'REED',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
}
@@ -61,13 +61,10 @@ class Cert_5_3_1_LinkLocal(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface
},
DUT_ROUTER1: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
}
@@ -65,28 +65,22 @@ class Cert_5_3_2_RealmLocal(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, DUT_ROUTER2]
},
DUT_ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER1, SED1]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': 'n',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [DUT_ROUTER2]
},
@@ -67,35 +67,27 @@ class Cert_5_3_3_AddressQuery(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, DUT_ROUTER2, ROUTER3]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
DUT_ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER3, MED1]
},
ROUTER3: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, DUT_ROUTER2]
},
MED1: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': 3,
'allowlist': [DUT_ROUTER2]
},
@@ -70,21 +70,17 @@ class Cert_5_3_4_AddressMapCache(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [DUT_ROUTER1, MED1, MED2, MED3, MED4]
},
DUT_ROUTER1: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, SED1]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': 5,
'allowlist': [DUT_ROUTER1]
},
@@ -92,28 +88,24 @@ class Cert_5_3_4_AddressMapCache(thread_cert.TestCase):
'name': 'MED_1',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
MED2: {
'name': 'MED_2',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
MED3: {
'name': 'MED_3',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
MED4: {
'name': 'MED_4',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
}
@@ -64,28 +64,21 @@ class Cert_5_3_5_RoutingLinkQuality(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [DUT_ROUTER1, ROUTER2]
},
DUT_ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER2, ROUTER3]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, DUT_ROUTER1]
},
ROUTER3: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [DUT_ROUTER1]
},
}
@@ -64,21 +64,16 @@ class Cert_5_3_6_RouterIdMask(thread_cert.TestCase):
DUT_LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [DUT_LEADER, ROUTER2]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER1]
},
}
@@ -73,42 +73,34 @@ class Cert_5_3_7_DuplicateAddress(thread_cert.TestCase):
DUT_LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2, MED2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [DUT_LEADER, MED1]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [DUT_LEADER, SED1]
},
MED1: {
'name': 'MED_1',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'allowlist': [ROUTER2]
},
MED2: {
'name': 'MED_2',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [DUT_LEADER]
},
}
@@ -69,27 +69,22 @@ class Cert_5_3_8_ChildAddressSet(thread_cert.TestCase):
DUT_LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [BR, MED1, MED2]
},
BR: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [DUT_LEADER]
},
MED1: {
'name': 'MED_1',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [DUT_LEADER]
},
MED2: {
'name': 'MED_2',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [DUT_LEADER]
},
}
@@ -75,35 +75,27 @@ class Cert_5_3_09_AddressQuery(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, DUT_ROUTER2, ROUTER3]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
DUT_ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, SED1]
},
ROUTER3: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [DUT_ROUTER2]
},
@@ -77,35 +77,27 @@ class Cert_5_3_10_AddressQuery(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [BR, ROUTER1, DUT_ROUTER2]
},
BR: {
'name': 'BR',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, DUT_ROUTER2]
},
DUT_ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER1, MED1]
},
MED1: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [DUT_ROUTER2]
},
}
@@ -68,21 +68,17 @@ class Cert_5_3_11_AddressQueryTimeoutIntervals(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [DUT_ROUTER1]
},
DUT_ROUTER1: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, MED1]
},
MED1: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [DUT_ROUTER1]
},
}
@@ -64,14 +64,11 @@ class Cert_5_5_1_LeaderReboot(thread_cert.TestCase):
DUT_LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [DUT_ROUTER1]
},
DUT_ROUTER1: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [DUT_LEADER]
},
}
@@ -45,22 +45,17 @@ class Cert_5_5_2_LeaderReboot(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED]
},
ED: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER]
},
}
@@ -51,36 +51,28 @@ class Cert_5_5_3_SplitMergeChildren(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER1, ROUTER2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED2]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED3]
},
ED2: {
'name': 'MED_2',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
ED3: {
'name': 'MED_3',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER2]
},
}
@@ -45,36 +45,26 @@ class Cert_5_5_4_SplitMergeRouters(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER1, ROUTER2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER3]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER4]
},
ROUTER3: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER1]
},
ROUTER4: {
'name': 'ROUTER_4',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER2]
},
}
@@ -46,106 +46,74 @@ class Cert_5_5_5_SplitMergeREED(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER2, ROUTER3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, ROUTER15]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER3]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, REED1]
},
ROUTER3: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER1]
},
5: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
6: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
7: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
8: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
9: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
10: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
11: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
12: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
13: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
14: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
15: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ROUTER15: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
REED1: {
'name': 'REED',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER2]
},
}
@@ -44,29 +44,21 @@ class Cert_5_5_7_SplitMergeThreeWay(thread_cert.TestCase):
LEADER1: {
'name': 'LEADER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER1, ROUTER2, ROUTER3]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER1]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER1]
},
ROUTER3: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER1]
},
}
@@ -48,28 +48,23 @@ class Cert_5_6_1_NetworkDataLeaderAsBr(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED1, SED1]
},
ED1: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -48,28 +48,23 @@ class Cert_5_6_2_NetworkDataRouterAsBr(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER, ED1, SED1]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ED1: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -48,28 +48,23 @@ class Cert_5_6_3_NetworkDataRegisterAfterAttachLeader(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED1, SED1]
},
ED1: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -48,28 +48,23 @@ class Cert_5_6_4_NetworkDataRegisterAfterAttachRouter(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER, ED1, SED1]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ED1: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -48,28 +48,23 @@ class Cert_5_6_5_NetworkDataRegisterAfterAttachRouter(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER, ED1, SED1]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ED1: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -48,28 +48,23 @@ class Cert_5_6_6_NetworkDataExpiration(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER, ED1, SED1]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ED1: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -46,105 +46,73 @@ class Cert_5_6_7_NetworkDataRequestREED(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2, ROUTER3, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, ROUTER15]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, REED1]
},
ROUTER3: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
5: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
6: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
7: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
8: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
9: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
10: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
11: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
12: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
13: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
14: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
15: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ROUTER15: {
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
REED1: {
'name': 'REED',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER2]
},
}
@@ -49,35 +49,28 @@ class Cert_5_6_9_NetworkDataForwarding(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED, SED]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ED: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
SED: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER1]
},
@@ -81,7 +81,6 @@ class Cert_5_7_01_CoapDiagCommands_Base(thread_cert.TestCase):
ROUTER1: {
'mode': 'rdn',
'allowlist': [LEADER, REED1, SED1, MED1, FED1],
'router_selection_jitter': 1
},
REED1: {
'name': 'REED',
@@ -72,118 +72,86 @@ class Cert_5_7_02_CoapDiagCommands(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, ROUTER15]
},
2: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
3: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
4: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
5: {
'name': 'ROUTER_4',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
6: {
'name': 'ROUTER_5',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
7: {
'name': 'ROUTER_6',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
8: {
'name': 'ROUTER_7',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
9: {
'name': 'ROUTER_8',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
10: {
'name': 'ROUTER_9',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
11: {
'name': 'ROUTER_10',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
12: {
'name': 'ROUTER_11',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
13: {
'name': 'ROUTER_12',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
14: {
'name': 'ROUTER_13',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
15: {
'name': 'ROUTER_14',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ROUTER15: {
'name': 'ROUTER_15',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, REED]
},
REED: {
'name': 'DUT',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER15]
},
}
@@ -81,7 +81,6 @@ class Cert_5_7_03_CoapDiagCommands_Base(thread_cert.TestCase):
ROUTER1: {
'mode': 'rdn',
'allowlist': [LEADER, SED1, MED1, FED1],
'router_selection_jitter': 1
},
SED1: {
'name': 'SED',
@@ -43,15 +43,12 @@ class Cert_5_8_2_KeyIncrement(thread_cert.TestCase):
'name': 'LEADER',
'key_switch_guardtime': 0,
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'key_switch_guardtime': 0,
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
}
@@ -44,15 +44,12 @@ class Cert_5_8_3_KeyIncrementRollOver(thread_cert.TestCase):
'key_sequence_counter': 127,
'key_switch_guardtime': 0,
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'key_switch_guardtime': 0,
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
}
@@ -80,7 +80,6 @@ class Cert_5_8_04_SecurityPolicyTLV(thread_cert.TestCase):
'security_policy': [3600, 'onrcb']
},
'mode': 'rdn',
'router_selection_jitter': 1
},
COMMISSIONER_1: {
'name': 'COMMISSIONER_1',
@@ -91,12 +90,10 @@ class Cert_5_8_04_SecurityPolicyTLV(thread_cert.TestCase):
'security_policy': [3600, 'onrcb']
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
COMMISSIONER_2: {
'name': 'COMMISSIONER_2',
'router_selection_jitter': 1,
'mode': 'rdn',
'allowlist': [LEADER]
},
@@ -109,7 +106,6 @@ class Cert_5_8_04_SecurityPolicyTLV(thread_cert.TestCase):
'security_policy': [3600, 'onrcb']
},
'mode': 'rdn',
'router_selection_jitter': 1
},
}
@@ -64,13 +64,11 @@ class Cert_6_1_1_RouterAttach_Base(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ED]
},
ED: {
'name': 'DUT',
'is_mtd': True,
'panid': 0xface,
'allowlist': [LEADER]
},
}
@@ -66,21 +66,17 @@ class Cert_6_1_2_REEDAttach_Base(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [REED]
},
REED: {
'name': 'REED',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'router_selection_jitter': 1,
'allowlist': [LEADER, MTD]
},
MTD: {
'name': 'DUT',
'is_mtd': True,
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [REED]
},
@@ -46,35 +46,27 @@ class Cert_6_1_3_RouterAttachConnectivity(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2, ROUTER3]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER3]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED]
},
ROUTER3: {
'name': 'ROUTER_3',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER1, ED]
},
ED: {
'name': 'ED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER2, ROUTER3]
},
}
@@ -67,34 +67,28 @@ class Cert_6_1_4_REEDAttachConnectivity_Base(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER, REED_1, REED_2]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, REED_1]
},
REED_1: {
'name': 'REED_1',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'allowlist': [LEADER, ROUTER, MTD]
},
REED_2: {
'name': 'REED_2',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'allowlist': [LEADER, MTD]
},
MTD: {
'name': 'DUT',
'is_mtd': True,
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [REED_1, REED_2]
},
@@ -45,27 +45,22 @@ class Cert_6_1_5_REEDAttachConnectivity(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, REED1, REED2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, REED2]
},
REED1: {
'name': 'REED_1',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'allowlist': [LEADER, ROUTER1, ED]
},
REED2: {
'name': 'REED_2',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'allowlist': [LEADER, (ED, -85)]
},
@@ -73,7 +68,6 @@ class Cert_6_1_5_REEDAttachConnectivity(thread_cert.TestCase):
'name': 'ED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [REED1, REED2]
},
}
@@ -68,28 +68,22 @@ class Cert_6_1_6_REEDAttachLinkQuality_Base(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [REED, ROUTER]
},
REED: {
'name': 'REED',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'router_selection_jitter': 1,
'allowlist': [LEADER, MTD]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, (MTD, -85)]
},
MTD: {
'name': 'DUT',
'is_mtd': True,
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [REED, ROUTER]
},
@@ -44,28 +44,22 @@ class Cert_6_1_7_RouterAttachLinkQuality(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, (ED, -85)]
},
ED: {
'name': 'ED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2]
},
}
@@ -66,20 +66,16 @@ class Cert_6_2_1_NewPartition_Base(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
ROUTER1: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, MTD]
},
MTD: {
'name': 'DUT',
'is_mtd': True,
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER1]
},
@@ -44,29 +44,23 @@ class Cert_6_2_2_NewPartition(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER1, ROUTER2]
},
ROUTER1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER2, ED]
},
ROUTER2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'network_id_timeout': 110,
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER1]
},
ED: {
'name': 'ED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
}
@@ -43,21 +43,17 @@ class Cert_6_3_1_OrphanReattach(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED]
},
ED: {
'name': 'ED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': 10,
'allowlist': [ROUTER]
},
@@ -42,14 +42,12 @@ class Cert_6_3_2_NetworkDataUpdate(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ED]
},
ED: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': 10,
'allowlist': [LEADER]
},
@@ -63,13 +63,11 @@ class Cert_6_4_1_LinkLocal_Base(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [MTD]
},
MTD: {
'name': 'DUT',
'is_mtd': True,
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -63,20 +63,16 @@ class Cert_6_4_2_RealmLocal_Base(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, MTD]
},
MTD: {
'name': 'DUT',
'is_mtd': True,
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -42,14 +42,12 @@ class Cert_6_5_1_ChildResetReattach(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ED]
},
ED: {
'name': 'ED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
}
@@ -68,20 +68,16 @@ class Cert_6_5_2_ChildResetReattach_Base(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, MTD]
},
MTD: {
'name': 'DUT',
'is_mtd': True,
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -43,14 +43,12 @@ class Cert_6_5_3_ChildResetSynchronize(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ED]
},
ED: {
'name': 'ED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -43,7 +43,6 @@ class Cert_6_6_1_KeyIncrement(thread_cert.TestCase):
'name': 'LEADER',
'key_switch_guardtime': 0,
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ED]
},
ED: {
@@ -51,7 +50,6 @@ class Cert_6_6_1_KeyIncrement(thread_cert.TestCase):
'is_mtd': True,
'key_switch_guardtime': 0,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
}
@@ -44,7 +44,6 @@ class Cert_6_6_2_KeyIncrement1(thread_cert.TestCase):
'key_sequence_counter': 127,
'key_switch_guardtime': 0,
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ED]
},
ED: {
@@ -52,7 +51,6 @@ class Cert_6_6_2_KeyIncrement1(thread_cert.TestCase):
'is_mtd': True,
'key_switch_guardtime': 0,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
}
@@ -70,21 +70,17 @@ class Cert_7_1_1_BorderRouterAsLeader(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER, SED1, MED1]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -92,7 +88,6 @@ class Cert_7_1_1_BorderRouterAsLeader(thread_cert.TestCase):
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
}
@@ -48,28 +48,23 @@ class Cert_7_1_2_BorderRouterAsRouter(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED2, SED2]
},
ED2: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER]
},
SED2: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -71,21 +71,17 @@ class Cert_7_1_3_BorderRouterAsLeader(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER, SED1, MED1]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
SED1: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -93,7 +89,6 @@ class Cert_7_1_3_BorderRouterAsLeader(thread_cert.TestCase):
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
}
@@ -48,28 +48,23 @@ class Cert_7_1_4_BorderRouterAsRouter(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED2, SED2]
},
ED2: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER]
},
SED2: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -73,28 +73,23 @@ class Cert_7_1_5_BorderRouterAsRouter(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, MED, SED]
},
MED: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER]
},
SED: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER]
},
@@ -76,35 +76,28 @@ class Cert_7_1_6_BorderRouterAsLeader(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER_1, ROUTER_2, MED, SED]
},
ROUTER_1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ROUTER_2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
MED: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [LEADER]
},
SED: {
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -79,29 +79,22 @@ class Cert_7_1_7_BorderRouterAsLeader(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [ROUTER_1, ROUTER_2, MED, SED]
},
ROUTER_1: {
'name': 'ROUTER_1',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
ROUTER_2: {
'name': 'ROUTER_2',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
MED: {
'name': 'MED',
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -109,7 +102,6 @@ class Cert_7_1_7_BorderRouterAsLeader(thread_cert.TestCase):
'name': 'SED',
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [LEADER]
},
@@ -71,22 +71,17 @@ class Cert_7_1_8_BorderRouterAsFED(thread_cert.TestCase):
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [ROUTER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, FED]
},
FED: {
'name': 'FED',
'mode': 'rdn',
'panid': 0xface,
'router_upgrade_threshold': 0,
'router_selection_jitter': 1,
'allowlist': [ROUTER]
},
}
@@ -66,13 +66,11 @@ class Cert_8_1_01_Commissioning(thread_cert.TestCase):
'name': 'COMMISSIONER',
'masterkey': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'panid': 0xface
},
JOINER: {
'name': 'JOINER',
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
'mode': 'rdn',
'router_selection_jitter': 1
},
}
@@ -45,13 +45,11 @@ class Cert_8_1_02_Commissioning(thread_cert.TestCase):
'name': 'COMMISSIONER',
'masterkey': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'panid': 0xface
},
JOINER: {
'name': 'JOINER',
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
'mode': 'rdn',
'router_selection_jitter': 1
},
}
@@ -66,12 +66,10 @@ class Cert_8_1_06_Commissioning(thread_cert.TestCase):
'name': 'COMMISSIONER',
'masterkey': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'panid': 0xface
},
JOINER: {
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
'mode': 'rdn',
'router_selection_jitter': 1
},
}
@@ -46,20 +46,16 @@ class Cert_8_2_01_JoinerRouter(thread_cert.TestCase):
'name': 'COMMISSIONER',
'masterkey': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
JOINER_ROUTER: {
'name': 'JOINER_ROUTER',
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
'mode': 'rdn',
'router_selection_jitter': 1
},
JOINER: {
'name': 'JOINER',
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
'mode': 'rdn',
'router_selection_jitter': 1
},
}
@@ -46,20 +46,16 @@ class Cert_8_2_02_JoinerRouter(thread_cert.TestCase):
'name': 'COMMISSIONER',
'masterkey': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
JOINER_ROUTER: {
'name': 'JOINER_ROUTER',
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
'mode': 'rdn',
'router_selection_jitter': 1
},
JOINER: {
'name': 'JOINER',
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
'mode': 'rdn',
'router_selection_jitter': 1
},
}
@@ -72,20 +72,16 @@ class Cert_8_2_05_JoinerRouter(thread_cert.TestCase):
'name': 'COMMISSIONER',
'masterkey': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
JOINER_ROUTER: {
'name': 'JOINER_ROUTER',
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
'mode': 'rdn',
'router_selection_jitter': 1
},
JOINER: {
'name': 'JOINER',
'masterkey': 'deadbeefdeadbeefdeadbeefdeadbeef',
'mode': 'rdn',
'router_selection_jitter': 1
},
}
@@ -67,14 +67,11 @@ class Cert_8_3_01_CommissionerPetition(thread_cert.TestCase):
'name': 'LEADER',
'masterkey': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'panid': 0xface
},
COMMISSIONER: {
'name': 'COMMISSIONER',
'masterkey': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1
},
}
@@ -62,15 +62,11 @@ class Cert_9_2_01_MGMTCommissionerGet(thread_cert.TestCase):
COMMISSIONER: {
'name': 'COMMISSIONER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER]
},
}
@@ -63,15 +63,11 @@ class Cert_9_2_02_MGMTCommissionerSet(thread_cert.TestCase):
COMMISSIONER: {
'name': 'COMMISSIONER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER]
},
}
@@ -63,15 +63,11 @@ class Cert_9_2_03_ActiveDatasetGet(thread_cert.TestCase):
COMMISSIONER: {
'name': 'COMMISSIONER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER]
},
}
@@ -46,22 +46,18 @@ class Cert_9_2_04_ActiveDataset(thread_cert.TestCase):
'name': 'COMMISSIONER',
'active_dataset': {
'timestamp': 10,
'panid': 0xface,
'master_key': '00112233445566778899aabbccddeeff'
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
'name': 'LEADER',
'active_dataset': {
'timestamp': 10,
'panid': 0xface,
'master_key': '00112233445566778899aabbccddeeff'
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER]
},
}
@@ -60,19 +60,15 @@ class Cert_9_2_05_ActiveDataset(thread_cert.TestCase):
ROUTER: {
'name': 'ROUTER',
'channel': 11,
'panid': 0xface,
'master_key': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
'name': 'LEADER',
'channel': 11,
'panid': 0xface,
'master_key': '00112233445566778899aabbccddeeff',
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [ROUTER]
},
}
@@ -100,7 +100,6 @@ class Cert_9_2_06_DatasetDissemination(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
@@ -111,7 +110,6 @@ class Cert_9_2_06_DatasetDissemination(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER, ROUTER]
},
ROUTER: {
@@ -122,7 +120,6 @@ class Cert_9_2_06_DatasetDissemination(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER, MED, SED]
},
MED: {
@@ -59,24 +59,18 @@ class Cert_9_2_7_DelayTimer(thread_cert.TestCase):
COMMISSIONER: {
'name': 'COMMISSIONER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'partition_id': 0xffffffff,
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER]
},
ROUTER: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'partition_id': 1,
'router_selection_jitter': 1
},
}
@@ -81,7 +81,6 @@ class Cert_9_2_8_PersistentDatasets_Base(thread_cert.TestCase):
'mode': 'rdn',
'panid': PANID_INIT,
'channel': CHANNEL_INIT,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
@@ -332,7 +331,6 @@ class Cert_9_2_8_PersistentDatasets_Base(thread_cert.TestCase):
class Cert_9_2_8_PersistentDatasets_ROUTER(Cert_9_2_8_PersistentDatasets_Base):
TOPOLOGY = copy.deepcopy(Cert_9_2_8_PersistentDatasets_Base.TOPOLOGY)
TOPOLOGY[DUT]['mode'] = 'rdn'
TOPOLOGY[DUT]['router_selection_jitter'] = 1
class Cert_9_2_8_PersistentDatasets_ED(Cert_9_2_8_PersistentDatasets_Base):
@@ -93,7 +93,6 @@ class Cert_9_2_09_PendingPartition(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
@@ -105,7 +104,6 @@ class Cert_9_2_09_PendingPartition(thread_cert.TestCase):
},
'mode': 'rdn',
'partition_id': 0xffffffff,
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER, ROUTER1]
},
ROUTER1: {
@@ -116,7 +114,6 @@ class Cert_9_2_09_PendingPartition(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER2]
},
ROUTER2: {
@@ -128,7 +125,6 @@ class Cert_9_2_09_PendingPartition(thread_cert.TestCase):
},
'mode': 'rdn',
'network_id_timeout': 70,
'router_selection_jitter': 1,
'allowlist': [ROUTER1]
},
}
@@ -57,34 +57,28 @@ class Cert_9_2_10_PendingPartition(thread_cert.TestCase):
'name': 'COMMISSIONER',
'active_dataset': {
'timestamp': 15,
'panid': 0xface,
'channel': 19
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
'name': 'LEADER',
'active_dataset': {
'timestamp': 15,
'panid': 0xface,
'channel': 19
},
'mode': 'rdn',
'partition_id': 0xffffffff,
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER, ROUTER1]
},
ROUTER1: {
'name': 'ROUTER',
'active_dataset': {
'timestamp': 15,
'panid': 0xface,
'channel': 19
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER, ED1, SED1]
},
ED1: {
@@ -92,7 +86,6 @@ class Cert_9_2_10_PendingPartition(thread_cert.TestCase):
'channel': 19,
'is_mtd': True,
'mode': 'rn',
'panid': 0xface,
'allowlist': [ROUTER1]
},
SED1: {
@@ -100,7 +93,6 @@ class Cert_9_2_10_PendingPartition(thread_cert.TestCase):
'channel': 19,
'is_mtd': True,
'mode': '-',
'panid': 0xface,
'timeout': config.DEFAULT_CHILD_TIMEOUT,
'allowlist': [ROUTER1]
},
@@ -88,7 +88,6 @@ class Cert_9_2_11_MasterKey(thread_cert.TestCase):
'master_key': KEY1
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
@@ -100,7 +99,6 @@ class Cert_9_2_11_MasterKey(thread_cert.TestCase):
'master_key': KEY1
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER, ROUTER1]
},
ROUTER1: {
@@ -112,7 +110,6 @@ class Cert_9_2_11_MasterKey(thread_cert.TestCase):
'master_key': KEY1
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER, ED1, SED1]
},
ED1: {
@@ -69,7 +69,6 @@ class Cert_9_2_12_Announce(thread_cert.TestCase):
'channel': DATASET1_CHANNEL
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER1, LEADER2]
},
LEADER2: {
@@ -80,7 +79,6 @@ class Cert_9_2_12_Announce(thread_cert.TestCase):
'channel': DATASET2_CHANNEL
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [MED, ROUTER1]
},
MED: {
@@ -48,25 +48,19 @@ class Cert_9_2_13_EnergyScan_Base(thread_cert.TestCase):
COMMISSIONER: {
'name': 'COMMISSIONER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
'name': 'LEADER',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [COMMISSIONER, ROUTER1]
},
ROUTER1: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER, ED]
},
ED: {
'panid': 0xface,
'allowlist': [ROUTER1]
},
}
@@ -46,21 +46,16 @@ class Cert_9_2_14_PanIdQuery(thread_cert.TestCase):
COMMISSIONER: {
'name': 'COMMISSIONER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER1]
},
LEADER1: {
'name': 'LEADER_1',
'mode': 'rdn',
'panid': 0xface,
'allowlist': [COMMISSIONER, ROUTER1]
},
ROUTER1: {
'name': 'ROUTER',
'mode': 'rdn',
'panid': 0xface,
'router_selection_jitter': 1,
'allowlist': [LEADER1, LEADER2]
},
LEADER2: {
@@ -56,7 +56,6 @@ class Cert_9_2_15_PendingPartition(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
@@ -68,7 +67,6 @@ class Cert_9_2_15_PendingPartition(thread_cert.TestCase):
},
'mode': 'rdn',
'partition_id': 0xffffffff,
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER, ROUTER1]
},
ROUTER1: {
@@ -79,7 +77,6 @@ class Cert_9_2_15_PendingPartition(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER2]
},
ROUTER2: {
@@ -90,7 +87,6 @@ class Cert_9_2_15_PendingPartition(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [ROUTER1]
},
}
@@ -57,7 +57,6 @@ class Cert_9_2_16_ActivePendingPartition(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER]
},
LEADER: {
@@ -69,7 +68,6 @@ class Cert_9_2_16_ActivePendingPartition(thread_cert.TestCase):
},
'mode': 'rdn',
'partition_id': 0xffffffff,
'router_selection_jitter': 1,
'allowlist': [COMMISSIONER, ROUTER1]
},
ROUTER1: {
@@ -80,7 +78,6 @@ class Cert_9_2_16_ActivePendingPartition(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [LEADER, ROUTER2]
},
ROUTER2: {
@@ -91,7 +88,6 @@ class Cert_9_2_16_ActivePendingPartition(thread_cert.TestCase):
'channel': CHANNEL_INIT
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [ROUTER1]
},
}
@@ -57,7 +57,6 @@ class Cert_9_2_17_Orphan(thread_cert.TestCase):
'channel_mask': CHANNEL_MASK
},
'mode': 'rdn',
'router_selection_jitter': 1,
'allowlist': [ED1]
},
LEADER2: {
@@ -69,7 +68,6 @@ class Cert_9_2_17_Orphan(thread_cert.TestCase):
'channel_mask': CHANNEL_MASK
},
'mode': 'rdn',
'router_selection_jitter': 1
},
ED1: {
'name': 'ED',

Some files were not shown because too many files have changed in this diff Show More