summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project
diff options
context:
space:
mode:
authorNagaraju Goruganti <ngorugan@in.ibm.com>2018-09-30 23:25:42 -0500
committerNagaraju Goruganti <ngorugan@in.ibm.com>2018-10-05 02:17:42 -0500
commit95fafa87ac341b90ade6367b8bfff6fab4b8e8d2 (patch)
tree1502cee0631a9e066b7d1520e95bda6019174374 /xyz/openbmc_project
parentc06f29ada4726864618c764ba767ff1c8c42758c (diff)
downloadphosphor-dbus-interfaces-95fafa87ac341b90ade6367b8bfff6fab4b8e8d2.tar.gz
phosphor-dbus-interfaces-95fafa87ac341b90ade6367b8bfff6fab4b8e8d2.zip
Declare errors in config interface
The config interface can throw an InternalFailure or InvalidArgument errors. Change-Id: Ida1a690e3b3137e621b27b788cfde28b7f31da5f Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Diffstat (limited to 'xyz/openbmc_project')
-rw-r--r--xyz/openbmc_project/User/Ldap/Config.interface.yaml18
1 files changed, 18 insertions, 0 deletions
diff --git a/xyz/openbmc_project/User/Ldap/Config.interface.yaml b/xyz/openbmc_project/User/Ldap/Config.interface.yaml
index 1f921dd..d644eef 100644
--- a/xyz/openbmc_project/User/Ldap/Config.interface.yaml
+++ b/xyz/openbmc_project/User/Ldap/Config.interface.yaml
@@ -7,29 +7,45 @@ properties:
description: >
Specifies whether to use SSL or not.
default: false
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
- name: LDAPServerURI
type: string
description: >
Specifies the LDAP URI of the server to connect to.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InvalidArgument
- name: LDAPBindDN
type: string
description: >
Specifies the distinguished name with which to bind to the directory
server for lookups.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InvalidArgument
- name: LDAPBaseDN
type: string
description: >
Specifies the base distinguished name to use as search base.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InvalidArgument
- name: LDAPBINDDNpassword
type: string
description: >
Specifies the clear text credentials with which to bind. This option
is only applicable when used with LDAPBindDN.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
+ - xyz.openbmc_project.Common.Error.InvalidArgument
- name: LDAPSearchScope
type: enum[self.SearchScope]
description: >
Specifies the search scope:subtree, one level or base object.
default: 0
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
- name: LDAPType
type: enum[self.Type]
description: >
@@ -37,6 +53,8 @@ properties:
OpenLdap. It's just an indication for the LDAP stack running on
the BMC, in case the app is implemented in such a way that it has
to react differently for AD vs openldap.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
enumerations:
- name: SearchScope
OpenPOWER on IntegriCloud