diff options
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2016-11-29 11:30:54 +0530 |
---|---|---|
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | 2016-11-30 10:40:43 +0530 |
commit | d9751fa999da6d0fa5b8f4a79e8aa23bb15af85e (patch) | |
tree | c336c0dee84e24f6b6881613bb2005b404567038 /xyz/openbmc_project/Led | |
parent | 3b51bc714995cc6471d38668c75f7854ef4e374f (diff) | |
download | phosphor-dbus-interfaces-d9751fa999da6d0fa5b8f4a79e8aa23bb15af85e.tar.gz phosphor-dbus-interfaces-d9751fa999da6d0fa5b8f4a79e8aa23bb15af85e.zip |
Led.Physical: Wrap yaml reserved words within single quote
This interface definition file has ENUM with values Off and On.
This resulted in generated code creating the ENUM with values False and True
instead of Off and On. This is specific to pyyaml parser.
Change-Id: Id824ca1d594c533593264a6dd1121d698e0787dd
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/Led')
-rw-r--r-- | xyz/openbmc_project/Led/Physical.interface.yaml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xyz/openbmc_project/Led/Physical.interface.yaml b/xyz/openbmc_project/Led/Physical.interface.yaml index d0ca460..c0ca00e 100644 --- a/xyz/openbmc_project/Led/Physical.interface.yaml +++ b/xyz/openbmc_project/Led/Physical.interface.yaml @@ -4,7 +4,7 @@ description: > properties: - name: State type: enum[self.Action] - default: Off + default: 'Off' description: > Current State of the LED. @@ -25,13 +25,13 @@ enumerations: description: > Possible states a LED can be in. values: - - name: Off + - name: 'Off' description: > LED is in OFF state - - name: On + - name: 'On' description: > LED is in solid ON state - - name: Blink + - name: 'Blink' description: > LED is blinking |