[GH-ISSUE #130] there is not a description (notes) of an lxc in output #66

Closed
opened 2026-02-27 15:46:15 +03:00 by kerem · 2 comments
Owner

Originally created by @GusevVictor on GitHub (Jan 11, 2023).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/130

Originally assigned to: @jhollowe on GitHub.

I try to use proxmoxer and want to get notes (description) of my lxc container but there is no any kind of description line.

Is it possible to get a description of a lxc container?

from proxmoxer import ProxmoxAPI
proxmox = ProxmoxAPI('xxxx, user='root@pam', password='111', verify_ssl=False)
proxmox.nodes("xxxx").lxc.get()
[{'disk': 5077401600,
  'netin': 2306518983,
  'maxswap': 536870912,
  'cpus': 2,
  'type': 'lxc',
  'name': 'docker-tst-on-proxmox',
  'maxdisk': 12573614080,
  'mem': 942215168,
  'status': 'running',
  'cpu': 0.0046971179030262,
  'uptime': 357477,
  'swap': 20480,
  'vmid': '889',
  'maxmem': 4294967296,
  'pid': 163393,
  'diskread': 2543951872,
  'diskwrite': 41126649856,
  'netout': 82636172}]

Thank a lot for your answer to me

Originally created by @GusevVictor on GitHub (Jan 11, 2023). Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/130 Originally assigned to: @jhollowe on GitHub. I try to use proxmoxer and want to get notes (description) of my lxc container but there is no any kind of description line. Is it possible to get a description of a lxc container? ``` from proxmoxer import ProxmoxAPI proxmox = ProxmoxAPI('xxxx, user='root@pam', password='111', verify_ssl=False) proxmox.nodes("xxxx").lxc.get() ``` ``` [{'disk': 5077401600, 'netin': 2306518983, 'maxswap': 536870912, 'cpus': 2, 'type': 'lxc', 'name': 'docker-tst-on-proxmox', 'maxdisk': 12573614080, 'mem': 942215168, 'status': 'running', 'cpu': 0.0046971179030262, 'uptime': 357477, 'swap': 20480, 'vmid': '889', 'maxmem': 4294967296, 'pid': 163393, 'diskread': 2543951872, 'diskwrite': 41126649856, 'netout': 82636172}] ``` Thank a lot for your answer to me
kerem 2026-02-27 15:46:15 +03:00
Author
Owner

@jhollowe commented on GitHub (Jan 17, 2023):

Whenever I want to find some data, I typically open up the web UI, navigate to the data I want, and look for the data in the network requests (in the Dev Tools).

By doing this, I found the data on the nodes/NODE/<lxc or qemu>/ID/config endpoint under the description key.

Please let me know if this is not what you were looking for.

<!-- gh-comment-id:1384852211 --> @jhollowe commented on GitHub (Jan 17, 2023): Whenever I want to find some data, I typically open up the web UI, navigate to the data I want, and look for the data in the network requests (in the Dev Tools). By doing this, I found the data on the `nodes/NODE/<lxc or qemu>/ID/config` endpoint under the `description` key. Please let me know if this is not what you were looking for.
Author
Owner

@GusevVictor commented on GitHub (Jan 17, 2023):

Yes. That is was I'm looking. Thank a lot for your answer.

<!-- gh-comment-id:1384880770 --> @GusevVictor commented on GitHub (Jan 17, 2023): Yes. That is was I'm looking. Thank a lot for your answer.
Sign in to join this conversation.
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/proxmoxer#66
No description provided.