blob: c745444251b3597f464d75c6dfd71353c5495809 [file] [log] [blame]
Brad Bishop938b1d52016-11-01 12:47:24 -05001description: >
2 Implement to provide DBus service lookup features.
3
4 Any OpenBMC implementation must provide exactly one implementation of
5 xyz.openbmc_project.ObjectMapper on /xyz/openbmc_project/ObjectMapper.
6methods:
7 - name: GetObject
8 description: >
9 Obtain a dictionary of service -> implemented interface(s)
10 for the given path.
11 parameters:
12 - name: path
13 type: s # TODO: o
14 description: >
15 The object path for which the result should be fetched.
Brad Bishopa2560642016-11-01 13:01:19 -050016 - name: interfaces
17 type: as
18 description: >
19 An array of result set constraining interfaces.
Brad Bishop938b1d52016-11-01 12:47:24 -050020 returns:
21 - name: services
22 type: a{sas}
23 description: >
24 A dictionary of service -> implemented interface(s).
25 - name: GetAncestors
26 description: >
27 Obtain a dictionary of ancestor -> services where ancestor is an
28 ancestor of path and services is of the type returned by the
29 GetObject method.
30 parameters:
31 - name: path
32 type: s # TODO: o
33 description: >
34 The path for which the result should be fetched.
Brad Bishopa2560642016-11-01 13:01:19 -050035 - name: interfaces
36 type: as
37 description: >
38 An array of result set constraining interfaces.
Brad Bishop938b1d52016-11-01 12:47:24 -050039 returns:
40 - name: ancestors
41 type: a{sa{sas}} # TODO a{oa{sas}}
42 description: >
43 A dictionary of ancestor -> services.
44 - name: GetSubTree
45 description: >
46 Obtain a dictionary of path -> services where path is in
47 sutbtree and services is of the type returned by the
48 GetObject method.
49 parameters:
50 - name: subtree
51 type: s # TODO: o
52 description: >
53 The subtree path for which the result should be fetched.
54 - name: depth
55 type: i
56 description: >
57 The maximum subtree depth for which results should be fetched.
58 For unconstrained fetches use a depth of zero.
Brad Bishopa2560642016-11-01 13:01:19 -050059 - name: interfaces
60 type: as
61 description: >
62 An array of result set constraining interfaces.
Brad Bishop938b1d52016-11-01 12:47:24 -050063 returns:
64 - name: objects
65 type: a{sa{sas}} # TODO a{oa{sas}}
66 description: >
67 A dictionary of path -> services.
68 - name: GetSubTreePaths
69 description: >
70 Obtain an array of paths where array elements are in subtree.
71 parameters:
72 - name: subtree
73 type: s # TODO: o
74 description: >
75 The subtree path for which the result should be fetched.
76 - name: depth
77 type: i
78 description: >
79 The maximum subtree depth for which results should be fetched.
80 For unconstrained fetches use a depth of zero.
Brad Bishopa2560642016-11-01 13:01:19 -050081 - name: interfaces
82 type: as
83 description: >
84 An array of result set constraining interfaces.
Brad Bishop938b1d52016-11-01 12:47:24 -050085 returns:
86 - name: paths
87 type: as # TODO ao
88 description: >
89 An array of paths.
90
91# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4