From a256064a7cbdd5376660ae92523793bb5d99a89d Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Tue, 1 Nov 2016 13:01:19 -0500 Subject: Mapper: add interface filter argument Add an interface constraining argument to all query methods. Change-Id: Ic7f3fe3929be1c494383ccb40465c139ddf6f47b Signed-off-by: Brad Bishop --- xyz/openbmc_project/ObjectMapper.interface.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- cgit v1.2.1