From 0e6d655be2bf19c61196a27e7ce36645520bc7c1 Mon Sep 17 00:00:00 2001 From: Ratan Gupta Date: Sat, 3 Nov 2018 12:28:06 +0530 Subject: Add errors to User/Attributes interface Setting properties in this interface could fail to due to internal failures. Change-Id: I8bc84dcf105ece0f5322315d02dea7fa919444fc Signed-off-by: Ratan Gupta --- xyz/openbmc_project/User/Attributes.interface.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/xyz/openbmc_project/User/Attributes.interface.yaml b/xyz/openbmc_project/User/Attributes.interface.yaml index 31d9939..c4f18ad 100644 --- a/xyz/openbmc_project/User/Attributes.interface.yaml +++ b/xyz/openbmc_project/User/Attributes.interface.yaml @@ -8,16 +8,22 @@ properties: type: array[string] description: > Groups to which the user belong. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure - name: UserPrivilege type: string description: > Privilege of the user. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure - name: UserEnabled type: boolean description: > Enabled or disabled state of the user. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure - name: UserLockedForFailedAttempt type: boolean @@ -28,4 +34,6 @@ properties: this property. This property will return true if user is locked out user. AccountUnlockTimeout property can be configured to unlock the user after a timeout. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 -- cgit v1.2.1