Beyond the topics discussed in previous posts, my work on this project focused on four key areas: The data structure of Nautobot Nautobot’s
Beyond the topics discussed in previous posts, my work on this project focused on four key areas:
Let’s dive into the challenges encountered and the solutions omitted from previous posts.
Effectively using Nautobot requires careful planning of the data structure to avoid costly changes later. Understanding this structure allows for simplifications in automation scripts.
Each object in Nautobot is identified by a UUID, such as 2170a207-43b2-422a-a90d-51a4908b85fb. This choice allows any attribute to be changed without issues. Since the device identifier is a UUID and not a name, we must consider:
Quick tests reveal that the answer is no to both questions, allowing for safe simplifications in automation scripts.
Nautobot is built on Django , a Python-based web application framework. Django provides a shell for easy interaction with the data structure.
The decision had to be made whether to develop automations using the shell or the REST API.
The shell can be invoked using the command:
Continue reading the post on Patreon .