mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 14:47:46 +00:00
[routing-manager] set SNAC Router Flag in emitted RA (#10695)
This commit updates the `RouteingManager` to set the newly allocated "SNAC Router Flag" (bit 6) in emitted RA messages from Thread BR. The flag is also parsed and tracked in received RA messages. This replaces the previous model where an experimental flag bit in "Flags Extension Option" indicated a "stub router". This commit also removes the `STUB_ROUTER_FLAG_IN_EMITTED_RA_ENABLE` confg (no longer optional/experimental) and renames `mStubRouterFlag` to `mSnacRouterFlag`.
This commit is contained in:
@@ -2286,8 +2286,8 @@ class NodeImpl:
|
||||
|
||||
def get_br_routers(self) -> List[str]:
|
||||
# Example output of `br routers` command:
|
||||
# fe80:0:0:0:42:acff:fe14:3 (M:0 O:0 Stub:1) ms-since-rx:144160 reachable:yes age:00:17:36 (peer BR)
|
||||
# fe80:0:0:0:42:acff:fe14:2 (M:0 O:0 Stub:1) ms-since-rx:45179 reachable:yes age:00:17:36
|
||||
# fe80:0:0:0:42:acff:fe14:3 (M:0 O:0 S:1) ms-since-rx:144160 reachable:yes age:00:17:36 (peer BR)
|
||||
# fe80:0:0:0:42:acff:fe14:2 (M:0 O:0 S:1) ms-since-rx:45179 reachable:yes age:00:17:36
|
||||
# Done
|
||||
self.send_command('br routers')
|
||||
return self._expect_command_output()
|
||||
|
||||
Reference in New Issue
Block a user