# gns3/gns3-registry architecture

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

- Interactive diagram: https://gitdiagram.com/gns3/gns3-registry
- Repository: https://github.com/gns3/gns3-registry

## Overview

GNS3-registry is a community catalog of appliance definitions and symbols, rather than the GNS3 runtime itself. Contributors create appliance JSON, which is shaped by versioned schemas and consumed by GNS3 to install supported templates. The catalog also includes image references, appliance-building recipes, cloud-init data, and Docker definitions. Maintenance utilities validate definitions, check referenced URLs, and inspect symbol dimensions. The documented contribution and schema relationships are shown; links between unsampled catalog assets and runtime tools are omitted where the source evidence does not establish them.

Main entry points: [`checks.py`](https://github.com/gns3/gns3-registry/blob/master/checks.py) (Registry checks), [`appliances`](https://github.com/gns3/gns3-registry/tree/master/appliances) (Appliance definitions), [`new_appliance.py`](https://github.com/gns3/gns3-registry/blob/master/new_appliance.py) (Appliance generator), [`schemas`](https://github.com/gns3/gns3-registry/tree/master/schemas) (Versioned schemas)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Appliance catalog"]
  node_appliances["Appliance definitions"]
  node_symbols["Appliance symbols"]
  node_packer["Image recipes"]
  node_cloudinit["Cloud-init data"]
  node_docker["Docker definitions"]
end

subgraph group_specs["Schema and assets"]
  node_schemas["Versioned schemas"]
end

subgraph group_creation["Contribution tools"]
  node_new_appliance["Appliance generator<br/>[new_appliance.py]"]
end

subgraph group_maintenance["Checks and helpers"]
  node_checks["Registry checks<br/>[checks.py]"]
  node_check_urls["URL checker<br/>[check_urls.py]"]
  node_picture["Image dimensions<br/>[picture.py]"]
end

node_contributor(("Contributor"))
node_gns3(("GNS3 client"))

node_contributor -->|"creates definition"| node_new_appliance
node_new_appliance -->|"reads schema"| node_schemas
node_new_appliance -->|"writes definition"| node_appliances
node_gns3 -->|"installs appliance"| node_appliances
node_gns3 -->|"checks version"| node_schemas
node_checks -->|"validates against"| node_schemas
node_checks -->|"checks definitions"| node_appliances
node_checks -->|"gets dimensions"| node_picture
node_checks -->|"checks symbols"| node_symbols
node_check_urls -->|"reads references"| node_appliances

click node_appliances "https://github.com/gns3/gns3-registry/tree/master/appliances"
click node_symbols "https://github.com/gns3/gns3-registry/tree/master/symbols"
click node_packer "https://github.com/gns3/gns3-registry/tree/master/packer"
click node_cloudinit "https://github.com/gns3/gns3-registry/tree/master/cloud-init"
click node_docker "https://github.com/gns3/gns3-registry/tree/master/docker"
click node_schemas "https://github.com/gns3/gns3-registry/tree/master/schemas"
click node_new_appliance "https://github.com/gns3/gns3-registry/blob/master/new_appliance.py"
click node_checks "https://github.com/gns3/gns3-registry/blob/master/checks.py"
click node_check_urls "https://github.com/gns3/gns3-registry/blob/master/check_urls.py"
click node_picture "https://github.com/gns3/gns3-registry/blob/master/picture.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_appliances,node_symbols,node_packer,node_cloudinit,node_docker,node_gns3 toneBlue
class node_schemas toneAmber
class node_new_appliance toneMint
class node_checks,node_check_urls,node_picture toneRose
class node_contributor toneIndigo
```

## Components

### Appliance catalog

- [Appliance definitions](https://github.com/gns3/gns3-registry/tree/master/appliances): `appliances`
- [Appliance symbols](https://github.com/gns3/gns3-registry/tree/master/symbols): `symbols`
- [Image recipes](https://github.com/gns3/gns3-registry/tree/master/packer): `packer`
- [Cloud-init data](https://github.com/gns3/gns3-registry/tree/master/cloud-init): `cloud-init`
- [Docker definitions](https://github.com/gns3/gns3-registry/tree/master/docker): `docker`

### Schema and assets

- [Versioned schemas](https://github.com/gns3/gns3-registry/tree/master/schemas): `schemas`

### Contribution tools

- [Appliance generator](https://github.com/gns3/gns3-registry/blob/master/new_appliance.py): `new_appliance.py`

### Checks and helpers

- [Registry checks](https://github.com/gns3/gns3-registry/blob/master/checks.py): `checks.py`
- [URL checker](https://github.com/gns3/gns3-registry/blob/master/check_urls.py): `check_urls.py`
- [Image dimensions](https://github.com/gns3/gns3-registry/blob/master/picture.py): `picture.py`

### Other components

- **Contributor**
- **GNS3 client**

## Connections

- Contributor → Appliance generator: creates definition (evidence: `README.md`)
- Appliance generator → Versioned schemas: reads schema (evidence: `new_appliance.py`)
- Appliance generator → Appliance definitions: writes definition (evidence: `new_appliance.py`)
- GNS3 client → Appliance definitions: installs appliance (evidence: `README.md`)
- GNS3 client → Versioned schemas: checks version (evidence: `README.md`)
- Registry checks → Versioned schemas: validates against (evidence: `checks.py`)
- Registry checks → Appliance definitions: checks definitions (evidence: `checks.py`)
- Registry checks → Image dimensions: gets dimensions (evidence: `checks.py`)
- Registry checks → Appliance symbols: checks symbols (evidence: `checks.py`)
- URL checker → Appliance definitions: reads references (evidence: `check_urls.py`)
