Align sized cluster seeds and GET dumps with PVE wire shapes; restyle DATA panel.

- Scale small/large/big seeds (3×50 / 10×1000 / 20×2000) with proportional
  backups, snapshots, HA, replication, Ceph capacity, and OSD totals
  (10 / 100 / 500) plus matching node disks and crush/pg metadata
- Enrich handler responses for apt, certificates, qemu/lxc status, storage,
  SDN, metrics export, and related cluster/node dumps
- Flatten nested body_example fields into PARAMS and sync the request body
  via dotted paths (oVirt-style)
- Restyle DATA controls as size cards with full-width Reset to minimal /
  Refresh stats; unload reloads the minimal cluster
This commit is contained in:
Sergey Antropoff
2026-07-18 08:46:11 +03:00
parent 48df10b17e
commit 0773f721ea
77 changed files with 4870 additions and 855 deletions
+2 -2
View File
@@ -150,8 +150,8 @@ curl -sS -H "Cookie: PVEAuthCookie=$TICKET" \
Visit [http://localhost:8006/](http://localhost:8006/) for the interactive
console, contract catalog (PVE 69), compatibility view, runtime contract apply,
and demo-cluster controls. See [Web UI](web-ui.md) for light/dark theme
screenshots and the full feature list.
and demo-cluster controls. See [Web UI](web-ui.md) for screenshots and the
full feature list.
## 8. Try a client library
Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

+2 -2
View File
@@ -151,8 +151,8 @@ curl -s -H "Cookie: PVEAuthCookie=$TICKET" \
Перейдите на [http://localhost:8006/](http://localhost:8006/) — интерактивная
консоль, каталог контрактов (PVE 6–9), представление совместимости, применение runtime-
контракта и управление demo-кластером. Скриншоты светлой/тёмной темы и полный список
возможностей — в [Web UI](web-ui.md).
контракта и управление demo-кластером. Скриншоты и полный список возможностей —
в [Web UI](web-ui.md).
## 8. Попробуйте клиентскую библиотеку
+45 -3
View File
@@ -10,14 +10,56 @@ UI — лабораторная консоль симулятора, а не п
## Скриншоты
Светлая тема — `GET /cluster/resources` на PVE 9.2.3:
Главный экран консоли (тёмная тема, PVE 8.4.5):
![Web UI main](../images/web-ui-main.png)
Светлая / тёмная темы:
![Web UI light theme](../images/web-ui-light.png)
Тёмная тема — та же консоль с переключателем темы:
![Web UI dark theme](../images/web-ui-dark.png)
Панель Endpoints (методы каталога выбранного мажора):
![Web UI endpoints](../images/web-ui-endpoints.png)
Каталог API — мажоры 6–9, покрытие и **Apply as runtime**:
![Web UI API catalog](../images/web-ui-api-catalog.png)
Редактор запроса (`POST /cluster/config`):
![Web UI request](../images/web-ui-request.png)
Параметры запроса из контракта:
![Web UI request parameters](../images/web-ui-request-params.png)
Аутентификация (`root@pam` / API-токен):
![Web UI authentication](../images/web-ui-authentication.png)
Сводка окружения (runtime, кластер, гости):
![Web UI environment](../images/web-ui-environment.png)
История запросов:
![Web UI history](../images/web-ui-history.png)
Справка / ledger совместимости:
![Web UI help](../images/web-ui-help.png)
Загрузка demo-кластера:
![Web UI data](../images/web-ui-data.png)
Монитор задач UPID:
![Web UI UPID](../images/web-ui-upid.png)
## Возможности
- Дерево эндпоинтов и выбор метода по выбранному мажору каталога
+45 -3
View File
@@ -10,14 +10,56 @@ request/response editing, history, and runtime contract apply.
## Screenshots
Light theme — `GET /cluster/resources` on PVE 9.2.3:
Console home (dark theme, PVE 8.4.5):
![Web UI main](images/web-ui-main.png)
Light / dark themes:
![Web UI light theme](images/web-ui-light.png)
Dark theme — same console with theme toggle:
![Web UI dark theme](images/web-ui-dark.png)
Endpoints drawer (catalog methods for the selected major):
![Web UI endpoints](images/web-ui-endpoints.png)
API catalog — majors 69, coverage, and **Apply as runtime**:
![Web UI API catalog](images/web-ui-api-catalog.png)
Request editor (`POST /cluster/config`):
![Web UI request](images/web-ui-request.png)
Contract-derived request parameters:
![Web UI request parameters](images/web-ui-request-params.png)
Authentication (`root@pam` / API token):
![Web UI authentication](images/web-ui-authentication.png)
Environment summary (runtime, cluster, guests):
![Web UI environment](images/web-ui-environment.png)
Request history:
![Web UI history](images/web-ui-history.png)
Help / compatibility ledger:
![Web UI help](images/web-ui-help.png)
Demo-cluster load controls:
![Web UI data](images/web-ui-data.png)
UPID task monitor:
![Web UI UPID](images/web-ui-upid.png)
## Features
- Endpoint tree and method selector driven by the selected catalog major