Kkevsterrr/koth

define new data format

Kkevsterrr opened this issue · 0 comments

machines = {}
machines["NAME"] = {}
machines["NAME"]["ip"] = ["IP"]
machines["NAME"]["id"] = NAME w/o spaces
machines["NAME"]["name"] = NAME
machines["NAME"]["ports"] = {"21" : "closed"}
machines["NAME"]["os"] = "Linux"
machines["NAME"]["color"] = "Blue"
machines["NAME"]["status"] = "0/1"
machines["NAME"]["percent"] = "0%"
machines["NAME"]["connections"] = [ROUTER_ID]

routers = {}
routers[NAME] = {}
routers[NAME][id] = id
routers[NAME][ip] = [IP]