[thread-cert] support to get link-local address of the infra interface (#10603)

This commit targets to support getting infra link-local address of a
OtbrNode in docker test, which is usefully for future test cases.

The test_multi_ail.py is also updated to test the new method added.
This commit is contained in:
Jason Zhang
2024-08-15 07:35:18 -07:00
committed by GitHub
parent 54571af6a7
commit 93e838102c
3 changed files with 30 additions and 6 deletions
+2 -1
View File
@@ -106,13 +106,14 @@ DEFAULT_NETWORK_KEY = bytearray([
class ADDRESS_TYPE(Enum):
LINK_LOCAL = 'LINK_LOCAL'
LINK_LOCAL = 'LINK_LOCAL' # For Thread interface link-local only
GLOBAL = 'GLOBAL'
RLOC = 'RLOC'
ALOC = 'ALOC'
ML_EID = 'ML_EID'
DUA = 'DUA'
BACKBONE_GUA = 'BACKBONE_GUA'
BACKBONE_LINK_LOCAL = 'BACKBONE_LINK_LOCAL'
OMR = 'OMR'
ONLINK_ULA = 'ONLINK_ULA'
ONLINK_GUA = 'ONLINK_GUA'