flowchart LR
classDef base fill:#e1f5fe,stroke:#0288d1,stroke-width:2px;
classDef net fill:#ede7f6,stroke:#5e35b1,stroke-width:2px;
classDef compute fill:#fff3e0,stroke:#f57c00,stroke-width:2px;
classDef target fill:#e8f5e9,stroke:#2e7d32,stroke-width:2px;
classDef note fill:#fafafa,stroke:#9e9e9e,stroke-width:1px,stroke-dasharray: 4 4;
subgraph S1 ["Шаг 1. Тенант"]
ORG["Организация (vcOrg: 19)
• Тип: iaas / saas"]:::base
end
subgraph S2 ["Шаг 2. Пул ресурсов"]
VDC["Виртуальный ДЦ (vcVdc: 21)
• cpuGuaranteed: 0% / 50% / 80%
• Пул: cpuAllocated, memAllocated, storage"]:::compute
end
subgraph S3 ["Шаг 3. Сетевой периметр"]
EDGE["Шлюз Edge (vcNsxt: 22)
• AVI Load Balancer
• modify: SNAT (ipSpaceName)"]:::net
end
subgraph S4 ["Шаг 4. Среда запуска и адреса"]
VAPP["Каталог vApp (26)
(контейнер для ВМ)"]:::compute
IP["Внешние IP
• vcOrg modify / 25
• квота адресов (ipSpace)"]:::note
end
subgraph S5 ["Шаг 5. Потребители"]
VM["Виртуальная машина (28)
• vmCpu, vmRam, vmDisk"]:::target
SHTURVAL["Кластер Штурвал (150)
• sizingPolicy, sizingDisk, count"]:::target
end
ORG -->|"organizationUid"| VDC
VDC -->|"vdcUid"| EDGE
ORG -.->|"modify: vIPConfigure"| IP
EDGE -.->|"modify: SNAT (ipSpaceName)"| IP
VDC -->|"vdcUid"| VAPP
EDGE -->|"nsxtUid"| VAPP
VAPP -->|"vappUid"| VM
IP -.->|"внешний IP"| VM
VDC -->|"vdcUid"| SHTURVAL
EDGE -->|"nsxtUid"| SHTURVAL
IP -.->|"внешний IP (>= 3)"| SHTURVAL