summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorAppaRao Puli <apparao.puli@intel.com>2018-07-10 23:18:13 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-10-04 20:33:32 +0000
commitc06f29ada4726864618c764ba767ff1c8c42758c (patch)
tree768e044fa405c226fd1ef38b07423a92c54e3e18 /xyz
parentf7e94d7f1cf8d3e4018f2613ec55fe9ef2108905 (diff)
downloadphosphor-dbus-interfaces-c06f29ada4726864618c764ba767ff1c8c42758c.tar.gz
phosphor-dbus-interfaces-c06f29ada4726864618c764ba767ff1c8c42758c.zip
Adding dbus interfaces for channel access info
Added new interface(ChannelAccess) for holding channel access information(privilege). This is used to set & get channel level authorization. Change-Id: Ib927d5658c0601df0da0969572fa28733a825b93 Signed-off-by: AppaRao Puli <apparao.puli@intel.com> Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/Channel/ChannelAccess.interface.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Channel/ChannelAccess.interface.yaml b/xyz/openbmc_project/Channel/ChannelAccess.interface.yaml
new file mode 100644
index 0000000..715fdec
--- /dev/null
+++ b/xyz/openbmc_project/Channel/ChannelAccess.interface.yaml
@@ -0,0 +1,13 @@
+description: >
+ This interface defines channel specific privilege access information
+ which is used for channel authorization. Application must determine
+ channel level privilege restriction based on this property.
+
+properties:
+ - name: MaxPrivilege
+ type: string
+ description: >
+ Maximum privilege associated with specific channel.
+ errors:
+ - xyz.openbmc_project.Common.Error.InvalidArgument
+ - xyz.openbmc_project.Common.Error.InternalFailure
OpenPOWER on IntegriCloud