Source of Truth Integration
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Designing, Deploying and Managing Network Automation Systems premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- What a source of truth is, and what it is not
- Intended versus actual: detecting and fixing drift
- One authoritative system per data domain
- NetBox: a DCIM/IPAM source of truth
- NetBox in the pipeline: dynamic inventory and webhooks
- Nautobot: a source of truth with automation inside
- Reading Nautobot: one GraphQL query, not N REST calls
- Golden Config: the intended-versus-actual loop
NetBox and Nautobot as the source of truth
| Capability | NetBox | Nautobot |
|---|---|---|
| What it is | Open-source DCIM/IPAM source of truth | NetBox-derived SoT plus automation platform |
| Data model | Sites, devices, interfaces, prefixes, VLANs | Same model (forked from NetBox) |
| Read APIs | REST and GraphQL | REST and GraphQL |
| API auth | Token in an Authorization: Token header | Token, or direct ORM access from a Job |
| Ansible inventory | nb_inventory dynamic inventory | Dynamic inventory (same pattern) |
| React to change | Webhook on create/update/delete | Webhook, plus native Jobs (Job Hooks) |
| In-platform automation | External tools only | Native Jobs engine (Python via the ORM) |
| Config compliance | Add external tooling | Golden Config: intended-vs-actual diff and remediation |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
References
- Ansible builtin template module (renders a Jinja2 template to a file)
- Ansible playbook templating with Jinja2
- Terraform state (authoritative record of managed resources)
- terraform plan (reads real-world state, shows differences from configuration)
- Git — About Version Control
- Requests: custom headers (Authorization header dictionary)
- RFC 9110 HTTP Semantics — GET method (safe, read-only) Whitepaper
- netbox.netbox.nb_inventory — NetBox dynamic inventory source
- Ansible dynamic inventory (build inventory at run time)
- GitLab CI/CD pipeline trigger tokens (POST to start a pipeline)