How deepanshudixit/100-days-nbot works
Project type and purpose
• This is a self-guided, full-stack network-automation training repository built around Nautobot (a Django-based Source-of-Truth and automation platform).
• It bundles:
• A Docker-based development container environment (.devcontainer)
• A containerlab (clab) network-emulation topology
• A sample Nautobot database (Lab_Setup/database_files)
• 100 daily modules, each with README + images for progressive tutorials
File structure
• Top-level “.devcontainer”: VS Code remote-container definitions.
• “Lab_Setup”: SQL seed DB + setup instructions.
• “clab”: containerlab YAML + device configs (bos-acc, bos-rtr, nyc-acc, nyc-rtr).
• “DayXXX_…” folders: static training content (not part of runtime).
• “postCreate.sh”: bootstrap script after container creation.
Extract architecture hints from the README
• Focus is on Nautobot Jobs & Apps (Python code injected into a running Nautobot instance).
• Learners write Django models, views, templates, Jobs that exercise the ORM, REST API, UI.
• External integrations: Ansible, NIST NVD (CVE data), Git for sharing.
Main runtime components
a. Developer Machine (VS Code Client)
b. Devcontainer Environment
• Docker/Compose or single Dockerfile container running:
– Nautobot (Django app + plugins)
– PostgreSQL (Seeded by nauto-bot-demo.sql)
– Redis (caching, optional)
• postCreate.sh configures the container on first launch
c. containerlab Network Lab (“clab”)
• Four virtual devices (bos-acc-01, bos-rtr-01, nyc-acc-01, nyc-rtr-01)
• Emulated under the same host or in sibling containers
d. External Services
• NIST NVD API (for CVE Challenge parts)
• GitHub / Slack / Email (for social-learning feedback loop)
Relationships & data flows
• Developer Machine → (SSH/HTTP) → Devcontainer
• Devcontainer ↔ PostgreSQL (ORM read/write)
• Devcontainer ↔ Redis (cache)
• Devcontainer/Jobs → CLI/NETCONF/RESTCONF → clab Devices
• Nautobot REST API → UI (Browser)
• Jobs → HTTP calls → NIST NVD API
• Git operations → GitHub
Architectural patterns
• Monolithic Django application with plugin architecture (Nautobot Apps & Jobs).
• MVC (Models = ORM, Views = REST + UI, Templates = HTML panels).
• Infrastructure-as-Code: containerlab defines the network topology.
• Dev-container pattern for reproducible dev environment.
• External-integration pattern (Ansible + external REST).