📄️ Installing Infrahub
Hardware requirements
📄️ Creating a Schema
In Infrahub, schemas play a crucial role in defining the structure and relationships of your data. This guide will walk you through the process of creating a new schema file, we will do this using the following steps:
📄️ Import Schema file
The recommended way to manage and load a schema is to create a schema file in YAML format. With a schema file it's possible to:
📄️ Controlling the menu
Infrahub allows you to control the menu on the left side of the web interface.
📄️ Importing Objects from a file
An Object file is a YAML file that allows you to manage data to be loaded in Infrahub based on your own custom schema. It provides a declarative way to define and manage resources in your Infrahub instance.
📄️ Creating a computed attribute
Infrahub supports two different types of computed attributes:
📄️ Using Resource Managers
The goal of this guide is to show you how to create a resource pool, and how you can allocate resources using them.
📄️ Creating Users, User Groups, Roles, and Permissions
In Infrahub, managing access and control starts with creating accounts, assigning them to groups, and managing their roles and permissions.
📄️ Creating Event triggers rules and actions
Triggers rules and actions feature, allows you to respond to events as they occur within Infrahub by defining filter conditions and triggering actions.
📄️ Creating a Group
Within Infrahub a Group can be created in multiple ways: in the UI, GraphQL, SDK and allow you to create and manage collections of objects.
📄️ How to Create a Generator
Generators in Infrahub allow you to automatically create or modify data based on existing information in your database. They are defined in external repositories and can be developed and tested locally using infrahubctl generatorinfrahubctl/infrahubctl-generator).
📄️ Adding external repositories
Infrahub supports two different types of connections to external Git repositories:
📄️ Creating a Jinja transform
Within Infrahub a Transform is defined in an external repository. However, during development and troubleshooting it is easiest to start from your local computer and run the render using infrahubctl renderinfrahubctl/infrahubctl-render).
📄️ Creating a Python transform
Within Infrahub a Transform is defined in an external repository. However, during development and troubleshooting it is easiest to start from your local computer and run the Transform using infrahubctl transforminfrahubctl/infrahubctl-transform).
📄️ Creating an Artifact
This guide has the assumption that you followed the Creating a Jinja Rendered File (Transform) or Creating a Python transform guide. This is a prerequisite.
📄️ Database backup and restore
This is a guide on how to backup and restore your database using an Infrahub command line tool.
📄️ Managing API tokens
API tokens can be used as an authentication mechanism for Infrahub's REST- and GraphQL API, the Python SDK and infrahubctl.
📄️ Creating an Object Template
This guide provides a structured approach to defining an object template and creating object instances based on that template.
📄️ Creating and assigning profiles
In this tutorial we will be creating a Profile for a network device interface, and then create multiple interfaces using that profile.
📄️ Using the object-storage
In this guide we will be showing you how you can store and retrieve objects or files in Infrahub's object-storage.
📄️ Configuring Single sign-on
In Infrahub you can configure SSO using either Open ID Connect (OIDC) or can use OAuth2.
📄️ Creating a Check
Creating a Check
📄️ Upgrade Infrahub
Community
📄️ Creating a webhook
Infrahub support two different types of webhooks: