Initial commit: VMware vSphere API simulator scaffold.

Add the FastAPI app, PostgreSQL migrations, Docker/Helm packaging, API
contracts, docs, client examples, and the unit/integration/compatibility
test suite for local client and tooling labs without a real vCenter.
This commit is contained in:
2026-07-18 04:42:11 +03:00
commit f8d3cbdd59
422 changed files with 361335 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
**Language / Язык:** [English](../../domains/README.md) | [Русский](README.md)
# Руководства по доменам
Эти страницы описывают устойчивую семантику по областям API. Для исчерпывающих
списков методов используйте каталог Web UI или OpenAPI (`/docs`), либо
непосредственно
[`app/vsphere/rest/coverage.py`](../../../app/vsphere/rest/coverage.py) —
runtime всегда обслуживает полную зарегистрированную поверхность независимо от
активного catalog major.
| Руководство | Темы |
|---|---|
| [Session](session.md) | `/api/session`, legacy `/rest` session, SOAP `Login`/`Logout` |
| [Inventory](inventory.md) | Datacenter, cluster, folder, resource pool, host, datastore, network CRUD |
| [Виртуальные машины](vm.md) | Create/delete, power, hardware, snapshots, clone, relocate, guest ops |
| [Storage](storage.md) | Datastores, files, host storage devices, storage policies |
| [Networking](networking.md) | Standard/distributed portgroups, DVS, host networking |
| [Tagging](tagging.md) | Categories, tags, associations |
| [Content library](content-library.md) | Libraries, items, update/download sessions, OVF deploy |
| [SOAP / VIM](soap.md) | RetrieveServiceContent, PropertyCollector, task-returning operations |
| [Tasks](tasks.md) | CIS task ids, polling, workers |
| [Appliance](appliance.md) | Version, health, networking, timesync |
| [Авторизация](authz.md) | Roles, privileges, permissions |
## Карта персистентности
- Объекты inventory (hosts, VMs, datastores, networks, folders, …) →
`vsphere_objects` (MOID, type, name, parent, `props` JSONB).
- Sessions / credentials → `vsphere_sessions`, `vsphere_credentials`.
- Tasks → `vsphere_tasks`.
- Tags / categories / associations → `vsphere_tag_categories`,
`vsphere_tags`, `vsphere_tag_associations`.
- Content libraries / items → `vsphere_libraries`, `vsphere_library_items`.
- Метаданные файлов datastore → `vsphere_datastore_files`.
- Оставшиеся маршруты Broadcom Automation API (DB-backed stub surface) →
`vsphere_api_state` (миграция `011`).
- Update/download sessions content library → `vsphere_transfer_sessions`
(миграция `012`).
- Состояние transfer HttpNfcLease → `vsphere_nfc_leases` (миграция `012`).
- Views PropertyCollector / токены WaitForUpdates → `vsphere_pc_state`
(миграция `013`).
- Console tickets → `vsphere_console_tickets` (миграция `013`).