mirror of
https://github.com/espressif/openthread.git
synced 2026-08-18 16:39:52 +00:00
[thread-cert] refactor case 5.6.6 and 5.6.9 using pktverify (#5371)
This commit is contained in:
@@ -1003,8 +1003,11 @@ class Node:
|
||||
self.send_command(cmd)
|
||||
self._expect('Done')
|
||||
|
||||
def add_route(self, prefix, prf='med'):
|
||||
cmd = 'route add %s %s' % (prefix, prf)
|
||||
def add_route(self, prefix, stable=False, prf='med'):
|
||||
cmd = 'route add %s ' % prefix
|
||||
if stable:
|
||||
cmd += 's'
|
||||
cmd += ' %s' % prf
|
||||
self.send_command(cmd)
|
||||
self._expect('Done')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user