Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
LICENSE | H A D | 16-Sep-2020 | 551 | 15 | 10 | |
README.md | H A D | 09-Jul-2025 | 1.1 KiB | 41 | 29 | |
sensor_map.yaml | H A D | 07-Dec-2022 | 37.3 KiB | 970 | 969 | |
sensor_yaml_config.py | H A D | 04-Dec-2022 | 12.5 KiB | 461 | 370 |
README.md
1# openbmc-utils 2 3- `upload_and_update.py` A tool to upload a tarball to TFTP server and update 4 BMC with it. **Note**: It uses legacy methods to update BMC so it may break in 5 future when the code update is refactored. 6 7- `sensor_yaml_config.py` A tool to help write IPMI sensor yaml config. 8 **Note**: This script requires python3.6 or above. 9 - To sort the yaml config: 10 11 ```sh 12 sensor_yaml_config.py -i <input.yaml> -o <output.yaml> 13 ``` 14 15 - To add the missing enityID, entityInstance, and sensorNamePattern: 16 17 ```sh 18 sensor_yaml_config.py -i <input.yaml> -o <output.yaml> -f 19 ``` 20 21 - To add missing core/dimm temperature sensors based on RPT (generated by 22 OpenPOWER op-build): 23 24 ```sh 25 sensor_yaml_config.py -i <input.yaml> -o <output.yaml> -f -r <machine.rpt> 26 ``` 27 28 - To generate a sensor map from example yaml config, which could be used for 29 future: 30 31 ```sh 32 sensor_yaml_config.py -i <sample.yaml> -o <sensor_map.yaml> -g 33 ``` 34 35 - To generate a DCMI sensor json config, which is used by 36 phosphor-ipmi-config: 37 38 ```sh 39 sensor_yaml_config.py -i <input.yaml> -o <output.json> -d 40 ``` 41