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

24 lines
1008 B
Markdown

**Language / Язык:** [English](../../examples/python-proxmoxer.md) | [Русский](python-proxmoxer.md)
# Python — proxmoxer
Канонический путь через библиотеку к HTTPS-шлюзу.
## Запуск
```bash
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.
- Узел по умолчанию для профиля `small``pve01`.