How veno77/raisepon-2.0 works
RAISEPON is a PHP/MySQL management console and API for Raisecom GPON/GEPON OLTs and ONUs. Operators manage OLT/PON inventory, subscribers, service profiles and IP pools; the console uses SNMP for device status and provisioning, while scheduled jobs synchronize ONUs, collect graph data and back up configurations. The API exposes JWT-authenticated customer and service operations. The principal page and several domain classes are evidenced by excerpts or the source index; other documented capabilities are represented at their existing paths, with unverified wiring omitted.
Main entry points: customers_class.php Customer records · index.php ONU dashboard · JWT.php JWT encode and decode · db_connect_class.php Database connection
Components 28
Web console
- ONU dashboard
index.php - Session and navigation
common.php - OLT management
olt.php - PON management
pon.php
Subscriber domain
- Customer records
classes/customers_class.php - Service catalog
classes/services_class.php - Line profiles
classes/line_profile_class.php - Service profiles
classes/service_profile_class.php - IP pools
classes/ip_pool_class.php - Database connection
classes/db_connect_class.php
OLT integration
- SNMP OIDs
classes/snmp_class.php
Operations and API
- ONU synchronization
update_data.php - Automatic registration
update_auto.php - Graph collection
update_rrd.php - Network graphs
graphs.php - Backup job
update_backup.php - Backup management
classes/backup_class.php - Customer API
API/get_customers.php - Customer API writes
API/create_customer.php - Service API
API/get_services.php
JWT library
- JWT settings
API/config/core.php - JWT encode and decode
API/libs/php-jwt-master/src/JWT.php - Before-valid exception
API/libs/php-jwt-master/src/BeforeValidException.php - Expired exception
API/libs/php-jwt-master/src/ExpiredException.php - Signature exception
API/libs/php-jwt-master/src/SignatureInvalidException.php
Other components
- Operator
- Raisepon database
- Raisecom OLTs
Connections 36
- Operator → ONU dashboard: views
- ONU dashboard → Session and navigation: loads session
index.php - ONU dashboard → Customer records: deletes customers
index.php - ONU dashboard → SNMP OIDs: looks up OIDs
index.php - ONU dashboard → Raisecom OLTs: queries status
index.php - OLT management → Raisecom OLTs: manages OLTs
- PON management → Raisecom OLTs: manages ports
- Customer records → Database connection: uses connection
classes/customers_class.php - Customer records → SNMP OIDs: uses OIDs
classes/customers_class.php - Service catalog → Database connection: queries database
classes/services_class.php - Service catalog → Customer records: edits customers
classes/services_class.php - Service profiles → Database connection: queries database
classes/service_profile_class.php - Database connection → Raisepon database: connects to
classes/db_connect_class.php - IP pools → Database connection: uses connection
classes/ip_pool_class.php - IP pools → Customer records: checks customers
classes/ip_pool_class.php - ONU synchronization → Customer records: uses subscriber logic
- ONU synchronization → SNMP OIDs: uses OIDs
- ONU synchronization → Raisecom OLTs: synchronizes ONUs
- Automatic registration → Customer records: uses subscriber logic
- Automatic registration → Raisecom OLTs: detects illegal ONUs
- Graph collection → Customer records: uses subscriber data
update_rrd.php - Graph collection → SNMP OIDs: uses OIDs
update_rrd.php - Graph collection → Raisecom OLTs: collects metrics
- Network graphs → Graph collection: reads collected data
- Backup job → Backup management: runs backup logic
classes/backup_class.php - Backup job → Raisecom OLTs: backs up configuration
- Backup job → Raisepon database: backs up database
- Customer API → JWT settings: loads settings
API/get_customers.php - Customer API → JWT encode and decode: validates token
API/get_customers.php - Customer API → Customer records: reads customers
API/get_customers.php - Customer API writes → JWT encode and decode: validates token
API/create_customer.php - Customer API writes → Customer records: creates customer
API/create_customer.php - Service API → Service catalog: reads services
API/get_services.php - JWT encode and decode → Signature exception: throws
API/libs/php-jwt-master/src/JWT.php - JWT encode and decode → Expired exception: throws
API/libs/php-jwt-master/src/JWT.php - JWT encode and decode → Before-valid exception: throws
API/libs/php-jwt-master/src/JWT.php