proxmox

Convenience wrapper for access to the ACCRE ProxMox infrastructure cluster read-only API using the proxmoxer library.

See https://pypi.org/project/proxmoxer/ for API details.

class accre.proxmox.ACCREProxmox(failover=True)[source]

Bases: ProxmoxAPI

ACCRE Wrapper for the proxmoxer ProxmoxAPI class providing pre-configured access and authentication options, allowing one to easily instantiate a ProxmoxAPI without providing arguments.

Additional ACCRE-specific convenience methods are provided.

node_vm_table(node)[source]

Return a human readable ascii table of VMs and their properties for a specified hypervisor node.

Parameters:

node (str) – Hypervisor node name to query

Returns:

ASCII table of vms on the given node and their properties

Return type:

str