Webinar Recap: Bringing Production Validation into Network Automation CI/CD

The integration of production validation into network Continuous Integration and Continuous Deployment (CI/CD) is becoming increasingly essential. Infrahub and Netpicker work together to streamline the production validation process, helping you improve the efficiency and reliability of your network automation.

In this webinar recap, OpsMill’s Jordan Villarreal and Netpicker’s Otto Coster explore the core functionalities of both platforms, their unique features, and practical use cases that illustrate their capabilities.

Understanding CI/CD in Network Automation

CI/CD has revolutionized the software development landscape, allowing teams to deliver code changes more frequently and reliably. However, when it comes to network automation, the adoption of these practices often encounters challenges. Network engineers may struggle with integrating CI/CD into their workflows, leading to confusion regarding the tools and processes involved.

This is where InfraHUB and Netpicker come into play. By providing robust solutions that cater specifically to network automation, these platforms address the unique requirements of CI/CD in this domain. (Link to segment in video)

Introducing Infrahub

Infrahub serves as a next-generation, fully impartial source of truth for network automation. One of its standout features is vendor neutrality, ensuring that users are not tied to any specific vendor’s tools or opinions. This flexibility enables teams to work within their existing frameworks and tailor their approaches according to their needs. With Infrahub, users gain control over their schemas and data models. This means that the business data that the team manages can be integrated as a first-party citizen within the system, rather than as an extension or custom field. This level of control is crucial for organizations that want to maintain their unique processes while leveraging automation. (Link to segment in video)

What is Infrahub webinar slide

Key Features of Infrahub

  • Vendor Neutrality: Infrahub allows users to avoid being locked into any specific vendor ecosystem.
  • Schema Control: Users can define their data models, enabling seamless integration with existing workflows.
  • Git-like Actions: Infrahub provides Git-like interactions, allowing users to create branches of their data without needing to adopt Git directly.
  • CI Checks: The platform enables users to perform continuous integration checks directly within its environment, enhancing data integrity.

Getting to Know Netpicker

Netpicker complements Infrahub by providing a robust testing platform for network engineers. It empowers users to validate their network designs, security measures, and compliance protocols. With a focus on developer independence, Netpicker allows engineers to write their tests using either Python or a user-friendly UI-based approach. The platform supports a wide range of network devices through SSH connections, making it versatile for various environments. Additionally, Netpicker leverages open-source libraries such as Netmiko to support over 117 vendors without the need for specific vendor modules. (Link to segment in video)

What is Netpicker webinar slide

Key Features of Netpicker

  • Testing Flexibility: Users can create tests in Python or utilize a UI, accommodating different skill levels.
  • Configuration Backup: The platform provides tools for backing up device configurations and show commands.
  • Modern Architecture: Netpicker operates on a completely Docker-based architecture, allowing for offline operation.
  • API-First Approach: All user actions in the interface are essentially API calls, enabling extensive automation possibilities.

Live Demos: Integrating Infrahub and Netpicker

To illustrate the effectiveness of Infrahub and Netpicker, let’s explore two practical use cases that demonstrate how these platforms can be utilized together to enhance network automation.

Use Case 1: Comparing Configured Interfaces

In this scenario, Otto sets up a Cisco device to emulate a real network environment. Using Netpicker, we can quickly run commands against this emulated device to compare its configured interfaces with the source of truth defined in Infrahub. The process involves selecting the relevant device in Netpicker and executing a command to fetch the current interface state. This state is then compared against the data stored in Infrahub to ensure consistency and accuracy. (Link to segment in video)

comparing data in Infrahub and Netpicker

Steps Involved:

  1. Set up the emulated Cisco device in Netpicker.
  2. Run the command to retrieve the configured interfaces.
  3. Compare the results with the data in Infrahub.
  4. Identify any discrepancies and take corrective action as necessary.

Use Case 2: CI/CD Pipeline Integration

The second use case focuses on integrating a Netpicker test into the Infrahub CI/CD pipeline. This allows for automated testing of proposed changes before they are deployed to production. In this example, Otto creates a Git repository within Infrahub, where we define checks and queries using GraphQL. These checks are then used to validate the state of the network against the proposed changes, ensuring that any modifications align with the organization’s standards and compliance requirements. (Link to segment in video)

Netpicker test in the Infrahub CI/CD pipeline

