summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@us.ibm.com>2016-11-01 13:01:19 -0500
committerBrad Bishop <bradleyb@us.ibm.com>2016-11-01 13:25:57 -0500
commita256064a7cbdd5376660ae92523793bb5d99a89d (patch)
treed2d625b6705f6364761e157b0a4dd0f37624da92
parent938b1d5dd83bddcb21389e5e23987b0530459eef (diff)
downloadphosphor-dbus-interfaces-a256064a7cbdd5376660ae92523793bb5d99a89d.tar.gz
phosphor-dbus-interfaces-a256064a7cbdd5376660ae92523793bb5d99a89d.zip
Mapper: add interface filter argument
Add an interface constraining argument to all query methods. Change-Id: Ic7f3fe3929be1c494383ccb40465c139ddf6f47b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r--xyz/openbmc_project/ObjectMapper.interface.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/xyz/openbmc_project/ObjectMapper.interface.yaml b/xyz/openbmc_project/ObjectMapper.interface.yaml
index aa0f6e1..c745444 100644
--- a/xyz/openbmc_project/ObjectMapper.interface.yaml
+++ b/xyz/openbmc_project/ObjectMapper.interface.yaml
@@ -13,6 +13,10 @@ methods:
type: s # TODO: o
description: >
The object path for which the result should be fetched.
+ - name: interfaces
+ type: as
+ description: >
+ An array of result set constraining interfaces.
returns:
- name: services
type: a{sas}
@@ -28,6 +32,10 @@ methods:
type: s # TODO: o
description: >
The path for which the result should be fetched.
+ - name: interfaces
+ type: as
+ description: >
+ An array of result set constraining interfaces.
returns:
- name: ancestors
type: a{sa{sas}} # TODO a{oa{sas}}
@@ -48,6 +56,10 @@ methods:
description: >
The maximum subtree depth for which results should be fetched.
For unconstrained fetches use a depth of zero.
+ - name: interfaces
+ type: as
+ description: >
+ An array of result set constraining interfaces.
returns:
- name: objects
type: a{sa{sas}} # TODO a{oa{sas}}
@@ -66,6 +78,10 @@ methods:
description: >
The maximum subtree depth for which results should be fetched.
For unconstrained fetches use a depth of zero.
+ - name: interfaces
+ type: as
+ description: >
+ An array of result set constraining interfaces.
returns:
- name: paths
type: as # TODO ao
OpenPOWER on IntegriCloud