mirror of
https://github.com/espressif/openthread.git
synced 2026-09-13 20:50:05 +00:00
[thci] override forceSetSlaac for border router (#7149)
Manually configured addresses need to be added to the TUN interface in order for the host to handle them.
This commit is contained in:
@@ -647,3 +647,9 @@ EOF"
|
||||
print('powerUp')
|
||||
self.bash('sudo service otbr-agent start')
|
||||
super(OpenThread_BR, self).powerUp()
|
||||
|
||||
# Override forceSetSlaac
|
||||
@API
|
||||
def forceSetSlaac(self, slaacAddress):
|
||||
print('forceSetSlaac %s' % slaacAddress)
|
||||
self.bash('sudo ip -6 addr add %s/64 dev wpan0' % slaacAddress)
|
||||
|
||||
Reference in New Issue
Block a user