RDKB-64575 : Move mesh script from Onewifi to meshAgent - #1306
Conversation
Reason for change: move meshAgent related scripts from Onewifi to meshAgent Test Procedure: validate these scripts are part of rootfs via mesh-agent receipe Risks: Low Priority: P1 Signed-off-by: mmanno374_comcast <MohammedArif_MannoppillyHassan@comcast.com>
There was a problem hiding this comment.
Pull request overview
This PR removes several meshAgent-related shell scripts from the OneWifi repository as part of migrating ownership of those scripts to the meshAgent component (per RDKB-64575), so they are expected to be delivered via the mesh-agent recipe/rootfs instead of OneWifi.
Changes:
- Deleted mesh backhaul/bridge configuration scripts (
mesh_setip.sh,meshapcfg.sh). - Deleted mesh status/telemetry helper script (
mesh_status.sh). - Deleted mesh MAC ACL helper and opensync manager wrapper script (
mesh_aclmac.sh,handle_mesh).
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| scripts/meshapcfg.sh | Removed mesh backhaul SSID/VLAN/AP configuration script from OneWifi. |
| scripts/mesh_status.sh | Removed periodic mesh status logging/telemetry script from OneWifi. |
| scripts/mesh_setip.sh | Removed mesh bridge IP/MTU configuration script from OneWifi. |
| scripts/mesh_aclmac.sh | Removed mesh backhaul MAC ACL management script from OneWifi. |
| scripts/handle_mesh | Removed opensync/mesh manager init wrapper script from OneWifi. |
Comments suppressed due to low confidence (1)
scripts/mesh_setip.sh:1
mesh_setip.shis removed from this repo, but/usr/ccsp/wifi/process_monitor_atom.shstill invokes/usr/ccsp/wifi/mesh_setip.sh(see scripts/process_monitor_atom.sh:946 in current tree). Unless the meshAgent recipe guarantees installing this script at the exact same path on all targets, this will cause the self-heal path to fail with "not found" and leave mesh bridge IPs unset. Please either (a) keep a thin wrappermesh_setip.shhere that forwards to the new meshAgent location, or (b) update the caller(s)/service integration to the new path and ensure the dependency is explicit.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (1)
scripts/mesh_setip.sh:1
- This script is being removed, but the codebase still invokes it at runtime: scripts/process_monitor_atom.sh:946 runs
sh /usr/ccsp/wifi/mesh_setip.shwhen mesh bridge IPs are missing. With this deletion and no replacement path in this repo, that self-heal path will fail unless meshAgent installs a compatible script at the same location (or the caller is updated). Please either (a) keep a compatibility wrapper here that delegates to the new meshAgent location, or (b) update the caller(s) to the new path and ensure it’s present in the rootfs.
|
@arifcep i do not see corresponding PR to mesh repository. Why? If this gets merged without this script already there, builds will break. |
Reason for change: move meshAgent related scripts from Onewifi to meshAgent
Test Procedure: validate these scripts are part of rootfs via mesh-agent receipe
Risks: Low
Priority: P1
Dependent changes
https://gerrit.teamccp.com/#/q/topic:mesh_script-26Q3_sprint+(status:open+OR+status:merged)
https://github.com/rdk-gdcs/mesh-agent/pull/23