From 77e5649bad5f1c7d6d7a7c71a16420c9ec3e6b8e Mon Sep 17 00:00:00 2001 From: Ratan Gupta Date: Sat, 3 Nov 2018 12:14:21 +0530 Subject: Add errors to User/AccountPolicy interface Setting properties in this interface could fail to due to internal failures. Change-Id: Ibec355b3d6adf5d46651e9d90aa542b9cde47a88 Signed-off-by: Ratan Gupta --- xyz/openbmc_project/User/AccountPolicy.interface.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'xyz') diff --git a/xyz/openbmc_project/User/AccountPolicy.interface.yaml b/xyz/openbmc_project/User/AccountPolicy.interface.yaml index 9397f4b..9e81b08 100644 --- a/xyz/openbmc_project/User/AccountPolicy.interface.yaml +++ b/xyz/openbmc_project/User/AccountPolicy.interface.yaml @@ -8,6 +8,8 @@ properties: Configures the maximum permissible attempt before locking out the user. Value of 0 indicates that account lockout feature is disabled. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure - name: AccountUnlockTimeout type: uint32 @@ -15,6 +17,8 @@ properties: Configures timeout needed (in seconds) to unlock the account after a lockout. Value of 0 indicates that account must be unlocked manually. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure - name: MinPasswordLength type: byte @@ -23,6 +27,8 @@ properties: specified in build time is marked as default value. This property cannot be configured below the build time default value but can be set to higher one for security reasons. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure - name: RememberOldPasswordTimes type: byte @@ -30,4 +36,6 @@ properties: Configures the number of times old password shouldn't be allowed when trying to update new password. Value of 0 (by default) indicates this feature is not enforced. + errors: + - xyz.openbmc_project.Common.Error.InternalFailure # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 -- cgit v1.2.1