How jmorrison-juniper/misthelper works
MistHelper is a menu-driven Juniper Mist Cloud operations tool: an operator selects an operation, MistHelper gathers organization or device data and writes reports to files or databases, or runs a confirmed change such as a firmware upgrade. The repository also contains a separate operations platform and portal, an upgrade-capture portal, SSH tooling, and a Prometheus/SNMP metrics gateway. The graph preserves these documented capabilities; several links are documented in the README because their implementation files were not sampled.
Main entry points: MistHelper.py Operation menu · main.py Platform API · org_inventory_exporter.py Inventory export · audit.py Audit routes
Components 27
MistHelper operations
- Operation menu
MistHelper.py - Dependency resolver
src/config/source_dependency_resolver.py - Firmware operations
src/firmware/firmware_manager.py - Map operations
src/maps/maps_manager.py - Address audit
src/site/address_audit/audit_engine.py - Profile migration
src/device/ap_profile_migration_manager.py
Data and reporting
- Data collection
src/analytics/data_collection_manager.py - Inventory export
src/export/org_inventory_exporter.py - Data processing
src/data/data_processing_utils.py - Files and databases
Portals and metrics
- Web portal
web_portal/app.py - Webhook receiver
web_portal/routes/webhooks.py - Upgrade capture portal
src/upgrade_portal/api/run_controls/routes.py - Metrics gateway
src/metrics_gateway
Operations platform
- Platform API
mist-ops-platform/src/api/main.py - Request logging
mist-ops-platform/src/api/middleware/logging.py - Audit routes
mist-ops-platform/src/api/routes/audit.py - Platform settings
mist-ops-platform/src/shared/config/settings.py - Configuration model
mist-ops-platform/src/shared/models/config.py - Governance model
mist-ops-platform/src/shared/models/governance.py - Operations model
mist-ops-platform/src/shared/models/operations.py - Deployment tasks
mist-ops-platform/src/worker/tasks/deploy_tasks.py - Sync tasks
mist-ops-platform/src/worker/tasks/sync_tasks.py
Remote access
- SSH operations
src/ssh/ssh_runner_manager.py
Other components
- Network operator
- Mist Cloud API
- Managed devices
Connections 25
- Network operator → Operation menu: selects operation
README.md - Operation menu → Mist Cloud API: reads or changes
README.md - Operation menu → Data collection: runs operation
- Data collection → Inventory export: uses exporter
src/analytics/data_collection_manager.py - Inventory export → Data processing: uses processing
src/export/org_inventory_exporter.py - Inventory export → Files and databases: writes output
README.md - Operation menu → Firmware operations: dispatches upgrade
- Firmware operations → Mist Cloud API: upgrades devices
README.md - Network operator → Address audit: runs audit
src/site/address_audit/audit_engine.py - Address audit → Mist Cloud API: reads inventory
src/site/address_audit/audit_engine.py - Network operator → Map operations: uses maps
src/maps/maps_manager.py - Network operator → Profile migration: confirms change
src/device/ap_profile_migration_manager.py - Profile migration → Mist Cloud API: updates profiles
- Network operator → Web portal: uses portal
README.md - Web portal → Webhook receiver: registers receiver
web_portal/app.py - Network operator → Upgrade capture portal: captures upgrades
README.md - Network operator → Metrics gateway: scrapes metrics
README.md - Network operator → Platform API: uses platform
- Platform API → Audit routes: registers routes
mist-ops-platform/src/api/main.py - Platform API → Request logging: configures middleware
mist-ops-platform/src/api/main.py - Platform API → Platform settings: loads settings
mist-ops-platform/src/api/main.py - Audit routes → Governance model: uses model
mist-ops-platform/src/api/routes/audit.py - Audit routes → Operations model: uses model
mist-ops-platform/src/api/routes/audit.py - Network operator → SSH operations: runs commands
README.md - SSH operations → Managed devices: executes remotely
README.md