How zxlawdx/acess_manager works
ZTE Automatic is a desktop support application for connecting to ONTs, inspecting device/network state, diagnosing service issues, and applying verified configuration changes. Its main workflow runs from the SPA through the internal API to ZTEService, which selects a device-specific adapter and protocol client, then records sessions and changes. Distinct branches cover automated support diagnostics and reports, attendant profiles, and fleet/management operations. README capabilities not tied to sampled call sites are represented as documented subsystem scope; uncertain internal links are omitted.
Main entry points: zte_service.py ZTE service · api API routes · huawei_service.py Huawei service · zte.py ZTE device model
Components 23
Desktop interface
- Support SPA
apps/zte_manager/static/js/app.js - API client
apps/zte_manager/static/js/core/api_client.js
API and services
- API routes
apps/zte_manager/presentation/api - Device service
apps/zte_manager/services/device_service.py - ZTE service
apps/zte_manager/services/zte_service.py - Profile service
apps/zte_manager/services/profile_service.py - Profile repository
apps/zte_manager/repositories/profile_repository.py
Device access
- Device adapters
apps/zte_manager/model/device_adapters - Firmware policy
apps/zte_manager/infrastructure/zte/firmware_policy.py - ZTE device model
apps/zte_manager/model/zte.py - ThinkLua adapter
apps/zte_manager/infrastructure/zte/adapters/thinklua_device.py - Huawei service
apps/zte_manager/services/huawei_service.py - Huawei clients
apps/zte_manager/infrastructure/huawei
Diagnostics and history
- Automatic diagnostics
apps/zte_manager/services/automatic_diagnostic_service.py - Support diagnostics
apps/zte_manager/services/support_diagnostic_service.py - Speed tests
apps/zte_manager/services/speed_test_service.py - Attendance report
apps/zte_manager/services/attendance_report_service.py - Session history
apps/zte_manager/repositories/history_repository.py
Management operations
- CPE management
apps/zte_manager/services/cpe_management_service.py - Management store
apps/zte_manager/repositories/management_repository.py - TR-069 profiles
apps/zte_manager/services/tr069_profile_service.py
Other components
- Support attendant
- ZTE/Huawei ONT
Connections 24
- Support attendant → Support SPA: uses
- Support SPA → API client: issues requests
- API client → API routes: calls API
- API routes → Device service: routes device calls
- Device service → ZTE service: delegates
- ZTE service → Device adapters: selects adapter
apps/zte_manager/services/zte_service.py - Device adapters → Firmware policy: checks policy
- ZTE service → ZTE device model: uses device model
apps/zte_manager/services/zte_service.py - ThinkLua adapter → ZTE device model: delegates
apps/zte_manager/infrastructure/zte/adapters/thinklua_device.py - ZTE service → ThinkLua adapter: dispatches
apps/zte_manager/services/zte_service.py - ZTE service → Huawei service: dispatches
- Huawei service → Huawei clients: uses clients
apps/zte_manager/services/huawei_service.py - ZTE device model → ZTE/Huawei ONT: reads and writes
- Huawei clients → ZTE/Huawei ONT: HTTP protocol
apps/zte_manager/infrastructure/huawei/family_client.py - API routes → Profile service: routes profiles
- Profile service → Profile repository: reads and writes
apps/zte_manager/services/profile_service.py - API routes → Automatic diagnostics: starts diagnostics
- Support diagnostics → Automatic diagnostics: composes
apps/zte_manager/services/support_diagnostic_service.py - Support diagnostics → Speed tests: runs tests
apps/zte_manager/services/support_diagnostic_service.py - Automatic diagnostics → Attendance report: feeds report
- ZTE service → Session history: records sessions
apps/zte_manager/services/zte_service.py - API routes → CPE management: routes operations
- CPE management → Management store: persists records
apps/zte_manager/services/cpe_management_service.py - Huawei service → TR-069 profiles: uses profiles
apps/zte_manager/services/huawei_service.py