Abtin Keshavarzian
ef8deb506f
[mle] delay router role downgrade on security policy change ( #9187 )
...
This commit adds a mechanism to delay the downgrade of routers or
leader when the security policy TLV changes in the Active Operational
Dataset such that the device is no longer eligible to act as a
router.
If the decision to become a child is made due to a security policy
change, the device first delays a random period up to the "router
selection jitter" before downgrading. If the device is the leader, an
additional fixed delay of 10 seconds is added to the random period.
If the security policy changes again while the device is waiting to
downgrade such that it becomes router-eligible again, the downgrade
is cancelled and the device remains in its current role.
This commit adds a `test_router_downgrade_on_sec_policy_change` to
validate the behavior of newly added mechanism.
This commit also updates the CLI `dataset` sub-commands to allow
getting and setting the "version threshold for routing" (VR) field in
security policy.
2023-06-30 15:09:50 -07:00
..
2023-05-22 18:04:09 -07:00
2023-06-26 22:23:53 -07:00
2023-05-22 18:04:09 -07:00
2023-05-04 09:59:24 -07:00
2022-11-22 21:39:11 -08:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-22 18:04:09 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-03-06 21:15:32 -08:00
2023-02-06 21:10:38 -08:00
2023-02-06 21:10:38 -08:00
2023-03-06 21:15:32 -08:00
2023-02-06 21:10:38 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-06-30 15:09:50 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2023-02-06 21:10:38 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-06-14 20:07:24 -07:00
2023-05-22 18:04:09 -07:00
2023-05-04 09:59:24 -07:00
2023-06-21 10:44:28 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2022-07-19 09:12:17 -07:00
2023-05-22 18:04:09 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-05-22 18:04:09 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-05-22 18:04:09 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-05-04 09:59:24 -07:00
2023-06-30 15:09:50 -07:00
2023-05-04 09:59:24 -07:00
2020-04-24 16:22:00 -07:00
2023-02-04 21:09:54 -08:00
2023-02-04 21:09:54 -08:00
2023-05-04 09:59:24 -07:00
2021-07-19 14:35:50 -07:00
2023-05-04 09:59:24 -07:00
2020-08-03 09:25:14 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-02-28 23:01:43 -08:00
2020-06-10 18:14:59 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2021-04-12 07:30:27 -07:00
2022-07-07 16:50:21 -07:00
2020-08-06 21:40:24 -07:00
2021-06-16 23:07:23 -07:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2021-10-22 08:02:52 -07:00
2022-07-07 16:50:21 -07:00
2023-05-04 09:59:24 -07:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2020-08-06 21:40:24 -07:00
2023-02-06 21:10:38 -08:00
2020-08-06 21:40:24 -07:00
2020-08-06 21:40:24 -07:00
2022-05-12 10:20:16 -07:00
2022-07-27 18:58:47 -07:00
2021-06-16 23:07:23 -07:00
2023-05-08 20:05:21 -07:00
2020-08-06 21:40:24 -07:00
2020-08-06 21:40:24 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-04 09:59:24 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-06-30 15:09:50 -07:00
2023-03-06 21:15:32 -08:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-02-06 21:10:38 -08:00
2022-06-02 15:32:08 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-12-08 17:28:39 -08:00
2022-09-29 15:37:26 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-10-06 18:31:25 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-06-21 10:44:28 -07:00
2023-05-04 09:59:24 -07:00
2021-07-19 14:35:50 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-03-07 12:54:45 -08:00
2023-03-07 12:54:45 -08:00
2023-03-07 12:54:45 -08:00
2022-07-07 16:50:21 -07:00
2023-03-06 21:15:32 -08:00
2023-02-06 21:10:38 -08:00
2023-02-06 21:10:38 -08:00
2023-05-22 18:04:09 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2022-07-07 16:50:21 -07:00
2023-05-22 18:04:09 -07:00
2023-05-22 18:04:09 -07:00
2022-07-07 16:50:21 -07:00
2022-09-01 10:49:02 -07:00
2023-05-04 09:59:24 -07:00