# vmware/vcf-readiness architecture

> Architecture diagram of the GitHub repository vmware/vcf-readiness, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vmware/vcf-readiness
- Repository: https://github.com/vmware/vcf-readiness

## Overview

VCF Readiness Assessment is a local-first fleet hardware assessment tool for VCF and vSAN ESA readiness. Its main workflow is target and credential setup, Redfish collection, compatibility/HCL and security evaluation, then host and fleet reporting with optional exports. The README also documents scan import and grouping, remote execution, credential vault, wizard, offline HCL, and experimental VDT integration. Edges are limited to README workflow statements and relationships shown by the supplied excerpts or SOURCE INDEX; unsampled subsystem internals are not assumed.

Main entry points: [`vcf_hci/web/scan_worker.py`](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/web/scan_worker.py) (Scan worker), [`vcf_hci/web/server.py`](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/web/server.py) (Local web UI), [`vcf_hci/collector/collect_storage_drive.py`](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/collector/collect_storage_drive.py) (Redfish collection), [`vcf_hci/web/js/wizard.py`](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/web/js/wizard.py) (Scan wizard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Scan workflow"]
  node_web["Local web UI<br/>[server.py]"]
  node_wizard["Scan wizard<br/>[wizard.py]"]
  node_scan_worker["Scan worker<br/>[scan_worker.py]"]
end

subgraph group_assessment["Assessment"]
  node_collector["Redfish collection"]
  node_pci["PCIe inventory<br/>[pci_utils.py]"]
  node_compat["Compatibility rules<br/>[engine.py]"]
  node_hcl[("HCL datasets<br/>[loader.py]")]
  node_hcl_bundles["Offline HCL bundles<br/>[bundle_manager.py]"]
  node_security["BMC security audit<br/>[evaluation.py]"]
  node_enrichment["Assessment enrichment<br/>[enrichment.py]"]
end

subgraph group_results["Results and fleet"]
  node_host_report["Host reports<br/>[components.py]"]
  node_fleet_report["Fleet reports<br/>[combined.py]"]
  node_exports["CSV and workbook<br/>[excel_export.py]"]
  node_scan_library["Scan library<br/>[fleet_library.py]"]
  node_groups["Server groups<br/>[server_groups.py]"]
  node_obfuscation["Data obfuscation<br/>[obfuscation.py]"]
end

subgraph group_integrations["Integrations"]
  node_vault[("Credential vault<br/>[services.py]")]
  node_remote["Remote execution<br/>[orchestrator.py]"]
  node_vinv["vCenter inventory<br/>[reconcile.py]"]
  node_mtat["MTAT assessment<br/>[mtat_runtime.py]"]
  node_vdt["VDT integration<br/>[vdt.py]"]
end

node_engineer(("Assessment user"))
node_bmc{{"BMC / Redfish"}}
node_vcenter{{"vCenter"}}

node_engineer -->|"uses"| node_web
node_engineer -->|"configures scan"| node_wizard
node_wizard -->|"shares settings"| node_web
node_web -->|"starts scan"| node_scan_worker
node_scan_worker -->|"collects inventory"| node_collector
node_bmc -->|"provides telemetry"| node_collector
node_collector -->|"uses PCI helpers"| node_pci
node_compat -->|"uses PCI helpers"| node_pci
node_scan_worker -->|"loads HCL"| node_hcl
node_hcl_bundles -->|"loads datasets"| node_hcl
node_scan_worker -->|"enriches results"| node_vinv
node_scan_worker -->|"regenerates reports"| node_host_report
node_scan_worker -->|"uses obfuscation"| node_obfuscation
node_web -->|"exposes fleet view"| node_fleet_report
node_web -->|"exposes exports"| node_exports
node_engineer -->|"imports scans"| node_scan_library
node_engineer -->|"manages membership"| node_groups
node_engineer -->|"manages credentials"| node_vault
node_web -->|"offers remote scans"| node_remote
node_remote -->|"uses jump hosts"| node_vault
node_vcenter -.->|"supplies inventory"| node_vinv
node_web -->|"exposes plugin"| node_mtat
node_engineer -->|"uses VDT option"| node_vdt
node_scan_worker -.->|"assesses security"| node_security
node_scan_worker -.->|"evaluates readiness"| node_compat
node_scan_worker -.->|"enriches assessment"| node_enrichment
node_host_report -.->|"supports combined view"| node_fleet_report

click node_web "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/web/server.py"
click node_wizard "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/web/js/wizard.py"
click node_scan_worker "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/web/scan_worker.py"
click node_collector "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/collector/collect_storage_drive.py"
click node_pci "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/collector/pci_utils.py"
click node_compat "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/compat/engine.py"
click node_hcl "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/hcl/loader.py"
click node_hcl_bundles "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/hcl/bundle_manager.py"
click node_security "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/security/evaluation.py"
click node_enrichment "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/enrichment.py"
click node_host_report "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/report/components.py"
click node_fleet_report "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/report/fleet/combined.py"
click node_exports "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/report/excel_export.py"
click node_scan_library "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/fleet_library.py"
click node_groups "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/server_groups.py"
click node_obfuscation "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/obfuscation.py"
click node_vault "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/vault/services.py"
click node_remote "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/remote/orchestrator.py"
click node_vinv "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/plugins/vinv/reconcile.py"
click node_mtat "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/plugins/mtat_runtime.py"
click node_vdt "https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/plugins/vdt.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_web,node_wizard,node_scan_worker,node_engineer toneBlue
class node_collector,node_pci,node_compat,node_hcl,node_hcl_bundles,node_security,node_enrichment toneAmber
class node_host_report,node_fleet_report,node_exports,node_scan_library,node_groups,node_obfuscation toneMint
class node_vault,node_remote,node_vinv,node_mtat,node_vdt toneRose
class node_bmc,node_vcenter toneIndigo
```

## Components

### Scan workflow

- [Local web UI](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/web/server.py): `vcf_hci/web/server.py`
- [Scan wizard](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/web/js/wizard.py): `vcf_hci/web/js/wizard.py`
- [Scan worker](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/web/scan_worker.py): `vcf_hci/web/scan_worker.py`

### Assessment

- [Redfish collection](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/collector/collect_storage_drive.py): `vcf_hci/collector/collect_storage_drive.py`
- [PCIe inventory](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/collector/pci_utils.py): `vcf_hci/collector/pci_utils.py`
- [Compatibility rules](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/compat/engine.py): `vcf_hci/compat/engine.py`
- [HCL datasets](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/hcl/loader.py): `vcf_hci/hcl/loader.py`
- [Offline HCL bundles](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/hcl/bundle_manager.py): `vcf_hci/hcl/bundle_manager.py`
- [BMC security audit](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/security/evaluation.py): `vcf_hci/security/evaluation.py`
- [Assessment enrichment](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/enrichment.py): `vcf_hci/enrichment.py`

### Results and fleet

- [Host reports](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/report/components.py): `vcf_hci/report/components.py`
- [Fleet reports](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/report/fleet/combined.py): `vcf_hci/report/fleet/combined.py`
- [CSV and workbook](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/report/excel_export.py): `vcf_hci/report/excel_export.py`
- [Scan library](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/fleet_library.py): `vcf_hci/fleet_library.py`
- [Server groups](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/server_groups.py): `vcf_hci/server_groups.py`
- [Data obfuscation](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/obfuscation.py): `vcf_hci/obfuscation.py`

### Integrations

- [Credential vault](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/vault/services.py): `vcf_hci/vault/services.py`
- [Remote execution](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/remote/orchestrator.py): `vcf_hci/remote/orchestrator.py`
- [vCenter inventory](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/plugins/vinv/reconcile.py): `vcf_hci/plugins/vinv/reconcile.py`
- [MTAT assessment](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/plugins/mtat_runtime.py): `vcf_hci/plugins/mtat_runtime.py`
- [VDT integration](https://github.com/vmware/vcf-readiness/blob/main/vcf_hci/plugins/vdt.py): `vcf_hci/plugins/vdt.py`

### Other components

- **Assessment user**
- **BMC / Redfish**
- **vCenter**

## Connections

- Assessment user → Local web UI: uses (evidence: `README.md`)
- Assessment user → Scan wizard: configures scan (evidence: `README.md`)
- Scan wizard → Local web UI: shares settings (evidence: `README.md`)
- Local web UI → Scan worker: starts scan (evidence: `vcf_hci/web/server.py`)
- Scan worker → Redfish collection: collects inventory (evidence: `vcf_hci/web/scan_worker.py`)
- BMC / Redfish → Redfish collection: provides telemetry (evidence: `README.md`)
- Redfish collection → PCIe inventory: uses PCI helpers (evidence: `vcf_hci/collector/collect_storage_drive.py`)
- Compatibility rules → PCIe inventory: uses PCI helpers
- Scan worker → HCL datasets: loads HCL (evidence: `vcf_hci/web/scan_worker.py`)
- Offline HCL bundles → HCL datasets: loads datasets (evidence: `vcf_hci/hcl/bundle_manager.py`)
- Scan worker → vCenter inventory: enriches results (evidence: `vcf_hci/web/scan_worker.py`)
- Scan worker → Host reports: regenerates reports (evidence: `vcf_hci/web/scan_worker.py`)
- Scan worker → Data obfuscation: uses obfuscation (evidence: `vcf_hci/web/scan_worker.py`)
- Local web UI → Fleet reports: exposes fleet view (evidence: `vcf_hci/web/server.py`)
- Local web UI → CSV and workbook: exposes exports (evidence: `vcf_hci/web/server.py`)
- Assessment user → Scan library: imports scans (evidence: `README.md`)
- Assessment user → Server groups: manages membership (evidence: `README.md`)
- Assessment user → Credential vault: manages credentials (evidence: `README.md`)
- Local web UI → Remote execution: offers remote scans (evidence: `README.md`)
- Remote execution → Credential vault: uses jump hosts
- vCenter → vCenter inventory: supplies inventory
- Local web UI → MTAT assessment: exposes plugin (evidence: `vcf_hci/web/server.py`)
- Assessment user → VDT integration: uses VDT option (evidence: `README.md`)
- Scan worker → BMC security audit: assesses security
- Scan worker → Compatibility rules: evaluates readiness
- Scan worker → Assessment enrichment: enriches assessment
- Host reports → Fleet reports: supports combined view
