Skip to content

Commit

Permalink
RESTful API interface to the OCC pass through interface.
Browse files Browse the repository at this point in the history
rest_api.py -h gives the following output:

usage: rest_api.py [-h] [-H HOST_IP] [-i] [-d] [-c] {p,s,q} ...

Amester Script utilizing OpenBMC OCC Pass Thru

positional arguments:
  {p,s,q}
    p                   get parameter list from OCC
    s                   get sensor list from OCC
    q                   quit

optional arguments:
  -h, --help            show this help message and exit
  -H HOST_IP, --host_ip HOST_IP
                        hostname or IP of BMC, default is w56
  -i, --interactive     Run Amester Script in interactive mode
  -d, --debug           print debugging/trace information
  -c, --csv             display sensor/parameter readings in
                        compact csv format

Change-Id: Ia203bd91e45f261209db5dc9599a427d193ef828
RTC: 172524
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42064
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Wael El-Essawy <welessa@us.ibm.com>
  • Loading branch information
essawy committed Jun 30, 2017
1 parent 6a00709 commit cfb296e
Showing 1 changed file with 793 additions and 0 deletions.

0 comments on commit cfb296e

Please sign in to comment.