[PR #156] [CLOSED] Fix typos in Nodes endpoint response #183

Closed
opened 2026-03-03 15:30:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/luthermonson/go-proxmox/pull/156
Author: @cbcoutinho
Created: 8/25/2024
Status: Closed

Base: mainHead: feature/fix


📝 Commits (4)

  • 7b7605c Fix typos in Nodes endpoint response
  • e844714 Add SDN Zones to client API
  • ff84b13 Merge remote-tracking branch 'upstream/main' into feature/fix
  • 2a347f6 Update

📊 Changes

3 files changed (+191 additions, -1 deletions)

View changed files

sdn_vnets.go (+64 -0)
sdn_zones.go (+111 -0)
📝 types.go (+16 -1)

📄 Description

Also add the CurrentKernel and BootInfo attributes.

Tested on Proxmox VE 8.2

Here is an example response from a test cluster I've recently started experimenting with to show the typos & new fields

{
  "data": {
    "uptime": 457597,
    "cpu": 0.00487078384218172,
    "cpuinfo": {
      "model": "Intel(R) Core(TM) i5-9500T CPU @ 2.20GHz",
      "cpus": 6,
      "mhz": "3498.489",
      "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities",
      "sockets": 1,
      "hvm": "1",
      "cores": 6,
      "user_hz": 100
    },
    "swap": {
      "total": 8589930496,
      "used": 0,
      "free": 8589930496
    },
    "wait": 0.000354016870735012,
    "loadavg": [
      "0.01",
      "0.02",
      "0.00"
    ],
    "kversion": "Linux 6.8.12-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-1 (2024-08-05T16:17Z)",
    "pveversion": "pve-manager/8.2.4/faa83925c9641325",
    "current-kernel": {
      "release": "6.8.12-1-pve",
      "sysname": "Linux",
      "version": "#1 SMP PREEMPT_DYNAMIC PMX 6.8.12-1 (2024-08-05T16:17Z)",
      "machine": "x86_64"
    },
    "ksm": {
      "shared": 0
    },
    "memory": {
      "free": 14135144448,
      "total": 16572776448,
      "used": 2437632000
    },
    "boot-info": {
      "mode": "efi",
      "secureboot": 0
    },
    "idle": 0,
    "rootfs": {
      "free": 87486828544,
      "avail": 82316091392,
      "used": 13374898176,
      "total": 100861726720
    }
  }
}


---

<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
## 📋 Pull Request Information **Original PR:** https://github.com/luthermonson/go-proxmox/pull/156 **Author:** [@cbcoutinho](https://github.com/cbcoutinho) **Created:** 8/25/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/fix` --- ### 📝 Commits (4) - [`7b7605c`](https://github.com/luthermonson/go-proxmox/commit/7b7605c5c69a3bfdfe439ddce08f7323559305a6) Fix typos in Nodes endpoint response - [`e844714`](https://github.com/luthermonson/go-proxmox/commit/e844714175fa1bf6cacc44fe5edbdadeaf4cd789) Add SDN Zones to client API - [`ff84b13`](https://github.com/luthermonson/go-proxmox/commit/ff84b135f016a49080e3a7d56c1694e79afdf86b) Merge remote-tracking branch 'upstream/main' into feature/fix - [`2a347f6`](https://github.com/luthermonson/go-proxmox/commit/2a347f6e6ba8001278eddffb57cb72ca9c8c2053) Update ### 📊 Changes **3 files changed** (+191 additions, -1 deletions) <details> <summary>View changed files</summary> ➕ `sdn_vnets.go` (+64 -0) ➕ `sdn_zones.go` (+111 -0) 📝 `types.go` (+16 -1) </details> ### 📄 Description Also add the CurrentKernel and BootInfo attributes. Tested on Proxmox VE 8.2 Here is an example response from a test cluster I've recently started experimenting with to show the typos & new fields ```json { "data": { "uptime": 457597, "cpu": 0.00487078384218172, "cpuinfo": { "model": "Intel(R) Core(TM) i5-9500T CPU @ 2.20GHz", "cpus": 6, "mhz": "3498.489", "flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities", "sockets": 1, "hvm": "1", "cores": 6, "user_hz": 100 }, "swap": { "total": 8589930496, "used": 0, "free": 8589930496 }, "wait": 0.000354016870735012, "loadavg": [ "0.01", "0.02", "0.00" ], "kversion": "Linux 6.8.12-1-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-1 (2024-08-05T16:17Z)", "pveversion": "pve-manager/8.2.4/faa83925c9641325", "current-kernel": { "release": "6.8.12-1-pve", "sysname": "Linux", "version": "#1 SMP PREEMPT_DYNAMIC PMX 6.8.12-1 (2024-08-05T16:17Z)", "machine": "x86_64" }, "ksm": { "shared": 0 }, "memory": { "free": 14135144448, "total": 16572776448, "used": 2437632000 }, "boot-info": { "mode": "efi", "secureboot": 0 }, "idle": 0, "rootfs": { "free": 87486828544, "avail": 82316091392, "used": 13374898176, "total": 100861726720 } } } --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 15:30:35 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/go-proxmox#183
No description provided.