How itachiuch1haa/nautobot-day2-v2 works
nautobot-day2 is a Nautobot app for customer/site onboarding, multi-vendor network-data sync, shadow-IP reconciliation, and ad-hoc device troubleshooting. The principal path is an engineer using the web wizard to collect and validate tenant/site/device data, create Nautobot records, then trigger a sync Job that fans out per-device work. ChatOps and conversational MCP provide additional onboarding and sync entry points; the Agent Broker is a separate troubleshooting flow. README documents these capabilities, while some internal links below are limited to sampled excerpts or SOURCE INDEX references.
Main entry points: upload_app.py Web wizard · tools_schema.py Onboarding tools · sync_network_data.py Vendor sync engine · core.py Broker command core
Components 34
Site onboarding
- Web wizard
nautobot_day2/onboarding/upload_app.py - Tenant setup
nautobot_day2/onboarding/create_tenant.py - Vendor matrix
nautobot_day2/onboarding/vendor_matrix.py - Credential validation
nautobot_day2/onboarding/vendor_test_app.py - Nautobot preparation
nautobot_day2/onboarding/nautobot_prepare.py - Device provisioning
nautobot_day2/onboarding/nautobot_onboard_v2.py - Nautobot REST client
nautobot_day2/client.py - ChatOps commands
nautobot_day2/chatops/worker.py - CLI onboarding
nautobot_day2/onboarding/onboard_cli.py
Network sync
- Sync Jobs
nautobot_day2/jobs/sync_network_data_job.py - Mist sync Job
nautobot_day2/jobs/mist_sync.py - Device tasks
nautobot_day2/tasks.py - Site concurrency cap
nautobot_day2/concurrency.py - Vendor sync engine
nautobot_day2/onboarding/sync_network_data.py - OpenBao credentials
nautobot_day2/openbao_client.py
Shadow IP
- Shadow-IP Jobs
nautobot_day2/shadow_ip/jobs - Shadow IP mapping
nautobot_day2/shadow_ip/shadow_math.py - Shadow custom fields
nautobot_day2/shadow_ip/custom_fields.py - FortiGate VIPs
nautobot_day2/shadow_ip/integrations/fortigate_client.py
Agent Broker
- Broker REST API
nautobot_day2/broker/api_server.py - Broker MCP API
nautobot_day2/broker/mcp_server.py - Broker command core
nautobot_day2/broker/core.py
Conversational onboarding
- Onboarding MCP server
nautobot_day2/onboarding_mcp/server.py - Onboarding tools
nautobot_day2/onboarding_mcp/tools_schema.py - Session state machine
nautobot_day2/onboarding_mcp/session/state_machine.py - Device intake
nautobot_day2/onboarding_mcp/intake - Controller adapters
nautobot_day2/onboarding_mcp/controllers - Nautobot deployer
nautobot_day2/onboarding_mcp/deploy/nautobot_deployer.py
Other components
- Network engineer
- Nautobot
- ChatOps user
- Network devices
- External agent
- Onboarding agent
Connections 40
- Network engineer → Web wizard: uses
README.md - Web wizard → Tenant setup: creates profile
nautobot_day2/onboarding/upload_app.py - Web wizard → Vendor matrix: uses choices
nautobot_day2/onboarding/upload_app.py - Web wizard → Credential validation: validates credentials
README.md - Web wizard → Nautobot preparation: prepares data
nautobot_day2/onboarding/upload_app.py - Web wizard → Device provisioning: deploys devices
nautobot_day2/onboarding/upload_app.py - Device provisioning → Nautobot REST client: calls API
nautobot_day2/onboarding/nautobot_onboard_v2.py - Nautobot REST client → Nautobot: reads and writes
nautobot_day2/client.py - Web wizard → Nautobot: triggers sync Job
README.md - ChatOps user → ChatOps commands: uses
README.md - ChatOps commands → Sync Jobs: enqueues Job
nautobot_day2/chatops/worker.py - Network engineer → CLI onboarding: uses
README.md - CLI onboarding → Vendor sync engine: runs directly
README.md - Nautobot → Sync Jobs: runs Job
README.md - Sync Jobs → Device tasks: fans out tasks
README.md - Device tasks → Site concurrency cap: limits site work
nautobot_day2/tasks.py - Device tasks → Vendor sync engine: syncs device
nautobot_day2/tasks.py - Vendor sync engine → OpenBao credentials: fetches credentials
nautobot_day2/openbao_client.py - Vendor sync engine → Network devices: collects network data
README.md - Vendor sync engine → Nautobot REST client: updates inventory
README.md - Nautobot → Mist sync Job: runs Job
README.md - Mist sync Job → Network devices: syncs Mist data
README.md - Nautobot → Shadow-IP Jobs: runs Jobs
README.md - Shadow-IP Jobs → Shadow IP mapping: maps addresses
- Shadow-IP Jobs → Shadow custom fields: reconciles fields
- Shadow-IP Jobs → FortiGate VIPs: checks VIP coverage
- External agent → Broker REST API: sends commands
README.md - External agent → Broker MCP API: sends commands
README.md - Broker REST API → Broker command core: dispatches request
nautobot_day2/broker/api_server.py - Broker MCP API → Broker command core: shares logic
README.md - Broker command core → Nautobot: looks up device
README.md - Broker command core → OpenBao credentials: fetches credential
README.md - Broker command core → Network devices: runs commands
README.md - Onboarding agent → Onboarding MCP server: uses tools
README.md - Onboarding MCP server → Onboarding tools: registers tools
nautobot_day2/onboarding_mcp/server.py - Onboarding tools → Session state machine: tracks session
- Onboarding tools → Device intake: collects devices
- Onboarding tools → Controller adapters: discovers APs
- Onboarding tools → Nautobot deployer: deploys site
- Nautobot deployer → Nautobot: creates records