ardje / ip178g-utils

Split userspace utils for ip178g kernel "driver"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

utils

mdio.lua - abstraction layer for mdio access.
ip178g.lua - switch configuration lib
dump.lua - dumps current config as a script
undump.lua - reads and execute the script
status.lua - generic human dump of the switch status

test-mirror.lua - demo on how to use the lib, or how to use the script generated by dump.

Anyway, this should always result in the same dump:

dump.lua > config
undump.lua - < config
dump.lua > config2
diff config config2

About

Split userspace utils for ip178g kernel "driver"


Languages

Language:Lua 100.0%