api.pyfabapi/test.py
Nadja Reitzenstein a4e73c65b7 URN & Wiki update
2021-10-20 09:44:57 +02:00

8 lines
232 B
Python

import fabapi
boot = fabapi.connect("localhost:59661", "Testuser", "secret")
ms = boot.machineSystem().wait().machineSystem
info = ms.info().wait().info
ma = info.getMachine("Another").wait()
my = info.getMachine("Yetmore").wait()