# dsx-ai-factory/nv-config-manager architecture

> Architecture diagram of the GitHub repository dsx-ai-factory/nv-config-manager, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dsx-ai-factory/nv-config-manager
- Repository: https://github.com/dsx-ai-factory/nv-config-manager

## Overview

NVIDIA Config Manager is a datacenter network automation platform. Its operational capabilities span provider-backed data, configuration rendering and storage, device provisioning, and long-running workflows; the UI exposes workflow and configuration browsing. The README documents these service roles, but the excerpts do not show most runtime wiring, so only documented relationships are connected. The installer is a separate deployment entry point and is omitted from this runtime map.

Main entry points: [`src/nv_config_manager/render`](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/render) (Render Service), [`ui/src/app`](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/ui/src/app) (NVCM UI), [`src/nv_config_manager/config_store`](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/config_store) (Config Store), [`components/nautobot`](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/components/nautobot) (Nautobot Provider)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_provider["DCIM Provider"]
  node_nautobot["Nautobot Provider"]
  node_dcim["DCIM Provider API"]
end

subgraph group_config["Configuration Services"]
  node_render["Render Service"]
  node_templates["Template Engine"]
  node_configstore["Config Store"]
  node_postgres[("PostgreSQL")]
  node_nats["NATS Messaging"]
end

subgraph group_provision["Provisioning"]
  node_dhcp["DHCP Service"]
  node_ztpapi["ZTP API"]
  node_sftp["ZTP SFTP"]
  node_objectstore[("Object Storage<br/>[storage.py]")]
end

subgraph group_automation["Workflow Automation"]
  node_temporalapi["Temporal API"]
  node_worker["Temporal Worker"]
  node_workflows["Workflow Activities"]
end

subgraph group_interface["User Interface"]
  node_ui["NVCM UI"]
end

node_operator(("Operator"))

node_operator -->|"uses"| node_ui
node_ui -->|"starts workflows"| node_temporalapi
node_ui -->|"browses configs"| node_configstore
node_nautobot -->|"provides inventory"| node_dcim
node_dcim -->|"supplies provider data"| node_dhcp
node_nautobot -->|"publishes change events"| node_render
node_render -->|"renders configurations"| node_templates
node_render -->|"stores rendered configs"| node_configstore
node_configstore -->|"persists configs"| node_postgres
node_ztpapi -.->|"serves provisioning files"| node_objectstore
node_sftp -->|"reads file objects"| node_objectstore
node_temporalapi -.->|"dispatches workflows"| node_worker
node_worker -.->|"runs activities"| node_workflows

click node_ui "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/ui/src/app"
click node_nautobot "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/components/nautobot"
click node_dcim "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/packages/dcim/src/nv_config_manager_dcim"
click node_render "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/render"
click node_templates "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/packages/templates/src/nv_config_manager_templates"
click node_configstore "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/config_store"
click node_dhcp "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/dhcp"
click node_ztpapi "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/ztp/api"
click node_sftp "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/ztp/sftp"
click node_objectstore "https://github.com/dsx-ai-factory/nv-config-manager/blob/main/src/nv_config_manager/ztp/storage.py"
click node_temporalapi "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/temporal/api"
click node_worker "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/temporal/worker"
click node_workflows "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/packages/workflows/src/nv_config_manager_workflows/activities"
click node_nats "https://github.com/dsx-ai-factory/nv-config-manager/tree/main/packages/infrastructure/src/nv_config_manager_infrastructure/nats"

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_nautobot,node_dcim toneBlue
class node_render,node_templates,node_configstore,node_postgres,node_nats toneAmber
class node_dhcp,node_ztpapi,node_sftp,node_objectstore toneMint
class node_temporalapi,node_worker,node_workflows toneRose
class node_ui,node_operator toneIndigo
```

## Components

### DCIM Provider

- [Nautobot Provider](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/components/nautobot): `components/nautobot`
- [DCIM Provider API](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/packages/dcim/src/nv_config_manager_dcim): `packages/dcim/src/nv_config_manager_dcim`

### Configuration Services

- [Render Service](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/render): `src/nv_config_manager/render`
- [Template Engine](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/packages/templates/src/nv_config_manager_templates): `packages/templates/src/nv_config_manager_templates`
- [Config Store](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/config_store): `src/nv_config_manager/config_store`
- **PostgreSQL**
- [NATS Messaging](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/packages/infrastructure/src/nv_config_manager_infrastructure/nats): `packages/infrastructure/src/nv_config_manager_infrastructure/nats`

### Provisioning

- [DHCP Service](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/dhcp): `src/nv_config_manager/dhcp`
- [ZTP API](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/ztp/api): `src/nv_config_manager/ztp/api`
- [ZTP SFTP](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/ztp/sftp): `src/nv_config_manager/ztp/sftp`
- [Object Storage](https://github.com/dsx-ai-factory/nv-config-manager/blob/main/src/nv_config_manager/ztp/storage.py): `src/nv_config_manager/ztp/storage.py`

### Workflow Automation

- [Temporal API](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/temporal/api): `src/nv_config_manager/temporal/api`
- [Temporal Worker](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/src/nv_config_manager/temporal/worker): `src/nv_config_manager/temporal/worker`
- [Workflow Activities](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/packages/workflows/src/nv_config_manager_workflows/activities): `packages/workflows/src/nv_config_manager_workflows/activities`

### User Interface

- [NVCM UI](https://github.com/dsx-ai-factory/nv-config-manager/tree/main/ui/src/app): `ui/src/app`

### Other components

- **Operator**

## Connections

- Operator → NVCM UI: uses (evidence: `README.md`)
- NVCM UI → Temporal API: starts workflows (evidence: `README.md`)
- NVCM UI → Config Store: browses configs (evidence: `README.md`)
- Nautobot Provider → DCIM Provider API: provides inventory (evidence: `README.md`)
- DCIM Provider API → DHCP Service: supplies provider data (evidence: `README.md`)
- Nautobot Provider → Render Service: publishes change events (evidence: `README.md`)
- Render Service → Template Engine: renders configurations (evidence: `README.md`)
- Render Service → Config Store: stores rendered configs (evidence: `README.md`)
- Config Store → PostgreSQL: persists configs (evidence: `README.md`)
- ZTP API → Object Storage: serves provisioning files
- ZTP SFTP → Object Storage: reads file objects (evidence: `src/nv_config_manager/ztp/sftp/main.py`)
- Temporal API → Temporal Worker: dispatches workflows
- Temporal Worker → Workflow Activities: runs activities
