PowerSupply Redundancy remove old methods
getvalue and setvalue were methods defined in skeleton.
Backward compatibility was maintained in phosphor-rest-server
but was not in bmcweb. Since bmcweb is the default webserver,
remove this.
Change-Id: I5811ec912afd19cd58804a202e3181c03c6b6469
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/REST-cheatsheet.md b/REST-cheatsheet.md
index a27f3b3..d31ae73 100644
--- a/REST-cheatsheet.md
+++ b/REST-cheatsheet.md
@@ -184,24 +184,11 @@
- Read:
```
- $ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy/action/getValue -d '{"data": []}'
- ```
-
- or
-
- ```
$ curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/xyz/openbmc_project/control/power_supply_redundancy
```
- Write (Enable/Disable):
```
- $ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy/action/setValue -d '{"data": ["Enabled"]}'
- $ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X POST https://${bmc}/xyz/openbmc_project/sensors/chassis/PowerSupplyRedundancy/action/setValue -d '{"data": ["Disabled"]}'
- ```
-
- or
-
- ```
$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT https://${bmc}/xyz/openbmc_project/control/power_supply_redundancy/attr/PowerSupplyRedundancyEnabled -d '{"data": 1}'
$ curl -k -H "X-Auth-Token: $token" -H "Content-Type: application/json" -X PUT https://${bmc}/xyz/openbmc_project/control/power_supply_redundancy/attr/PowerSupplyRedundancyEnabled -d '{"data": 0}'
```