summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-12-09 09:29:38 -0600
committerPatrick Williams <patrick@stwcx.xyz>2016-12-09 10:26:29 -0600
commit9f6133c1f41e56609c8ad6b30610094531c077bd (patch)
treeea59fa0d5181179806faa858d8142bee56df0ba8 /xyz
parenta4e651675a085373b6a6a859a76ff539af5034c4 (diff)
downloadphosphor-dbus-interfaces-9f6133c1f41e56609c8ad6b30610094531c077bd.tar.gz
phosphor-dbus-interfaces-9f6133c1f41e56609c8ad6b30610094531c077bd.zip
ObjectMapper: change parameters for sdbusplus
Change-Id: Ib0b89990b9d2ea54e26e88fbe0eee1f8dc37ec8e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/ObjectMapper.interface.yaml28
1 files changed, 14 insertions, 14 deletions
diff --git a/xyz/openbmc_project/ObjectMapper.interface.yaml b/xyz/openbmc_project/ObjectMapper.interface.yaml
index c745444..72e89a1 100644
--- a/xyz/openbmc_project/ObjectMapper.interface.yaml
+++ b/xyz/openbmc_project/ObjectMapper.interface.yaml
@@ -10,16 +10,16 @@ methods:
for the given path.
parameters:
- name: path
- type: s # TODO: o
+ type: path
description: >
The object path for which the result should be fetched.
- name: interfaces
- type: as
+ type: array[string]
description: >
An array of result set constraining interfaces.
returns:
- name: services
- type: a{sas}
+ type: dict[string,array[string]]
description: >
A dictionary of service -> implemented interface(s).
- name: GetAncestors
@@ -29,16 +29,16 @@ methods:
GetObject method.
parameters:
- name: path
- type: s # TODO: o
+ type: path
description: >
The path for which the result should be fetched.
- name: interfaces
- type: as
+ type: array[string]
description: >
An array of result set constraining interfaces.
returns:
- name: ancestors
- type: a{sa{sas}} # TODO a{oa{sas}}
+ type: dict[path,dict[string,array[string]]]
description: >
A dictionary of ancestor -> services.
- name: GetSubTree
@@ -48,21 +48,21 @@ methods:
GetObject method.
parameters:
- name: subtree
- type: s # TODO: o
+ type: path
description: >
The subtree path for which the result should be fetched.
- name: depth
- type: i
+ type: int32
description: >
The maximum subtree depth for which results should be fetched.
For unconstrained fetches use a depth of zero.
- name: interfaces
- type: as
+ type: array[string]
description: >
An array of result set constraining interfaces.
returns:
- name: objects
- type: a{sa{sas}} # TODO a{oa{sas}}
+ type: dict[path,dict[string,array[string]]]
description: >
A dictionary of path -> services.
- name: GetSubTreePaths
@@ -70,21 +70,21 @@ methods:
Obtain an array of paths where array elements are in subtree.
parameters:
- name: subtree
- type: s # TODO: o
+ type: path
description: >
The subtree path for which the result should be fetched.
- name: depth
- type: i
+ type: int32
description: >
The maximum subtree depth for which results should be fetched.
For unconstrained fetches use a depth of zero.
- name: interfaces
- type: as
+ type: array[string]
description: >
An array of result set constraining interfaces.
returns:
- name: paths
- type: as # TODO ao
+ type: array[path]
description: >
An array of paths.
OpenPOWER on IntegriCloud