Skip to content

[Nexthop][M4062nhp] Add service configs#1375

Open
anna-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:anna-nexthop.m4062nhp-service-configs
Open

[Nexthop][M4062nhp] Add service configs#1375
anna-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:anna-nexthop.m4062nhp-service-configs

Conversation

@anna-nexthop

Copy link
Copy Markdown
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Add the remaining platform-service configs for the M4062NHP platform:

  • sensor_service.json — sensor source paths, types, and thresholds consumed by sensor_service
  • fan_service.json — fan control zones (PWM/RPM sysfs paths, PID/setpoints) consumed by fan_service
  • led_manager.json — system and per-FRU LED sysfs paths plus presence detection consumed by data_corral_service
  • fw_util.json — firmware version/programming entries consumed by fw_util

weutil and platform_manager are already served by the committed platform_manager.json.

Test Plan

Each JSON parses and conforms to its platform config thrift type. Schema validity is enforced at config_lib build time, where ConfigGenerator runs the per-service ConfigValidator (and CrossConfigValidator) over every committed config. Additionally, commands sensor_service_client, weutil --all, fw_util all return the expected output.

Add the remaining platform-service configs for the M4062NHP platform:
- sensor_service.json — sensor source paths, types, and thresholds
consumed by sensor_service
- fan_service.json — fan control zones (PWM/RPM sysfs paths,
PID/setpoints) consumed by fan_service
- led_manager.json — system and per-FRU LED sysfs paths plus presence
detection consumed by data_corral_service
- fw_util.json — firmware version/programming entries consumed by
fw_util

weutil and platform_manager are already served by the committed
platform_manager.json.

Test Plan:
Each JSON parses and conforms to its platform config thrift type. Schema
validity is enforced at config_lib build time, where ConfigGenerator
runs the per-service ConfigValidator (and CrossConfigValidator) over
every committed config. Additionally, commands `sensor_service_client`,
`weutil --all`, `fw_util` all return the expected output.
@meta-cla meta-cla Bot added the CLA Signed label Jul 10, 2026
@anna-nexthop anna-nexthop changed the title [Nexthop][M4062NHP] Add service configs [Nexthop][M4062nhp] Add service configs Jul 10, 2026
@anna-nexthop anna-nexthop marked this pull request as ready for review July 10, 2026 23:15
@anna-nexthop anna-nexthop requested a review from a team as a code owner July 10, 2026 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant