[scripts] add packet verification framework (#4428)

This commit introduces the packet verification (PV) framework for
certification tests.

- Add packet verification framework code

- Implement packet verification for cert 5.1.7 as a minimal
  example. There will be more 1.1/1.2 tests with PV submitted in the
  future.

- Download pre-built thread-wireshark binaries from
  openthread/wireshark/releases for packet dissecting (used by
  pyshark)

- Added a Github Action job for Packet Verification
This commit is contained in:
Simon Lin
2020-08-11 09:26:28 -07:00
committed by GitHub
parent 6dddd555e4
commit ecd9436427
29 changed files with 4132 additions and 16 deletions
+2 -1
View File
@@ -43,8 +43,9 @@ import binascii
class Node:
def __init__(self, nodeid, is_mtd=False, simulator=None, version=None, is_bbr=False):
def __init__(self, nodeid, is_mtd=False, simulator=None, name=None, version=None, is_bbr=False):
self.nodeid = nodeid
self.name = name or ('Node%d' % nodeid)
self.verbose = int(float(os.getenv('VERBOSE', 0)))
self.node_type = os.getenv('NODE_TYPE', 'sim')
self.env_version = os.getenv('THREAD_VERSION', '1.1')