mirror of
https://github.com/espressif/openthread.git
synced 2026-08-02 09:07:47 +00:00
[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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user