feat: offline mode with JSON export/import

Collect VMs and switch data without NetBox, export them to a
credential-free .nbsync.json file and import it later where NetBox is
reachable. Toggled by a global sidebar checkbox.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-10-21 09:16:01 +02:00
1 parent c3b5fb547e
commit 52f1e4b5f1
14 files changed
+437 -33

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ DEFAULT_SETTINGS = {
"parallel_ssh": 4, # concurrent switch discoveries
"enable_lldp": False, # allow configuration changes on switches
"create_cables": True,
"offline_mode": False, # collect and export to JSON without NetBox
}
log = logging.getLogger(__name__)