summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@linux.vnet.ibm.com>2018-11-03 12:14:21 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-26 13:19:37 +0000
commit77e5649bad5f1c7d6d7a7c71a16420c9ec3e6b8e (patch)
treeb9235f390c401d61fdec455873852655fa281f56
parenta3338fa789b55760f89455d4880ea262450a9821 (diff)
downloadphosphor-dbus-interfaces-77e5649bad5f1c7d6d7a7c71a16420c9ec3e6b8e.tar.gz
phosphor-dbus-interfaces-77e5649bad5f1c7d6d7a7c71a16420c9ec3e6b8e.zip
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 <ratagupt@linux.vnet.ibm.com>
-rw-r--r--xyz/openbmc_project/User/AccountPolicy.interface.yaml8
1 files changed, 8 insertions, 0 deletions
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
OpenPOWER on IntegriCloud