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 <ratagupt@linux.vnet.ibm.com>
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 @@
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 @@
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