timnet
1.0.1
计时系统中的每个设备都有一个唯一的标识符,即拓扑ID。主 EVM 的 ID 为 0x00000000。下游设备被赋予 ID,其中最低有效四位代表设备所连接的端口号。每个EVM将自己的ID左移四位,并将下游端口号分配给最低四位,形成下一级下游设备的拓扑ID。拓扑 ID 在 ./doc/figure 中的示例布局中的设备上方表示。
input: inventory.json
output: network.json
python -m timnet --net
input: network.json
output: plot.json
python -m timnet --plot
input: check.json, network.json
output: console
python -m timnet --check
python -m timnet --net --plot --check