[pbs-devel] applied: [PATCH proxmox-backup 5/5] api2: nodes: add missing node list api call

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Sep 15 11:44:55 CEST 2021


On 09.09.21 15:48, Dominik Csapak wrote:
> to have an api call for api path traversal
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  src/api2/mod.rs      |  4 +---
>  src/api2/node/mod.rs | 12 +++++++++++-
>  2 files changed, 12 insertions(+), 4 deletions(-)
> 
>

applied this rather independent patch already, thanks!

Any thoughts on providing some resource usage and status info like pve has?

# pvesh get /nodes --output-format json-pretty 
[
   {
      "cpu" : 0.00688381192943118,
      "disk" : 81085153280,
      "id" : "node/d7",
      "level" : "c",
      "maxcpu" : 16,
      "maxdisk" : 133204897792,
      "maxmem" : 6101630976,
      "mem" : 1656844288,
      "node" : "d7",
      "ssl_fingerprint" : "8A:DF:09:A5:D8:CC:42:AD:B1:35:3B:E7:03:30:30:3C:C2:BD:BF:94:FA:F3:CD:46:62:92:6D:34:00:56:CC:8D",
      "status" : "online",
      "type" : "node",
      "uptime" : 1990844
   }
]





More information about the pbs-devel mailing list