Infrahub Schema Tutorial
In the world of Network Automation, Infrahub is leading the way with a new source of truth. Infrahub Schema allows you taking all the best bits of source of truths that have come before and adding something that none of them have. Customisable Schema. You customise this new tool exactly how you want it to operate.
Unlike Netbox where the Data Models & Schema are defined from the start, with Infrahub you can create your own custom Schema. This provides a positive and a negative. Let’s first address the negative, unlike Netbox where with a clean install you are faced with all the options for adding devices, with Infrahub you have very little. This can be a bit overwhelming for some people.
On the positive side if you know what you want and you know how to do it, creating your own Schema is a very powerful feature.
Once you have installed Infrahub your first screen looks very bare compared to a clean install of Netbox.
Infrahub Schema Example
If you are not ready to write your own schema yet, Infrahub have a “Schema Library” where you can try out some schemas to get you started.
For the rest of this post I will walk through the steps of how to install a schema into Infrahub.
Infrahub Schema Update
To be able to update your Infrahub Schema you will need the Infrahubctl – this is the CLI tool that will allow you to interact with Infrahub.
Leave a Reply