Proxmox VE 9.3's API additions (NetOrk/netork#2728), each taken only where the node runs 9.3 or later:
set_node_maintenance(): PUT /nodes/{node}/maintenance, without SSH. The target node's own version decides, since a rolling upgrade leaves members on different releases; an older node still gets ha-manager over SSH.
get_vms(): each guest's uid from one GET /cluster/resources?type=vm, joined by node and vmid.
get_clusters(): id is the cluster-id from GET /cluster/status.
resume_vm(): sync-time-on-resume=1.
get_credential_expiry(): the expiry of the token or account the driver logged in with; a 403 is a PermissionError. Whether a privilege-separated token may read its own entry is still to be checked on a real 9.3 node.
get_update_history(since): GET /nodes/{node}/apt/history.
Needs napalm-device-types 4.44.0. Release commit 0.14.0 included; the tag follows the merge.
Proxmox VE 9.3's API additions (NetOrk/netork#2728), each taken only where the node runs 9.3 or later:
- `set_node_maintenance()`: `PUT /nodes/{node}/maintenance`, without SSH. The target node's own version decides, since a rolling upgrade leaves members on different releases; an older node still gets `ha-manager` over SSH.
- `get_vms()`: each guest's `uid` from one `GET /cluster/resources?type=vm`, joined by node and vmid.
- `get_clusters()`: `id` is the `cluster-id` from `GET /cluster/status`.
- `resume_vm()`: `sync-time-on-resume=1`.
- `get_credential_expiry()`: the expiry of the token or account the driver logged in with; a 403 is a `PermissionError`. Whether a privilege-separated token may read its own entry is still to be checked on a real 9.3 node.
- `get_update_history(since)`: `GET /nodes/{node}/apt/history`.
Needs napalm-device-types 4.44.0. Release commit 0.14.0 included; the tag follows the merge.
On a node running 9.3: HA maintenance over PUT /nodes/{node}/maintenance
(the target node's version decides, SSH below it), the guest uid in
get_vms, the cluster-id as ClusterDict.id, sync-time-on-resume on resume.
get_credential_expiry reads the expiry of the token or account the driver
logged in with; get_update_history lists the node's APT transactions.
Needs napalm-device-types 4.44.0.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Proxmox VE 9.3's API additions (NetOrk/netork#2728), each taken only where the node runs 9.3 or later:
set_node_maintenance():PUT /nodes/{node}/maintenance, without SSH. The target node's own version decides, since a rolling upgrade leaves members on different releases; an older node still getsha-managerover SSH.get_vms(): each guest'suidfrom oneGET /cluster/resources?type=vm, joined by node and vmid.get_clusters():idis thecluster-idfromGET /cluster/status.resume_vm():sync-time-on-resume=1.get_credential_expiry(): the expiry of the token or account the driver logged in with; a 403 is aPermissionError. Whether a privilege-separated token may read its own entry is still to be checked on a real 9.3 node.get_update_history(since):GET /nodes/{node}/apt/history.Needs napalm-device-types 4.44.0. Release commit 0.14.0 included; the tag follows the merge.
On a node running 9.3: HA maintenance over PUT /nodes/{node}/maintenance (the target node's version decides, SSH below it), the guest uid in get_vms, the cluster-id as ClusterDict.id, sync-time-on-resume on resume. get_credential_expiry reads the expiry of the token or account the driver logged in with; get_update_history lists the node's APT transactions. Needs napalm-device-types 4.44.0.