Bounded offline IEEE 1588-2008 PTP two-step association and scoped BMCA dataset-decision auditor.
moon add 001-Elsa/ptp-audit@0.3.0///|
import {
"001-Elsa/ptp-audit" @ptp,
}./bin/ptp-audit.mjs check fixtures/complete-audit.json --json
# 两个有效选主检查点与交换的完整证据链
./bin/ptp-audit.mjs commission fixtures/commissioning/grandmaster-switch.json --json
# 原交换本身有效,但来源仍是旧主:预期 Violation / exit 1
./bin/ptp-audit.mjs commission fixtures/commissioning/old-master-after-switch.json --json
# 条件同步门限:同时查看 assessment.verdict,不能只读退出码
./bin/ptp-audit.mjs check fixtures/commissioning/metrology-within-limit.json --json# 一次完成生成稳定性、全部后端、CLI、报告、接口与格式门禁
python3 scripts/validate_local.py
# 如另行安装了官方 TShark,则加入独立 wire 核对
python3 scripts/validate_local.py --with-wire
# 核对文档、接口、数量与当前测试结果,冻结本地交付快照
python3 scripts/verify_delivery.py --write
# 仅生成本地 ZIP,并在临时目录解包验证,绝不发布
python3 scripts/package_local.pyfn audit_json(text : String) -> Stringfn commission_json(text : String) -> StringInstall
Download zipBounded offline IEEE 1588-2008 PTP two-step association and scoped BMCA dataset-decision auditor.