Network Configuration Automation with Infrahub and Nornir

Linder, Simon and Lisetska, Polina and Stutz, Ramon (2024) Network Configuration Automation with Infrahub and Nornir. Other thesis, OST Ostschweizer Fachhochschule.

[thumbnail of HS 2024 2025-SA-EP-Stutz-Linder-Lisetska-Infrastructure as Code — Open Slot.pdf] Text
HS 2024 2025-SA-EP-Stutz-Linder-Lisetska-Infrastructure as Code — Open Slot.pdf - Supplemental Material

Download (6MB)

Abstract

Abstract:
This document outlines the design and implementation of an automated system for VLAN management as part of the project “Network Configuration Automation with Infrahub and Nornir”. The solution leverages Infrahub as a single source of truth, providing a unified platform for managing network infrastructure data. Nornir, a Python-based automation framework, handles configuration deployment with dry-run validation to detect potential misconfigurations:
- Infrahub serves as the central repository for network infrastructure data, providing version control and collaboration through GitLab.
- Python Transformers: convert Infrahub data into a Pydantic model representing YANG models.
- NETCONF XML Exporter generates valid NETCONF payloads.
- Nornir automates the deployment of NETCONF configurations, offering flexibility and scalability.
- Conditional Runner enforces concurrency limits and controlled task execution, enhancing automation stability.

Key Features:
- Dry-Run Validation: Identifies misconfigurations preemptively.
- Reconciliation Mechanism: Detects configuration drifts for remediation.
- Centralized Management: Streamlines oversight of network configurations.

Benefits:
Automating VLAN configuration reduces human intervention, minimizes errors, and enhances network reliability. Validation and centralized management improve efficiency, reliability, and scalability.

Conclusion:
The “Network Configuration Automation with Infrahub and Nornir” project automates VLAN management by enforcing validation and centralizing oversight, modernizing network management for greater efficiency and scalability.

Item Type: Thesis (Other)
Subjects: Area of Application > Business oriented
Technologies > Programming Languages > Python
Technologies > Network
Technologies > Virtualization > Docker
Metatags > INS (Institute for Networked Solutions)
Divisions: Bachelor of Science FHO in Informatik > Student Research Project
Depositing User: OST Deposit User
Contributors:
Contribution
Name
Email
Thesis advisor
Baumann, Urs
UNSPECIFIED
Date Deposited: 18 Feb 2025 12:29
Last Modified: 18 Feb 2025 12:29
URI: https://eprints.ost.ch/id/eprint/1272

Actions (login required)

View Item
View Item