tree: 901ff3e3f1613946e776b79a15b3af4165f86e70 [path history] [tgz]
  1. LICENSE
  2. README.md
  3. sensor_map.yaml
  4. sensor_yaml_config.py
  5. upload_and_update.py
leiyu/obmc-utils/README.md

openbmc-utils

  • upload_and_update.py A tool to upload a tarball to TFTP server and update BMC with it. Note: It uses legacy methods to update BMC so it may break in future when the code update is refactored.

  • sensor_yaml_config.py A tool to help write IPMI sensor yaml config. Note: This script requires python3.6 or above.

    • To sort the yaml config:
    sensor_yaml_config.py -i <input.yaml> -o <output.yaml>
    
    • To add the missing enityID and entityInstance:
    sensor_yaml_config.py -i <input.yaml> -o <output.yaml> -e
    
    • To add missing core/dimm temperature sensors based on RPT (generated by OpenPOWER op-build):
    sensor_yaml_config.py -i <input.yaml> -o <output.yaml> -e -r <machine.rpt>
    
    • To generate a sensor map from example yaml config, which could be used for future:
    sensor_yaml_config.py -i <sample.yaml> -o <sensor_map.yaml> -g