How pnetlab/pnetlab_main works
High-Level Architecture Components
a. Core System Layers:
• Frontend Layer (React-based UI)
• Backend Layer (Dual architecture: Legacy API + Laravel)
• Device Management Layer
• Storage Layer
b. Key Subsystems:
• Authentication System
• Lab Management System
• Device Emulation System
• Template Management System
• Configuration Management
Detailed Component Breakdown
a. Frontend Components:
• React Application (/store/resources/react)
• Theme System (/themes)
• Admin Interface
• Lab Interface
• Device Configuration Interface
b. Backend Services:
• Legacy API Controller (api.php)
• Laravel API Controllers (/store/app/Http/Controllers)
• Device Controllers
• Authentication Service
• Template Service
c. Device Management:
• QEMU Devices
• IOL Devices
• Docker Devices
• Dynamips Devices
• VPCS Devices
Data Flow Representation
Interactions between:
• User Interface → API Layer
• API Layer → Device Management
• Template System → Device Configuration
• Configuration Storage → Device Execution
Integration Points
Highlight:
• Template Integration
• Device Driver Integration
• Console Access Methods
• Storage System Integration
Key Design Elements
Use these visual elements:
Specific Implementation Details
Include:
• Template file location (/templates)
• Device implementation files (/devices)
• Configuration storage paths
• API endpoints structure