Skip to content

RDKCOM-5479: RDKBDEV-3321 Add CcspLMLite Documentation#31

Open
raslam930 wants to merge 1 commit intordkcentral:developfrom
raslam930:feature/RDKBDEV-3321
Open

RDKCOM-5479: RDKBDEV-3321 Add CcspLMLite Documentation#31
raslam930 wants to merge 1 commit intordkcentral:developfrom
raslam930:feature/RDKBDEV-3321

Conversation

@raslam930
Copy link
Copy Markdown

[https://jira.rdkcentral.com/jira/browse/RDKBDEV-3321]
Reason for Change:
To add Component Documentation for CcspLMLite
Fix:
Added the documentation
Test Procedure:
None
Signed-off-by: Raheen Aslam [raheen_aslam@comcast.com]

@raslam930 raslam930 requested review from a team as code owners December 4, 2025 11:51
@pradeeptakdas pradeeptakdas changed the title RDKBDEV-3321: Add CcspLMLite Documentation RDKCOM-5479: RDKBDEV-3321 Add CcspLMLite Documentation Dec 8, 2025
@AkhilaReddyK7 AkhilaReddyK7 added the community-contribution Contribution from community label Mar 17, 2026
@AkhilaReddyK7 AkhilaReddyK7 added the documentation Improvements or additions to documentation label Apr 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a comprehensive Markdown documentation page for the CcspLMLite (LAN Manager Lite) component, covering architecture, TR-181 data models, module breakdown, and interaction/call flows.

Changes:

  • Introduces a new top-level README.md with detailed component documentation.
  • Adds multiple Mermaid diagrams (architecture, state flow, call flows) to visualize behavior and integrations.
  • Documents supported TR-181 objects/parameters and key internal modules/interactions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
# CcspLMLite Documentation

CcspLMLite (LAN Manager Lite) is the RDK-B component responsible for managing and monitoring LAN-side network devices and hosts connected to the gateway. This component serves as the primary interface for discovering, tracking, and reporting network connectivity status, device information, and traffic analytics for connected devices across WiFi, Ethernet, and MoCA interfaces. LMLite provides comprehensive host management capabilities including device discovery, presence detection, network traffic monitoring, and telemetry reporting. It implements TR-181 data model parameters for hosts management and integrates with WebPA for cloud-based management and monitoring. CcspLMLite acts as a centralized hub for collecting network device information from various sources and presenting a unified view through standardized TR-181 interfaces.

Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a top-level README.md will become the repository’s default landing page on GitHub and may effectively hide the existing build/usage instructions currently in the README file. Consider either migrating/linking the build instructions here (or adding a prominent link to README) so readers can still find them easily.

Suggested change
> **Build and usage instructions:** If you are looking for setup, build, and usage information, see the legacy [`README`](README) file.

Copilot uses AI. Check for mistakes.
Comment thread README.md
subgraph ReportsModule ["Network Reports & Analytics"]
ReportsInternal[Reports Module]
NDStatus[NW Device Status]
NDTraffic[NW Device Traffix]
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in the Mermaid node label: NW Device Traffix should be NW Device Traffic.

Suggested change
NDTraffic[NW Device Traffix]
NDTraffic[NW Device Traffic]

Copilot uses AI. Check for mistakes.
Comment thread README.md
* **Systemd Services**: `CcspCrSsp.service`, `CcspPsmSsp.service` must be active before `CcspLMLite.service` starts
* **Message Bus**: RBus registration under `com.cisco.spvtg.ccsp.lmlite` namespace for performance optimization and inter-component communication
* **TR-181 Data Model**: `Device.Hosts` object hierarchy and `Device.ManagementServer.ManageableDevice` support for device management and reporting
* **Configuration Files**: `LMLite.xml` for TR-181 parameter definitions; component configuration files located in `/usr/ccsp/lmlite/`
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docs refer to LMLite.xml, but the repository config file is config/LMLite.XML (different casing/extension). For accuracy (and to avoid confusion on case-sensitive filesystems), please update the filename in the documentation to match the actual file name/path used by this repo.

Suggested change
* **Configuration Files**: `LMLite.xml` for TR-181 parameter definitions; component configuration files located in `/usr/ccsp/lmlite/`
* **Configuration Files**: `config/LMLite.XML` for TR-181 parameter definitions; component configuration files located in `/usr/ccsp/lmlite/`

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +323 to +328
| **RDK-B Middleware Components** |
| CcspPandM | TR-181 parameter registration and access control, configuration management | `registerCapabilities`, `getParameterValues`, `setParameterValues` |
| OneWifi | WiFi device association/disassociation events, wireless client enumeration | `Device.WiFi.AccessPoint.{i}.AssociatedDevice.{i}.*`, WiFi HAL callbacks |
| CcspMoCAAgent | MoCA network topology changes, node status updates, device discovery | `Device.MoCA.Interface.{i}.AssociatedDevice.{i}.*` |
| CcspPsm | Persistent device information storage, configuration parameter backup | `PSM_Set_Record_Value2()`, `PSM_Get_Record_Value2()` |
| **System & HAL Layers** |
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The “Interaction Matrix” table has header/group rows like | **RDK-B Middleware Components** | and | **System & HAL Layers** | that don’t include the same number of columns as the table header, which breaks GitHub Markdown table rendering. Use a consistent 3-column row format (e.g., add empty cells) or split the matrix into separate tables/sections.

Suggested change
| **RDK-B Middleware Components** |
| CcspPandM | TR-181 parameter registration and access control, configuration management | `registerCapabilities`, `getParameterValues`, `setParameterValues` |
| OneWifi | WiFi device association/disassociation events, wireless client enumeration | `Device.WiFi.AccessPoint.{i}.AssociatedDevice.{i}.*`, WiFi HAL callbacks |
| CcspMoCAAgent | MoCA network topology changes, node status updates, device discovery | `Device.MoCA.Interface.{i}.AssociatedDevice.{i}.*` |
| CcspPsm | Persistent device information storage, configuration parameter backup | `PSM_Set_Record_Value2()`, `PSM_Get_Record_Value2()` |
| **System & HAL Layers** |
| **RDK-B Middleware Components** | | |
| CcspPandM | TR-181 parameter registration and access control, configuration management | `registerCapabilities`, `getParameterValues`, `setParameterValues` |
| OneWifi | WiFi device association/disassociation events, wireless client enumeration | `Device.WiFi.AccessPoint.{i}.AssociatedDevice.{i}.*`, WiFi HAL callbacks |
| CcspMoCAAgent | MoCA network topology changes, node status updates, device discovery | `Device.MoCA.Interface.{i}.AssociatedDevice.{i}.*` |
| CcspPsm | Persistent device information storage, configuration parameter backup | `PSM_Set_Record_Value2()`, `PSM_Get_Record_Value2()` |
| **System & HAL Layers** | | |

Copilot uses AI. Check for mistakes.
Comment thread README.md
Comment on lines +413 to +414
| `lmlite.conf` | Runtime configuration parameters and operational settings | Environment variables, systemd overrides |
| `presence_detection.ini` | Advanced presence detection algorithm parameters | TR-181 parameter interface, configuration API |
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lmlite.conf and presence_detection.ini are listed as key configuration files, but they don’t appear anywhere in this repository (no config/ entries and no references in source/build scripts). Either add them (if they are part of this component), or clarify that they are platform/integration-specific files that are not shipped/maintained in this repo.

Suggested change
| `lmlite.conf` | Runtime configuration parameters and operational settings | Environment variables, systemd overrides |
| `presence_detection.ini` | Advanced presence detection algorithm parameters | TR-181 parameter interface, configuration API |
| `lmlite.conf` | Platform/integration-specific runtime configuration, when provided by the target deployment | Environment variables, init/systemd/service-layer overrides |
| `presence_detection.ini` | Platform/integration-specific presence-detection tuning parameters, when supported by the target deployment | TR-181 parameter interface, vendor/platform configuration APIs |
> **Note:** `lmlite.conf` and `presence_detection.ini` are not shipped or maintained in this repository as standalone configuration files. When used, they are typically supplied by downstream platform integration, packaging, or deployment layers.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

@GoutamD2905 GoutamD2905 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raslam930 Please address all Copilot review comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Contribution from community documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants