commit | 6a16d70b4aebda7299e33f44843f5af706745cf1 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Wed May 01 13:48:39 2019 -0500 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Mon May 06 11:04:52 2019 -0500 |
tree | 5f7d7595d7aeb315f6765c49c6367a571dc52711 | |
parent | f89e6f6e8ed7edbe6713a700ec82fe67ffec6bc1 [diff] |
FieldMode: Add NotAllowed error The FieldMode property is a one-way property, add support to return a NotAllowed error when it's requested to be cleared. Tested: Verify an error is created when a value of 0 was requested via curl -b cjar -k -H "X-Auth-Token: $sha" -X PUT -d '{"data":0}' https://$bmc/xyz/openbmc_project/software/attr/FieldModeEnabled Change-Id: I7121026f3dd63eef5a14e4b932ae7649e3c273e6 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>