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