Steps Involved:

  1. Configure a Git repository in Infrahub.
  2. Define checks and queries to validate the network state.
  3. Run tests as part of the CI/CD pipeline to ensure compliance with design rules.
  4. Receive immediate feedback on the success or failure of the proposed changes.

Conclusion

The integration of Infrahub and Netpicker provides a powerful solution for network engineers looking to enhance their CI/CD processes. By leveraging the strengths of both platforms, teams can achieve greater efficiency, reliability, and visibility in their network automation efforts. (Link to segment in video)

As the tech landscape continues to evolve, embracing tools that facilitate automation and validation will be crucial for organizations aiming to stay ahead. Infrahub and Netpicker not only simplify these processes but also empower engineers to take control of their network environments, ensuring that they can deliver high-quality services consistently.

Infrahub Overview: Revolutionizing Infrastructure Automation

In this post, I’ll be recapping the Infrahub Overview webinar delivered by Pete Crocker, Director – Solution Architecture and Wim Van Deun, Senior Solution Engineer.

Introduction to Infrahub

In the world of infrastructure automation, complexity often leads to frustration. Organizations face challenges in maintaining their automation stacks, leading to tech debt and inefficiencies. Infrahub from OpsMill aims to address these challenges by providing a comprehensive platform that integrates various aspects of infrastructure management into a single, cohesive solution.

Infrahub is an innovative infrastructure automation platform designed to deliver a source of truth with an extendable schema, versioning, and native continuous integration capabilities. It was developed by OpsMill, a company founded by experts who recognized the need for a more reliable and efficient infrastructure automation solution.

The Genesis of Infrahub

About seven years ago, founder Damien Garros began exploring ways to solve the fundamental challenges faced by organizations in developing and maintaining infrastructure automation. He teamed up with Raphael Maunier, who had encountered similar challenges in his previous roles. Together, they built a team of automation experts to create Infrahub, which was released on GitHub in June 2024.

The Current State of Network Automation

According to EMA Research, many organizations investing in automation are not satisfied with their results. Only 20% of surveyed teams expressed happiness with their source of truth, which is crucial for infrastructure automation. The prevalent issue is the creation of a “Frankenstack” of open-source and commercial tools, leading to complexity and fragility.

Challenges in Maintaining Homegrown Automation Stacks

Organizations often start their automation journey with simple goals and quick wins. However, as they scale, they encounter challenges such as:

  • Fragmentation of data across different tools and vendors
  • Lack of visibility and traceability
  • Increased maintenance and update times
  • Complex integrations that create tech debt

These challenges make it difficult to maintain a reliable and efficient automation stack, ultimately leading to dissatisfaction among teams.

Infrahub’s Solution

Infrahub addresses the issues faced by organizations by providing a unified platform that combines infrastructure data and GitOps principles. It allows teams to build a reliable and sustainable automation process without the complexity of maintaining a fragmented stack.

Key Features of Infrahub

  • Extendable Schema and Data Models: Infrahub allows organizations to define their schema and data models for their infrastructure according to their needs.
  • Version Control: Infrahub incorporates git-like concepts such as branching, diff, and merge.
  • Transformations: Infrahub can generate artifacts in various formats.
  • Continuous Integration Pipeline: The built-in CI pipeline validates changes and streamlines deployment.

Understanding Data Management Challenges

Data management is a critical challenge in many organizations. Infrahub addresses this by providing a central repository for teams to access and manage their infrastructure data.

The Importance of an Extendable Schema and Data Model

Organizations require adaptability in their data management. Infrahub’s extendable schema and model allows teams to start small and evolve.

Version Control: Enhancing Collaboration

Infrahub’s version control features facilitate collaboration among teams. By allowing users to create branches for planned changes, teams can review and merge changes efficiently.

Transformations and CI Pipeline

Transformations play a vital role in Infrahub’s functionality. They allow users to pull relevant data and render it in a structured manner. The CI pipeline ensures all data and templates are validated, improving deployment efficiency.

Integrating with Existing Tools

Infrahub is designed to integrate seamlessly with existing tools and frameworks. It can sync data with sources like ServiceNow CMDB and works with tools like Ansible and Terraform.

Real-World Use Cases

  • Unified Source of Truth: Consolidate infrastructure and business data into a single source.
  • Scaling Automation Across Teams: Multiple teams automate simultaneously.
  • Design-Driven Automation: Create service catalogs for safer and more efficient change requests.

