How rdkcentral/vlan-manager works
RdkVlanBridgingManager is a CCSP/TR-181 component for managing Ethernet links and VLAN interfaces on RDK devices. Its main workflow is to load VLAN configuration, expose and update Ethernet/VLAN data-model entries, then apply interface changes through networking APIs. The excerpts support the daemon/message-bus startup, data-model handlers, configuration loading, and parts of interface creation; wiring for unsampled plugin and HAL internals is left out. The README provides no further product description.
Main entry points: ethernet_apis.c Ethernet Operations · plugin_main.c TR-181 Plugin · vlan_apis.c VLAN Operations · ssp_main.c Manager Daemon
Components 17
CCSP Runtime
- Manager Daemon
source/RdkVlanManager/ssp_main.c - Message Bus
source/RdkVlanManager/ssp_messagebus_interface.c - Component Actions
source/RdkVlanManager/ssp_action.c
TR-181 Data Model
- TR-181 Plugin
source/TR-181/middle_layer_src/plugin_main.c - Plugin APIs
source/TR-181/middle_layer_src/plugin_main_apis.c - VLAN Data Model
source/TR-181/middle_layer_src/vlan_dml.c - Ethernet Data Model
source/TR-181/middle_layer_src/ethernet_dml.c
Interface Management
- VLAN Operations
source/TR-181/middle_layer_src/vlan_apis.c - Ethernet Operations
source/TR-181/middle_layer_src/ethernet_apis.c - VLAN Ethernet HAL
source/TR-181/middle_layer_src/vlan_eth_hal.c
Platform State
- VLAN Initialization
source/TR-181/middle_layer_src/vlan_internal.c - Persistent Config
- Platform HAL
- System Config
- System Events
Other components
- Management Client
- Linux Networking
Connections 18
- Management Client → Message Bus: manages
- Manager Daemon → Message Bus: connects
- Manager Daemon → Component Actions: starts
- Component Actions → TR-181 Plugin: engages
- TR-181 Plugin → Plugin APIs: registers
- TR-181 Plugin → VLAN Data Model: exposes
- TR-181 Plugin → Ethernet Data Model: exposes
- VLAN Data Model → VLAN Operations: reads status
- Ethernet Data Model → Ethernet Operations: reads status
- VLAN Initialization → Persistent Config: loads config
- VLAN Initialization → Platform HAL: reads region
- VLAN Operations → Ethernet Operations: uses link APIs
- VLAN Operations → VLAN Ethernet HAL: uses HAL
- VLAN Operations → System Events: reads WAN
- Ethernet Operations → Persistent Config: reads config
- Ethernet Operations → System Config: reads settings
- Ethernet Operations → Linux Networking: creates interfaces
- VLAN Ethernet HAL → Linux Networking: configures interfaces