Skip to main content

Nornir Integration with Infrahub

This integration bridges Nornir's powerful automation framework with Infrahub's next-generation infrastructure data management platform.

Why use this integration?

Traditional network automation tools struggle with:

  • Static inventory management: Manually maintained host files that become outdated
  • Configuration drift: No systematic way to track and validate infrastructure state
  • Environment isolation: Difficulty managing different configurations across dev/staging/production
  • Audit trails: Limited visibility into who changed what and when

The Nornir-Infrahub integration solves these challenges by:

  • Dynamic inventory: Automatically sync device inventory from Infrahub's graph database
  • Version control: Leverage Infrahub's Git-like branching for configuration management
  • Artifact management: Generate, validate, and deploy configurations with full traceability
  • Flexible grouping: Create dynamic device groups based on any Infrahub attribute or relationship

Common use cases

  • Multi-environment deployments: Use Infrahub branches to manage configurations across development, staging, and production environments
  • Compliance automation: Generate compliance reports and configuration audits as artifacts
  • Configuration validation: Compare intended vs. actual device configurations
  • Disaster recovery: Maintain authoritative source of network configurations with full history

Quick start

Installation

pip install nornir-infrahub

Next steps

Documentation

Topics

Guides

References

Inventory plugin

Artifact management tasks

Additional resources