Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 26-Jul-2024 | - | ||||
LICENSE | H A D | 07-Mar-2021 | 551 | 15 | 10 | |
README.md | H A D | 08-Dec-2022 | 1.1 KiB | 42 | 29 | |
sensor_map.yaml | H A D | 08-Dec-2022 | 37.3 KiB | 970 | 969 | |
sensor_yaml_config.py | H A D | 05-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 10 - To sort the yaml config: 11 12 ```sh 13 sensor_yaml_config.py -i <input.yaml> -o <output.yaml> 14 ``` 15 16 - To add the missing enityID, entityInstance, and sensorNamePattern: 17 18 ```sh 19 sensor_yaml_config.py -i <input.yaml> -o <output.yaml> -f 20 ``` 21 22 - To add missing core/dimm temperature sensors based on RPT (generated by 23 OpenPOWER op-build): 24 25 ```sh 26 sensor_yaml_config.py -i <input.yaml> -o <output.yaml> -f -r <machine.rpt> 27 ``` 28 29 - To generate a sensor map from example yaml config, which could be used for 30 future: 31 32 ```sh 33 sensor_yaml_config.py -i <sample.yaml> -o <sensor_map.yaml> -g 34 ``` 35 36 - To generate a DCMI sensor json config, which is used by 37 phosphor-ipmi-config: 38 39 ```sh 40 sensor_yaml_config.py -i <input.yaml> -o <output.json> -d 41 ``` 42