Files
proxmox-api-simulator/docs/ru/examples/python-proxmoxer.md
T
Sergey Antropoff 48df10b17e Prepare 0.1.0 for lab release: durable handlers, HTTP Compose, CI, and pulumi-tests.
- Harden DB-backed handlers and seed profiles; align client wire shapes for
  cluster resources, QEMU config, and node SSL fields
- Serve plain HTTP on Compose :8006; keep TLS optional (--profile tls) and
  terminate HTTPS at Kubernetes Ingress
- Add pulumi-tests (full contract surface majors 6–9 + BPG lifecycle) and
  make pulumi-tests
- Ship bilingual docs, CHANGELOG, SECURITY, CONTRIBUTING, and GitHub Actions
  (make ci + Compose/Helm validation)
2026-07-18 04:18:05 +03:00

1008 B

Language / Язык: English | Русский

Python — proxmoxer

Канонический путь через библиотеку к HTTPS-шлюзу.

Запуск

make up && make seed PROFILE=small
pip install -r examples/python/requirements.txt
python examples/python/proxmoxer_cookbook.py

Переопределение через переменные окружения: PVE_HOST (по умолчанию localhost), PVE_PORT (по умолчанию 8007), PVE_USER, PVE_PASSWORD, либо токен через PVE_TOKEN_NAME / PVE_TOKEN_VALUE.

Заметки

  • verify_ssl=False нужен только для одноразового локального сертификата.
  • Мутации по ticket, которые обрабатывает proxmoxer, автоматически включают CSRF.
  • Узел по умолчанию для профиля smallpve01.