Getting Started with Infrahub

Infrahub is available on GitHub and can be spun up quickly using GitHub Codespaces or Docker/Kubernetes. Extensive documentation and tutorials are available.

Future Developments

OpsMill plans to release a production-ready version of Infrahub and a SaaS offering later this year.

Conclusion

Infrahub is set to revolutionize infrastructure automation with a comprehensive, flexible, and user-friendly platform. It addresses complexity and fragmentation, empowering organizations to streamline operations and enhance collaboration.

Getting Started with Infrahub: Requirements and Installing

Welcome to Infrahub, the platform that unifies all your infrastructure data in one place and streamlines the creation of deliverable services. With built-in data versioning and continuous integration capabilities, Infrahub enhances your automated infrastructure delivery process.

In this video and post below we’ll cover:

  1. Infrahub’s Hardware Requirements
  2. Running the Performance Benchmark Utility
  3. Two Quick Installation Methods for Testing Infrahub

Ready to get started? Let’s go!

1. Infrahub’s Hardware Requirements

Before diving into Infrahub, it’s important to ensure your system meets the necessary hardware specifications for optimal performance.

Minimum Requirements

  • CPU: 6 cores
  • RAM: 12 GB
  • Storage: SSD with at least 5,000 IOPS

Recommended Requirements

  • CPU: 8 cores
  • RAM: 16 GB
  • Storage: SSD with at least 5,000 IOPS

Meeting these requirements ensures that Infrahub can efficiently handle data processing and automation tasks, providing a smooth user experience.

2. Running the Performance Benchmark Utility

To verify that your system aligns with the hardware requirements, you can use the Infrahub Performance Benchmark Utility. This tool assesses your system’s CPU, memory, and storage performance to ensure compatibility.

Benefits of the Benchmark Utility

  • Validation: Confirms your system can run Infrahub effectively.
  • Insight: Provides detailed performance metrics.
  • Preparation: Identifies potential hardware bottlenecks before installation.

To run the benchmark utility, use the following command:

sudo docker run -pull always -rm registry.opsmill.io/opsmill/bench

3. Quick Installation Methods for Testing Infrahub

There are multiple ways to install Infrahub for testing purposes. We’ll focus on two methods that allow you to set up Infrahub quickly and start exploring its features.

Method 1: Quick Start with a Single-Line Curl Command

This method provides the fastest way to get Infrahub up and running using Docker. It’s ideal for users who want to test the platform without a complex setup.

Overview

  • Ease of Use: Requires minimal commands and configuration.
  • Prerequisites: Ensure Docker is installed and running on your system.
  • Use Case: Perfect for initial exploration and familiarization with Infrahub.

Command for the quick start installation:

curl https://infrahub.opsmill.io | sudo docker compose -f - up -d

Method 2: Cloning from GitHub and Using Invoke Commands

If you prefer more control over the installation process or wish to delve into the codebase, this method involves cloning the Infrahub repository from GitHub and using Invoke commands to start the platform.

Overview

  • Customization: Allows you to interact with the source code and modify configurations.
  • Prerequisites:
    • Docker installed and running.
    • Python 3 with pip installed.
    • Python packages invoke and toml.
  • Use Case: Suitable for developers and advanced users interested in testing and contributing to Infrahub.

Commands to clone the repository and start Infrahub:

git clone -recursive -depth 1 https://github.com/opsmill/infrahub.git

cd infrahub

invoke demo.start

Conclusion

Now that you’re ready to start, head over to our Github where you can find the latest version of our documentation, guides, and more. Also make sure to join our Discord where you’ll find support and a growing community of folks solving complex automation challenges with Infrahub.

Let’s get automating!

Github: github.com/opsmill/infrahub | Discord: discord.gg/opsmill | Documentation: docs.infrahub.app

REQUEST A DEMO

See what Infrahub can do for you

Get a personal tour of Infrahub Enterprise

Learn how we can support your infrastructure automation goals

Ask questions and get advice from our automation experts

By submitting this form, I confirm that I have read and agree to OpsMill’s privacy policy.

Fantastic! 🙌

Check your email for a message from our team.

From there, you can pick a demo time that’s convenient for you and invite any colleagues who you want to attend.

We’re looking forward to hearing about your automation goals and exploring how Infrahub can help you meet them.