No project description provided
Project description
Infrahub Sync
Infrahub-Sync is a versatile Python package that synchronizes data between a source and a destination system. It builds on the robust capabilities of diffsync
to offer flexible and efficient data synchronization across different platforms, including Netbox, Nautobot, and Infrahub. This package features a Typer-based CLI for ease of use, supporting operations such as listing available sync projects, generating diffs, and executing sync processes.
Features
- Multiple Systems Support: Synchronize data between Netbox, Nautobot, and Infrahub.
- Flexible Configuration: Define synchronization tasks with YAML configuration files.
- CLI Interface: Manage sync tasks directly from the command line.
- Custom Sync Logic: Generate Python code for custom sync adapters and models using provided Jinja templates.
Requirements
Requirements
- The two latest Infrahub releases
- Python >=3.9, <3.13
- Python modules:
- infrahub-sdk >= 0.9.0
Project Structure
.
├── README.md
├── examples
│ ├── nautobot-v1_to_infrahub
│ │ ├── config.yml
│ │ ├── infrahub
│ │ │ ├── __init__.py
│ │ │ ├── sync_adapter.py
│ │ │ └── sync_models.py
│ │ └── nautobot
│ │ ├── __init__.py
│ │ ├── sync_adapter.py
│ │ └── sync_models.py
│ ├── nautobot-v2_to_infrahub
│ │ ├── config.yml
│ │ ├── infrahub
│ │ │ ├── __init__.py
│ │ │ ├── sync_adapter.py
│ │ │ └── sync_models.py
│ │ └── nautobot
│ │ ├── __init__.py
│ │ ├── sync_adapter.py
│ │ └── sync_models.py
│ └── netbox_to_infrahub
│ ├── config.yml
│ ├── infrahub
│ │ ├── __init__.py
│ │ ├── sync_adapter.py
│ │ └── sync_models.py
│ └── netbox
│ ├── __init__.py
│ ├── sync_adapter.py
│ └── sync_models.py
├── infrahub-sync
│ ├── infrahub_sync
│ │ ├── __init__.py
│ │ ├── adapters
│ │ │ ├── infrahub.py
│ │ │ ├── nautobot.py
│ │ │ └── netbox.py
│ │ ├── cli.py
│ │ ├── generator
│ │ │ ├── __init__.py
│ │ │ ├── templates
│ │ │ │ ├── diffsync_adapter.j2
│ │ │ │ └── diffsync_models.j2
│ │ │ └── utils.py
│ │ └── utils.py
│ └── tests
│ └── __init__.py
├── poetry.lock
├── potenda
│ └── potenda
│ └── __init__.py
└── pyproject.toml
Documentation
If you'd like to learn more, please check out the documentation:
Branch stable |
Branch develop |
|
---|---|---|
Documentation |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file infrahub_sync-0.4.0.tar.gz
.
File metadata
- Download URL: infrahub_sync-0.4.0.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbe27be943771406b12eaa45c6c3c90375e9a8dbb9341f9002b851c1b3bf0082 |
|
MD5 | 147cfdbc77da198d80c6b9bf87e12404 |
|
BLAKE2b-256 | aa881c5240b9402405688f15cd893fdefdc0ef4110e882190be0e031abccaea9 |
File details
Details for the file infrahub_sync-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: infrahub_sync-0.4.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.11.4 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c934ae7b39d4a146255a0e7972d8b621d094eb6d7fc9ef5a1f0718da803215e1 |
|
MD5 | ce33d7772a8ac761cf193ebecfca1fcb |
|
BLAKE2b-256 | 0971b889634e7109d33a149cdc5c47c9aa4c373a6430fb698a030d7ee37d3169 |