Nornir plugin for Infrahub
Project description
Nornir plugin for Infrahub
Infrahub by OpsMill acts as a central hub to manage the data, templates and playbooks that powers your infrastructure. At its heart, Infrahub is built on 3 fundamental pillars:
- A Flexible Schema: A model of the infrastructure and the relation between the objects in the model, that's easily extensible.
- Version Control: Natively integrated into the graph database which opens up some new capabilities like branching, diffing, and merging data directly in the database.
- Unified Storage: By combining a graph database and git, Infrahub stores data and code needed to manage the infrastructure.
Introduction
A Nornir plugin for Infrahub. Infrahub can be used as an inventory source for Nornir.
Installation
pip install nornir_infrahub
Usage
An example of this can be found in ./examples/nornir_inventory.py
Infrahub artifact tasks
A set of tasks are provided to operate on Infrahub Artifacts:
generate_artifacts: generates the Artifacts for a Artifact Definitionregenerate_artifact: re-generates an Artifact for a Nornir Hostget_artifact: retrieve an Artifact for a Nornir Host
An example of this can be found in ./examples/nornir_tasks.py
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nornir_infrahub-1.0.1.tar.gz.
File metadata
- Download URL: nornir_infrahub-1.0.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.0 CPython/3.11.11 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5433d93e37d83275c864aeb6d4675defd8171bf60a1b719537efea676464f670
|
|
| MD5 |
f8f40f90187c80ce3c80d193cf16325a
|
|
| BLAKE2b-256 |
1fc1c578d33bdeaadfc77fd9b1225fba25b7c3986f7029f30a29373e7e3fad42
|
File details
Details for the file nornir_infrahub-1.0.1-py3-none-any.whl.
File metadata
- Download URL: nornir_infrahub-1.0.1-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.0.0 CPython/3.11.11 Linux/6.5.0-1025-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4084b09c16a5194228d8c600081000408df05e78a9fc927ea7961d95a96922b8
|
|
| MD5 |
e3b244a26598efe042bafb302e452805
|
|
| BLAKE2b-256 |
05ae51a8182f3e80c4df9bcd921a947d65b63af1433e24bfcba2bb56013397d6
|