Skip to main content

Nornir plugin for Infrahub

Project description

Infrahub Logo

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 Definition
  • regenerate_artifact: re-generates an Artifact for a Nornir Host
  • get_artifact: retrieve an Artifact for a Nornir Host

An example of this can be found in ./examples/nornir_tasks.py

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

nornir_infrahub-1.0.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

nornir_infrahub-1.0.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file nornir_infrahub-1.0.0.tar.gz.

File metadata

  • Download URL: nornir_infrahub-1.0.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure

File hashes

Hashes for nornir_infrahub-1.0.0.tar.gz
Algorithm Hash digest
SHA256 162aa7f0c6aa75990a573c7ab74e48a88c26dd26bc61473a5a521944cab44541
MD5 05f7f6562015494c5bce327136408ce4
BLAKE2b-256 254ab9716a69c0a50430b6a8b2e6ecfd95131dcc50beff4c31094a17221b1804

See more details on using hashes here.

File details

Details for the file nornir_infrahub-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nornir_infrahub-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure

File hashes

Hashes for nornir_infrahub-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6f36118414914374fb8ebef3b6098174035e4907541ed412a238c91ba26a6d3
MD5 c52986425d9a9f9ed72b62a9492ee14f
BLAKE2b-256 2fae4806801b3dc219a0a89e94776c99a9493b1d4ecbff2be122e200becb8429

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page