mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 05:41:35 +01:00
12 lines
255 B
Python
12 lines
255 B
Python
import json
|
|
|
|
if __name__ == "__main__":
|
|
|
|
FILE = "vms.json"
|
|
with open(FILE) as f:
|
|
jsonList = json.load(f)
|
|
vmList = [ VM(obj) for obj in jsonList ]
|
|
|
|
for vm in vmList:
|
|
print(vmList.dumpHAProxyComponents())
|