Delay a random jitter period prior to request a Router ID for REED. (#554)

* Delay a random jitter period prior to request a Router ID for REED.

* Update Cert_5_1_09_REEDAttachConnectivity.py to pass Travis check.

* Add CLI to set/get the ROUTER_SELECTION_JITTER and update Certification scripts.

  - add 'posix-ncp' to allow failure list in .travis.yml.
This commit is contained in:
Xiao Ma
2016-09-26 10:03:09 -07:00
committed by Jonathan Hui
parent d20d54a394
commit a74e0496b8
76 changed files with 304 additions and 61 deletions
+10
View File
@@ -260,6 +260,11 @@ class Node:
self.send_command(cmd)
self.pexpect.expect('Done')
def set_router_downgrade_threshold(self, threshold):
cmd = 'routerdowngradethreshold %d' % threshold
self.send_command(cmd)
self.pexpect.expect('Done')
def release_router_id(self, router_id):
cmd = 'releaserouterid %d' % router_id
self.send_command(cmd)
@@ -402,5 +407,10 @@ class Node:
return result
def set_router_selection_jitter(self, jitter):
cmd = 'routerselectionjitter %d' % jitter
self.send_command(cmd)
self.pexpect.expect('Done')
if __name__ == '__main__':
unittest.main()