proxmox 2.x api的python包装器
pyproxmox的Python项目详细描述
proxmox 2.x api的python包装器。
示例用法:
1)通过传入 服务器的URL或IP、用户名和密码:
a=prox_auth('vnode01.example.org','apiuser@pve','examplepassword')
- 使用auth对象作为参数创建和实例pyproxmox类:
B=PyproxMox(A)
- 运行pyproxmox类的预定义方法。注意:它们都返回数据,通常是json格式:
status=b.getClusterStatus()
有关详细信息,请参见https://github.com/Daemonthread/pyproxmox