Commit Graph

93 Commits

Author SHA1 Message Date
rongli 20efc8dd1a Fix routing cost comparison issue when chosing BR (#1759)
* Fix routing cost comparison issue when chosing BR

* remove extra space

* update for comments
2017-05-11 19:30:24 -07:00
rongli 21d73e5386 Update child's keep-alive period (#1676)
* Update child's keep-alive period

* Python Cert: correct sed1 index

* update for comments
2017-05-03 23:03:13 -07:00
rongli 41a38ce026 add limitation on some commissioner relative operations (#1670)
* add limitation on some commissioner relative operations

* update cert scripts to start commissioner rightly
2017-04-28 22:03:20 -07:00
Wojciech Bober 3a09b79b2e Use pyspinel package (#1678)
* Modified travis script to install pyspinel package

* Modifed node_cli.py to use spinel-cli from pyspinel package
2017-04-28 08:35:55 -07:00
Giuseppe Andreello 6d8d42e9bf Fixed python interpreter directives (#1667)
Changed the interpreter directives from '#!/usr/bin/python' to
'#!/usr/bin/env python' so the OpenThread tests can be run
inside a python virtualenv.
2017-04-26 21:23:02 -07:00
Hubert Miś 384d38f8e8 Set Commissioner Data when becoming Leader (#1636)
* Set Commissioner Data TLV in the Network Data when becoming Leader.

* Implement Commissioner Data in python MLE sniffer
2017-04-21 08:54:14 -07:00
rongli a182228f72 fix delaytimer issue and update cert scripts (#1474) 2017-03-16 18:36:07 -07:00
Vitalii Kozhukhivskyi 83918bc76f Add timeout parameter to NodeAPI's ping function (#1440)
* Added timeout variable to API's ping function (WIN only).
2017-03-09 14:33:27 -08:00
Jonathan Hui c73bf2358e Simplify test script Makefile. (#1427) 2017-03-06 18:41:34 -08:00
Martin Turon ecb6cae8bf Modularized tests/scripts Makefile. (#1391)
* Modularized tests/scripts Makefile.
This eases addition of other functional test groups.

* Fix copyright date ranges of touched files.
2017-02-27 10:06:04 -08:00
Shu Chen fc45943f8c Add "--enable-ftd" build option (#1384)
* Add a new build target: ncp-mtd.

* Platform with "--enable-ftd" build option will build both MTD and FTD.

* Platform without "--enable-ftd" build option will only build MTD.
2017-02-24 10:10:53 -08:00
Przemysław Fierek b6699cf9b3 Fix spurious failures in 5.1.x tests. (#1324) 2017-02-15 09:10:21 -08:00
Jonathan Hui efc4599d62 Have router make two separate attempts to reconnect to current partition. (#1276) 2017-02-09 11:05:35 -08:00
Jonathan Hui 87db2f15e3 Thread Certification Test Plan has deprecated 5.5.6. (#1273) 2017-02-07 19:11:46 -08:00
Nick Banks f2d41102dd Ignore Exceptions While Parsing Frames (#1235) 2017-02-01 05:24:51 -08:00
Przemysław Fierek cabb8853fe Fix failing Mesh Header unit test (#1199) 2017-01-24 05:56:47 -08:00
Przemysław Fierek 0d6866e013 Fix hop limit handling in the Mesh Header in the Python framework. (#1186) 2017-01-23 09:15:06 -08:00
Przemysław Fierek 02712ffe10 Fix a python sniffer stop method (Remove deadlock). (#1163) 2017-01-18 09:10:30 -08:00
Nick Banks 71f47c105e Python Sniffer Implementation for Windows (#1147)
* Initial function loading of new listener interface.

* Additional changes for Node sniffer interface

* Use Interface Index instead of GUID

* Initialize Handle in sniffer

* Put Channel in the sniffer message
2017-01-18 09:10:07 -08:00
Przemysław Fierek 7831bf39ed Add the default factory option to the ICMP body factory. (#1159) 2017-01-16 22:04:56 -08:00
Łukasz Duda 8b8f7833e1 ICMP: Fix Destination Unreachable type. Ensure InterfaceId is properly set. (#1138) 2017-01-12 17:41:40 -08:00
Przemysław Fierek 100e568a09 Improve the sniffer design. (#1073) 2016-12-14 08:59:23 -08:00
Przemysław Fierek 7087f9af69 Fix spurious test errors in test_ipv6.py (#1072) 2016-12-14 08:58:24 -08:00
Przemysław Fierek bc8b1a4cd1 Add CoAP support to thread-cert. (#1063) 2016-12-12 10:10:52 -08:00
Xiao Ma 94b264ccf9 Update Auto Test 9.2.7 to try make Travis check more stable. (#1050) 2016-12-08 12:35:05 -08:00
Xiao Ma b3f91ee85f Append default Active Dataset sub-tlvs when Leader forms a partition. (#1039)
* if any Active Dataset sub-tlvs missed, append it with default value.

* if any tlv that would affect the network connectivity included in
  MGMT_ACTIVE_SET.req, but the value is identical with current one,
  take this change as a immediate update.

* update auto-test 9.2.7.
2016-12-06 13:29:37 -08:00
Nick Banks 646d9e2f19 Reduce MTU to 1280 bytes (#1032)
* Reduce MTU to 1280 bytes

* Update 5.1.07 test to use 1232 byte ping
2016-12-01 14:00:50 -08:00
Nick Banks 24b98dbb85 Windows Cert Testing (#943)
* PR for cert test interface for Windows driver model.
2016-11-29 12:10:34 -08:00
PFierek fba3198c9e Add Python3 support to thread-cert. (#985) 2016-11-17 21:16:59 +08:00
Jonathan Hui 257e418b21 Add Minimal Thread Device to build. (#973) 2016-11-17 01:02:40 +08:00
PFierek bd99468e85 Add sniffer. Extend some tests according to Thread Certification Test Plan V1.1 Preview 1612. (#957) 2016-11-10 12:59:25 +08:00
Xiao Ma 85521db9af Delay the Tlv that affects connectivity by using Pending Operational Dataset. (#869) 2016-11-04 08:53:33 -07:00
Jonathan Hui f8dbca157b Update to latest Thread Certification Test Spec. (#925) 2016-11-03 11:37:23 -07:00
Xiao Ma 30c9dfc0bc Copy TLVs from Active Dataset to Pending Dataset which are not included in MGMT_PENDING_SET request message. (#915) 2016-11-02 11:23:19 -07:00
rongli 3001fc689c DHCP: implement simple Server/Client (solicit/reply) (#884)
* DHCP implementation
- implementation Dhcp client/server (solicit/reply)
- two build options --enable-dhcp6-server  --enable-dhcp6-client (default disable)
- add Cert_5_3_09_AddressQuery for Dhcp Client/Server test in travis
2016-10-31 21:38:56 -07:00
Shu Chen 196c28d022 Add Thread Certification 9.2.8 to automated test. (#909) 2016-10-31 20:44:21 -07:00
Shu Chen a21db36a5b Implement reattach process using stored dataset (#894) 2016-10-31 08:56:52 -07:00
Shu Chen b6adaaf758 Delay a little longer after starting sim node (#879)
- To make travis check more stable
2016-10-25 10:50:10 -07:00
Nick Banks ad39a59ff9 Support Different Number of Max Children (#872)
* Add support for setting child max, for platforms that define a different maximum number of supported children.
2016-10-24 10:43:10 -07:00
Jonathan Hui ffaade05c6 Update multicast tests to expect multiple ping replies. (#864) 2016-10-24 09:13:38 -07:00
Jonathan Hui 4538dafd3d Add Thread Certification 9.2.4 to automated test. (#823) 2016-10-17 17:26:58 -07:00
Jonathan Hui 117ecaf579 Add Thread Certification 8.2.2 to automated test. (#824) 2016-10-17 10:18:19 -07:00
Jonathan Hui 6878c63faf Add Thread Certification 8.2.1 to automated test. (#822) 2016-10-17 09:18:26 -07:00
rongli aaf5a57ea2 Cli: update 'keysequence' to make keyswithguardtime configurable (#815)
* Cli: update 'keysequence' to make keyswithguardtime configurable
2016-10-16 22:49:31 -07:00
Jonathan Hui c28042ce97 Add Thread Certification 9.2.17 to automated test. (#786) 2016-10-12 20:41:11 -07:00
Jonathan Hui 0bafb5a08f Add Thread Certification 9.2.18 to automated test. (#785) 2016-10-12 11:28:29 -07:00
Nick Banks 80d3a3b8fb Don't Use Special IPv6 Addresses (#791)
* Replace 200*::/64 with 2001:2:0:*::/64
2016-10-11 17:40:15 -07:00
Xiao Ma 6a433b971c Remove ROUTER_SELECTION_JITTER setting for ED/SED in cert scripts. (#792) 2016-10-11 09:15:57 -07:00
Jonathan Hui 04665429f9 Fix typo for pending channel in 9.2.7. (#789) 2016-10-11 09:15:13 -07:00
Jonathan Hui 249774eccf Add Thread Certification 5.2.6 to automated test. (#784) 2016-10-11 09:07:51 -07:00